Changeset - e88d1ff92419
[Not reviewed]
0 1 0
Branko Majic (branko) - 10 months ago 2025-02-14 22:40:40
branko@majic.rs
MAR-242: Fix YAML linting error for line length.
1 file changed with 2 insertions and 1 deletions:
0 comments (0 inline, 0 general)
roles/xmpp_server/molecule/default/prepare.yml
Show inline comments
 
@@ -77,49 +77,50 @@
 
        regexp: "host\\.name\\)"
 
        replace: "host.targetname)"
 

	
 
- name: Prepare, test fixtures
 
  hosts: bookworm
 
  become: true
 
  tasks:
 

	
 
    - name: Set-up the hosts file
 
      ansible.builtin.lineinfile:
 
        path: /etc/hosts
 
        regexp: "^{{ item.key }}"
 
        line: "{{ item.key }} {{ item.value }}"
 
        owner: root
 
        group: root
 
        mode: "0644"
 
        state: present
 
      with_dict:
 
        192.168.56.11: "ldap-server backup-server"
 
        192.168.56.21: "client-bookworm"
 
        192.168.56.31: "parameters-mandatory domain1 proxy.domain1 conference.domain1 upload.domain1"
 
        192.168.56.32: "parameters-optional domain2 proxy.domain2 conference.domain2 upload.domain2 domain3 proxy.domain3 conference.domain3 upload.domain3"
 
        fd00::192:168:56:21: "client-bookworm"
 
        fd00::192:168:56:31: "parameters-mandatory domain1 proxy.domain1 conference.domain1 upload.domain1"
 
        fd00::192:168:56:32: "parameters-optional domain2 proxy.domain2 conference.domain2 upload.domain2 domain3 proxy.domain3 conference.domain3 upload.domain3"
 
        fd00::192:168:56:32: >-
 
          parameters-optional domain2 proxy.domain2 conference.domain2 upload.domain2 domain3 proxy.domain3 conference.domain3 upload.domain3
 

	
 
- name: Prepare, helpers
 
  hosts: clients
 
  become: true
 
  tasks:
 

	
 
    - name: Deploy CA certificate
 
      ansible.builtin.copy:
 
        src: tests/data/x509/ca/level1.cert.pem
 
        dest: /usr/local/share/ca-certificates/testca.crt
 
        owner: root
 
        group: root
 
        mode: "0644"
 
      notify:
 
        - Update CA certificate cache
 

	
 
    - name: Install console-based XMPP client (for interactive testing)
 
      ansible.builtin.apt:
 
        name: mcabber
 
        state: present
 

	
 
    - name: Install console-based XMPP tool (for non-interactive testing)
 
      ansible.builtin.apt:
 
        name: go-sendxmpp
0 comments (0 inline, 0 general)