cookiecutter-ansible-role/{{cookiecutter.author}}.{{cookiecutter.role_name}}/molecule/{{cookiecutter.molecule_scenario | replace('-', '')}}/prepare.yml
2020-01-30 09:13:03 +01:00

10 lines
257 B
YAML

---
- name: Prepare
hosts: all
gather_facts: false
tasks:
- name: Install python for Ansible
raw: test -e /usr/bin/python || (dnf -y install python3 && alternatives --set python /usr/bin/python3)
become: true
changed_when: false