Ansible install python
Outdated page
This page was set to be reviewed before 2022-01-01 by the page owner.
Contact the page Owner (opens default mail client) if you require this page to be updated
For some reporting, Ansible needs python!
Have your hosts file as usual.
create a new task called python.yaml
- name: dependency provisioning
hosts: daily
become: yes
become_method: sudo
gather_facts: false
tasks:
- name: install python2
raw: sudo apt-get -y install python-simplejson
Run:
Want to make this site better? Open a PR or help fund hosting costs