Updates Ansible to 3.3.0
This commit is contained in:
parent
a0717868ae
commit
972e6c0d87
3 changed files with 19 additions and 8 deletions
|
|
@ -9,7 +9,7 @@
|
|||
- jotbe.dev_tools
|
||||
|
||||
vars:
|
||||
ansible_version: "2.9.4"
|
||||
ansible_version: "3.3.0"
|
||||
pip_install_packages:
|
||||
- name: docker
|
||||
- name: docker-compose
|
||||
|
|
@ -30,6 +30,10 @@
|
|||
raw: test -e /usr/bin/pip3 || (apt update && apt install -y --force-yes python3-pip)
|
||||
changed_when: false
|
||||
|
||||
- name: Install Ansible
|
||||
raw: which ansible || pip3 install ansible=={{ ansible_version }}
|
||||
changed_when: false
|
||||
|
||||
tasks:
|
||||
- block:
|
||||
- name: Provide VBoxGuestAdditions patch
|
||||
|
|
@ -42,10 +46,6 @@
|
|||
ignore_errors: yes
|
||||
when: virtualbox_host_version | default("") == "6.1.18"
|
||||
|
||||
- name: Install Ansible
|
||||
raw: test -e /usr/local/bin/ansible || pip3 install ansible={{ ansible_version }}
|
||||
changed_when: false
|
||||
|
||||
- name: Disable motd-news
|
||||
lineinfile:
|
||||
path: /etc/default/motd-news
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue