Files
@ 834c3a4d591a
Branch filter:
Location: majic-ansible-roles/roles/backup_server/molecule/default/prepare.yml - annotation
834c3a4d591a
708 B
text/x-yaml
MAR-218: Use built-in module for diverting the ferm binary.
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
|