10 lines
235 B
YAML
10 lines
235 B
YAML
|
---
|
||
|
- name: Prepare
|
||
|
hosts: all
|
||
|
gather_facts: false
|
||
|
tasks:
|
||
|
- name: Install python for Ansible
|
||
|
raw: test -e /usr/bin/python || (apt -y update && apt install -y python-minimal)
|
||
|
become: true
|
||
|
changed_when: false
|