Ansible install python

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
    - name: install python2
      raw: sudo apt-get -y install python-simplejson


ansible-playbook python.yaml --ask-sudo-pass

Want to make this site better? Open a PR or help fund hosting costs