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