Changeset - 0758b92e0638
[Not reviewed]
0 3 0
Branko Majic (branko) - 2 months ago 2024-03-01 22:52:49
branko@majic.rs
MAR-192: Align IP ranges used for testing VMs in the xmpp_sever role:

- Use two consecutive ranges for Debian 11 Bullseye like in
mail_server.
3 files changed with 15 insertions and 7 deletions:
0 comments (0 inline, 0 general)
roles/xmpp_server/molecule/default/host_vars/ldap-server.yml
Show inline comments
 
@@ -40,5 +40,5 @@ backup_host_ssh_private_keys:
 
  ecdsa: "{{ lookup('file', 'tests/data/ssh/server_ecdsa') }}"
 
backup_clients:
 
  - server: parameters-optional-bullseye
 
    ip: 192.168.56.42
 
    ip: 192.168.56.52
 
    public_key: "{{ lookup('file', 'tests/data/ssh/parameters-optional.pub') }}"
roles/xmpp_server/molecule/default/molecule.yml
Show inline comments
 
@@ -14,6 +14,10 @@ lint:
 

	
 
platforms:
 

	
 

	
 
  # Helpers
 
  # =======
 

	
 
  - name: ldap-server
 
    box: debian/bullseye64
 
    memory: 512
 
@@ -26,6 +30,10 @@ platforms:
 
        network_name: private_network
 
        type: static
 

	
 

	
 
  # Debian 11 Bullseye
 
  # ================
 

	
 
  - name: client-bullseye
 
    groups:
 
      - clients
 
@@ -37,7 +45,7 @@ platforms:
 
      - "customize ['modifyvm', :id, '--paravirtprovider', 'minimal']"
 
    interfaces:
 
      - auto_config: true
 
        ip: 192.168.56.22
 
        ip: 192.168.56.41
 
        network_name: private_network
 
        type: static
 

	
 
@@ -52,7 +60,7 @@ platforms:
 
      - "customize ['modifyvm', :id, '--paravirtprovider', 'minimal']"
 
    interfaces:
 
      - auto_config: true
 
        ip: 192.168.56.41
 
        ip: 192.168.56.51
 
        network_name: private_network
 
        type: static
 

	
 
@@ -67,7 +75,7 @@ platforms:
 
      - "customize ['modifyvm', :id, '--paravirtprovider', 'minimal']"
 
    interfaces:
 
      - auto_config: true
 
        ip: 192.168.56.42
 
        ip: 192.168.56.52
 
        network_name: private_network
 
        type: static
 

	
roles/xmpp_server/molecule/default/prepare.yml
Show inline comments
 
@@ -101,9 +101,9 @@
 
        state: present
 
      with_dict:
 
        192.168.56.11: "ldap-server backup-server"
 
        192.168.56.22: "client-bullseye"
 
        192.168.56.41: "parameters-mandatory domain1 proxy.domain1 conference.domain1"
 
        192.168.56.42: "parameters-optional domain2 proxy.domain2 conference.domain2 domain3 proxy.domain3 conference.domain3"
 
        192.168.56.41: "client-bullseye"
 
        192.168.56.51: "parameters-mandatory domain1 proxy.domain1 conference.domain1"
 
        192.168.56.52: "parameters-optional domain2 proxy.domain2 conference.domain2 domain3 proxy.domain3 conference.domain3"
 

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