2485 shaares
83 private links
83 private links
-
hosts: all
become: true
gather_facts: falsepre_tasks:
- name: Install python2 for Ansible
raw: bash -c "test -e /usr/bin/python || (apt -qqy update && apt install -qqy python-minimal)"
register: output
changed_when: - output.stdout != ""
- output.stdout != "\r\n"
- name: Gathering Facts
setup:
- name: Install python2 for Ansible