Files
@ ac8884ab98ca
Branch filter:
Location: majic-ansible-roles/roles/common/molecule/default/converge.yml - annotation
ac8884ab98ca
1.7 KiB
text/x-yaml
MAR-218: Fix some minor issues for the test runner script:
- No need to use the $ variable syntax for arithmetic operations.
- Use correct form when printing the list of roles (@ -> *).
- Fix missing quote when assembling the list of roles.
- No need to use the $ variable syntax for arithmetic operations.
- Use correct form when printing the list of roles (@ -> *).
- Fix missing quote when assembling the list of roles.
2006d7eebe25 2006d7eebe25 b3b33549d7ca b3b33549d7ca 6b8b1d4c9061 2006d7eebe25 6b8b1d4c9061 a451a3cf2b41 b3b33549d7ca b3b33549d7ca a451a3cf2b41 a451a3cf2b41 a451a3cf2b41 a451a3cf2b41 c10934519e18 a451a3cf2b41 a451a3cf2b41 a451a3cf2b41 a451a3cf2b41 7cabc17c71c3 a451a3cf2b41 a451a3cf2b41 a451a3cf2b41 a451a3cf2b41 a451a3cf2b41 a451a3cf2b41 c10934519e18 a451a3cf2b41 a451a3cf2b41 a451a3cf2b41 a451a3cf2b41 7cabc17c71c3 7cabc17c71c3 a451a3cf2b41 a451a3cf2b41 a451a3cf2b41 a451a3cf2b41 a451a3cf2b41 13816868d19b 13816868d19b c10934519e18 13816868d19b 13816868d19b 13816868d19b 13816868d19b c10934519e18 13816868d19b 13816868d19b 13816868d19b 13816868d19b 7cabc17c71c3 b4e985d581cf b4e985d581cf b4e985d581cf b4e985d581cf b4e985d581cf b4e985d581cf c10934519e18 b4e985d581cf b4e985d581cf | ---
- name: Converge
hosts: parameters-mandatory,parameters-optional
become: true
roles:
- common
- name: Converge, test fixtures
hosts: parameters-mandatory,parameters-optional
become: true
tasks:
- name: Set-up directories for testing pip requirements upgrade checks script
ansible.builtin.file:
path: "{{ item }}"
state: directory
owner: root
group: pipreqcheck
mode: "0750"
with_items:
- "/tmp/pip_check_requirements_upgrades"
- "/tmp/pip_check_requirements_upgrades/with_updates"
- "/tmp/pip_check_requirements_upgrades/without_updates"
- name: Deploy files for testing pip requirements upgrade checks script
ansible.builtin.copy:
src: "{{ item }}"
dest: "/tmp/{{ item }}"
owner: root
group: pipreqcheck
mode: "0640"
directory_mode: "0750"
with_items:
- "pip_check_requirements_upgrades/with_updates/requirements.in"
- "pip_check_requirements_upgrades/with_updates/requirements.txt"
- "pip_check_requirements_upgrades/without_updates/requirements.in"
- "pip_check_requirements_upgrades/without_updates/requirements.txt"
- name: Install web server for testing connectivity
ansible.builtin.apt:
name: nginx
state: present
- name: Deploy firewall configuration file for the web server
ansible.builtin.copy:
src: ferm_http.conf
dest: /etc/ferm/conf.d/99-http.conf
owner: root
group: root
mode: "0640"
notify:
- Restart ferm
handlers:
- name: Restart ferm
ansible.builtin.service:
name: ferm
state: restarted
|