xoxys.logrotate/molecule/centos7/prepare.yml

10 lines
257 B
YAML
Raw Normal View History

2020-01-28 21:39:05 +00:00
---
- 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