Updates Ansible to 3.3.0

This commit is contained in:
Jan Beilicke 2021-04-21 22:44:52 +02:00
parent a0717868ae
commit 972e6c0d87
3 changed files with 19 additions and 8 deletions

View file

@ -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