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