Makes installation of Ansible optional (default: no) and installs additional python libraries

This commit is contained in:
Jan Beilicke 2021-03-27 14:27:02 +01:00
parent 2953f200a1
commit 2a27db4ba8
3 changed files with 16 additions and 4 deletions

View file

@ -32,6 +32,8 @@
vars:
packages:
- python-pip
- python-setuptools
- python-virtualenv
- htop
- tmux
become: yes
@ -44,6 +46,9 @@
#update_cache: yes
vars:
packages:
- python-pip
- python-setuptools
- python-virtualenv
- apt-transport-https
- htop
- tmux
@ -52,4 +57,5 @@
- name: Install Ansible
pip:
name: ansible=={{ ensure_ansible_version }}
name: ansible=={{ ensure_ansible_version }}
when: enable_ansible