xoxys.lvm/molecule/centos8/prepare.yml

10 lines
257 B
YAML
Raw Normal View History

2020-01-26 14:42:22 +00:00
---
- name: Prepare
hosts: all
gather_facts: false
tasks:
- name: Install python for Ansible
2020-01-26 15:02:30 +00:00
raw: test -e /usr/bin/python || (dnf -y install python3 && alternatives --set python /usr/bin/python3)
2020-01-26 14:42:22 +00:00
become: true
changed_when: false