Changeset - d6f13f94f008
[Not reviewed]
0 6 0
Branko Majic (branko) - 2 months ago 2024-03-04 23:27:28
branko@majic.rs
MAR-192: Fix missing dnspython library as requiremnts for running the roles:

- Turns out there is still one usage left in the mail_forwarder role.
- It might be a good idea to try to get rid of that single usage to
make the firewall coming up more reliable during boot time.
6 files changed with 18 insertions and 12 deletions:
0 comments (0 inline, 0 general)
docs/about.rst
Show inline comments
 
@@ -17,9 +17,10 @@ supported releases, see :ref:`rolereference`.
 
At the moment, the roles have been written for and tested against **Ansible
 
2.9.x**.
 

	
 
The role also utilises the ``ipv4/ipv6`` lookup plugins which require
 
``netaddr`` package to be installed. Make sure you have the package
 
available on controller machine.
 
The roles also utilise the ``dig`` and ``ipv4/ipv6`` lookup plugins
 
which require ``dnspython`` and ``netaddr`` packages (respectively) to
 
be installed. Make sure you have the packages available on controller
 
machine.
 

	
 

	
 
Why were these roles created?
docs/index.rst
Show inline comments
 
@@ -17,9 +17,10 @@ supported releases, see :ref:`rolereference`.
 
At the moment, the roles have been written for and tested against **Ansible
 
2.9.x**.
 

	
 
The role also utilises the ``ipv4/ipv6`` lookup plugins which require
 
``netaddr`` package to be installed. Make sure you have the package
 
available on controller machine.
 
The roles also utilise the ``dig`` and ``ipv4/ipv6`` lookup plugins
 
which require ``dnspython`` and ``netaddr`` packages (respectively) to
 
be installed. Make sure you have the packages available on controller
 
machine.
 

	
 

	
 
Contents
docs/releasenotes.rst
Show inline comments
 
@@ -14,8 +14,6 @@ Debian 12 Bookworm. Some minor improvements and fixes.
 

	
 
  * Dropped support for Debian 10 (Buster).
 
  * Added support for Debian 12 (Bookworm).
 
  * ``dnspython`` Python package is no longer required/used by any of
 
    the roles.
 
  * ``netaddr`` Python package is now required for using the roles.
 

	
 
* ``backup_client`` role
 
@@ -45,7 +43,9 @@ Debian 12 Bookworm. Some minor improvements and fixes.
 
  * Parameter ``maintenance_allowed_hosts`` has been dropped and
 
    replaced with parameter ``maintenance_allowed_sources``. The new
 
    parameter expects a list of IPv4 and IPv6 addresses (or
 
    subnets). Resolvable names can no longer be specified.
 
    subnets). Resolvable names can no longer be specified (and this
 
    particular role no longe relies on presence of the ``dnspython``
 
    package).
 

	
 
  * NTP server configuration is now based on use of pools instead of
 
    servers. Parameter ``ntp_servers`` has been deprecated and
docs/usage.rst
Show inline comments
 
@@ -148,11 +148,12 @@ packages, and to prepare the environment a bit on the Ansible server:
 
     mkdir ~/mysite/
 
     mkvirtualenv -p /usr/bin/python3 -a ~/mysite/ mysite
 
     pip install -U pip setuptools
 
     pip install 'ansible~=2.9.0' netaddr
 
     pip install 'ansible~=2.9.0' dnspython netaddr
 

	
 
.. warning::
 
   The ``netaddr`` package is important since it is used internally via
 
   ``ipv4/ipv6`` lookup plugin.
 
   The ``dnspython`` and ``netaddr`` packages are needed since they
 
   are used internally by some of the roles for the ``dig`` and
 
   ``ipv4/ipv6`` lookup plugins.
 

	
 

	
 
Cloning the *Majic Ansible Roles*
requirements.in
Show inline comments
 
ansible~=2.9.0
 
defusedxml
 
dnspython
 
gimmecert~=0.5.0
 
molecule~=2.22.0
 
netaddr
requirements.txt
Show inline comments
 
@@ -68,6 +68,8 @@ defusedxml==0.7.1
 
    # via -r requirements.in
 
distlib==0.3.8
 
    # via virtualenv
 
dnspython==2.6.1
 
    # via -r requirements.in
 
docutils==0.20.1
 
    # via
 
    #   sphinx
0 comments (0 inline, 0 general)