Fix: remove loop for apt
This commit is contained in:
parent
a5ba3cc48a
commit
09c89e092a
@ -6,9 +6,7 @@
|
|||||||
|
|
||||||
- name: Install base CLI packages
|
- name: Install base CLI packages
|
||||||
apt:
|
apt:
|
||||||
name: "{{ item }}"
|
name:
|
||||||
state: present
|
|
||||||
with_items:
|
|
||||||
- sudo
|
- sudo
|
||||||
- wget
|
- wget
|
||||||
- curl
|
- curl
|
||||||
@ -26,6 +24,7 @@
|
|||||||
- glances
|
- glances
|
||||||
- ranger
|
- ranger
|
||||||
- rxvt-unicode-256color
|
- rxvt-unicode-256color
|
||||||
|
state: present
|
||||||
|
|
||||||
- name: Install extra CLI packages
|
- name: Install extra CLI packages
|
||||||
apt:
|
apt:
|
||||||
|
@ -1,20 +1,18 @@
|
|||||||
---
|
---
|
||||||
- name: Remove depot docker version
|
- name: Remove depot docker version
|
||||||
apt:
|
apt:
|
||||||
name: "{{ item }}"
|
name:
|
||||||
state: absent
|
|
||||||
with_items:
|
|
||||||
- docker
|
- docker
|
||||||
- docker-engine
|
- docker-engine
|
||||||
- docker.io
|
- docker.io
|
||||||
|
state: absent
|
||||||
|
|
||||||
- name: Install tool to use apt with https
|
- name: Install tool to use apt with https
|
||||||
apt:
|
apt:
|
||||||
name: "{{ item }}"
|
name:
|
||||||
state: present
|
|
||||||
with_items:
|
|
||||||
- apt-transport-https
|
- apt-transport-https
|
||||||
- ca-certificates
|
- ca-certificates
|
||||||
|
state: present
|
||||||
|
|
||||||
- name: Add Docker apt key.
|
- name: Add Docker apt key.
|
||||||
apt_key:
|
apt_key:
|
||||||
|
Loading…
Reference in New Issue
Block a user