ansible_dependencies: change install order.
This commit is contained in:
parent
219d672e31
commit
88d579d744
@ -6,6 +6,18 @@
|
|||||||
- name: Ensure aptitude is present
|
- name: Ensure aptitude is present
|
||||||
raw: test -e /usr/bin/aptitude || apt-get install aptitude -y
|
raw: test -e /usr/bin/aptitude || apt-get install aptitude -y
|
||||||
|
|
||||||
|
- name: Ensure python2 is present (This is necessary for ansible to work properly)
|
||||||
|
raw: test -e /usr/bin/python2 || (apt -y update && apt install -y python)
|
||||||
|
|
||||||
|
- name: Ensure python-apt is present (This is necessary for ansible to work properly)
|
||||||
|
raw: test -e /usr/bin/python2 && (apt -y update && apt install -y python-apt)
|
||||||
|
|
||||||
|
- name: Ensure python3 is present (This is necessary for ansible to work properly)
|
||||||
|
raw: test -e /usr/bin/python3 || (apt -y update && apt install -y python3)
|
||||||
|
|
||||||
|
- name: Ensure python-apt is present (This is necessary for ansible to work properly)
|
||||||
|
raw: test -e /usr/bin/python3 || (apt -y update && apt install -y python3-apt)
|
||||||
|
|
||||||
- name: dpkg --configure -a
|
- name: dpkg --configure -a
|
||||||
command: >
|
command: >
|
||||||
dpkg --configure -a
|
dpkg --configure -a
|
||||||
@ -33,31 +45,3 @@
|
|||||||
tags:
|
tags:
|
||||||
- ansible-dependencies
|
- ansible-dependencies
|
||||||
|
|
||||||
|
|
||||||
#- name: Ensure python2 is present (This is necessary for ansible to work properly)
|
|
||||||
# raw: test -e /usr/bin/python2 || (apt -y update && apt install -y python)
|
|
||||||
#
|
|
||||||
#
|
|
||||||
#- name: Ensure python-apt is present (This is necessary for ansible to work properly)
|
|
||||||
# raw: test -e /usr/bin/python2 && (apt -y update && apt install -y python-apt)
|
|
||||||
#
|
|
||||||
#
|
|
||||||
#- name: Ensure python3 is present (This is necessary for ansible to work properly)
|
|
||||||
# raw: test -e /usr/bin/python3 || (apt -y update && apt install -y python3)
|
|
||||||
#
|
|
||||||
#
|
|
||||||
#- name: Ensure python-apt is present (This is necessary for ansible to work properly)
|
|
||||||
# raw: test -e /usr/bin/python3 || (apt -y update && apt install -y python3-apt)
|
|
||||||
#
|
|
||||||
#
|
|
||||||
#- name: Ensure sudo is present (This is necessary for ansible to work properly)
|
|
||||||
# raw: test -e /usr/bin/sudo || (apt -y update && apt install -y sudo)
|
|
||||||
#
|
|
||||||
#
|
|
||||||
#- name: Ensure lsb-releaseis present (This is necessary for ansible to work properly)
|
|
||||||
# raw: test -e /usr/bin/lsb_release || (apt -y update && apt install -y lsb-release)
|
|
||||||
#
|
|
||||||
#
|
|
||||||
#- name: Ensure vim is present (This is necessary for ansible to work properly)
|
|
||||||
# raw: test -e /usr/bin/vim || (apt -y update && apt install -y vim)
|
|
||||||
#
|
|
||||||
|
Loading…
Reference in New Issue
Block a user