Files
@ c10934519e18
Branch filter:
Location: majic-ansible-roles/roles/backup_server/molecule/default/prepare.yml - annotation
c10934519e18
708 B
text/x-yaml
MAR-218: Switch to using fully-qualified collection names for all tasks:
- Ensures there is no ambiguity when invoking a module.
- Ensures there is no ambiguity when invoking a module.
ef201fa5ec5f ef201fa5ec5f 694893c0259a 694893c0259a 8f3635c67934 8f3635c67934 8f3635c67934 8f3635c67934 c10934519e18 8f3635c67934 8f3635c67934 8f3635c67934 8f3635c67934 8f3635c67934 8f3635c67934 694893c0259a 694893c0259a 55d6b2e2f4f3 694893c0259a ef201fa5ec5f ef201fa5ec5f ef201fa5ec5f c10934519e18 55d6b2e2f4f3 ef201fa5ec5f ef201fa5ec5f c10934519e18 55d6b2e2f4f3 | ---
- name: Prepare, test fixtures
hosts: localhost
connection: local
tasks:
- name: Fix SSH client file permissions locally, otherwise we get error from SSH
ansible.builtin.file:
path: "{{ item }}"
mode: g=,o=
with_items:
- tests/data/ssh/client1
- tests/data/ssh/client2
- name: Prepare
hosts: all
become: true
gather_facts: false
tasks:
- name: Install python for Ansible
ansible.builtin.raw: test -e /usr/bin/python3 || (apt -y update && apt install -y python3-minimal)
changed_when: false
- name: Update all caches to avoid errors due to missing remote archives
ansible.builtin.apt:
update_cache: true
|