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