Changeset - cc53faac4b27
[Not reviewed]
0 4 0
Branko Majic (branko) - 5 months ago 2023-12-06 22:01:45
branko@majic.rs
MAR-189: Shift the IP addresses around a bit in the mail_server role tests.
4 files changed with 14 insertions and 14 deletions:
0 comments (0 inline, 0 general)
roles/mail_server/molecule/default/group_vars/parameters-optional.yml
Show inline comments
 
@@ -36,7 +36,7 @@ mail_server_smtp_additional_configuration: |
 

	
 
# Variables dependant on distribution release.
 
release_based_smtp_allow_relay_from:
 
  buster: "192.168.56.20"
 
  buster: "192.168.56.21"
 

	
 
# common
 
ca_certificates:
roles/mail_server/molecule/default/host_vars/ldap-server.yml
Show inline comments
 
@@ -44,5 +44,5 @@ backup_host_ssh_private_keys:
 
backup_clients:
 

	
 
  - server: parameters-optional-b64
 
    ip: 192.168.56.31
 
    ip: 192.168.56.32
 
    public_key: "{{ lookup('file', 'tests/data/ssh/parameters-optional.pub') }}"
roles/mail_server/molecule/default/molecule.yml
Show inline comments
 
@@ -25,7 +25,7 @@ platforms:
 
    cpus: 1
 
    interfaces:
 
      - auto_config: true
 
        ip: 192.168.56.10
 
        ip: 192.168.56.11
 
        network_name: private_network
 
        type: static
 
    config_options:
 
@@ -37,7 +37,7 @@ platforms:
 
    cpus: 1
 
    interfaces:
 
      - auto_config: true
 
        ip: 192.168.56.11
 
        ip: 192.168.56.12
 
        network_name: private_network
 
        type: static
 

	
 
@@ -52,7 +52,7 @@ platforms:
 
    cpus: 1
 
    interfaces:
 
      - auto_config: true
 
        ip: 192.168.56.20
 
        ip: 192.168.56.21
 
        network_name: private_network
 
        type: static
 

	
 
@@ -67,7 +67,7 @@ platforms:
 
    cpus: 1
 
    interfaces:
 
      - auto_config: true
 
        ip: 192.168.56.21
 
        ip: 192.168.56.22
 
        network_name: private_network
 
        type: static
 

	
 
@@ -80,7 +80,7 @@ platforms:
 
    cpus: 1
 
    interfaces:
 
      - auto_config: true
 
        ip: 192.168.56.30
 
        ip: 192.168.56.31
 
        network_name: private_network
 
        type: static
 

	
 
@@ -93,7 +93,7 @@ platforms:
 
    cpus: 1
 
    interfaces:
 
      - auto_config: true
 
        ip: 192.168.56.31
 
        ip: 192.168.56.32
 
        network_name: private_network
 
        type: static
 

	
roles/mail_server/molecule/default/prepare.yml
Show inline comments
 
@@ -187,12 +187,12 @@
 
        state: present
 
      with_dict:
 
        # Force mail servers to use local ClamAV database mirror.
 
        192.168.56.10: "db.local.clamav.net database.clamav.net"
 
        192.168.56.11: "ldap-server backup-server"
 
        192.168.56.20: "client1 smtp-server-requiring-tls"
 
        192.168.56.21: "client2 smtp-server-refusing-tls"
 
        192.168.56.30: "parameters-mandatory parameters-mandatory-buster64"
 
        192.168.56.31: "parameters-optional parameters-optional-buster64"
 
        192.168.56.11: "db.local.clamav.net database.clamav.net"
 
        192.168.56.12: "ldap-server backup-server"
 
        192.168.56.21: "client1 smtp-server-requiring-tls"
 
        192.168.56.22: "client2 smtp-server-refusing-tls"
 
        192.168.56.31: "parameters-mandatory parameters-mandatory-buster64"
 
        192.168.56.32: "parameters-optional parameters-optional-buster64"
 

	
 
- hosts: client
 
  become: true
0 comments (0 inline, 0 general)