Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ansible: fix deprecated use of apt+with_items #219

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 27 additions & 26 deletions ansible/roles/brozzler-worker/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,32 +9,33 @@

- name: ensure required packages are installed
become: true
apt: name={{item}} state=present
with_items:
- chromium-browser
- vnc4server
- libjpeg-turbo8-dev
- zlib1g-dev
- gcc
- python3-dev
- python3-dbg
- adobe-flashplugin
- xfonts-base
- fonts-arphic-bkai00mp
- fonts-arphic-bsmi00lp
- fonts-arphic-gbsn00lp
- fonts-arphic-gkai00mp
- fonts-arphic-ukai
- fonts-farsiweb
- fonts-nafees
- fonts-sil-abyssinica
- fonts-sil-ezra
- fonts-sil-padauk
- fonts-unfonts-extra
- fonts-unfonts-core
- fonts-indic
- fonts-thai-tlwg
- fonts-lklug-sinhala
apt:
state: present
name:
- chromium-browser
- vnc4server
- libjpeg-turbo8-dev
- zlib1g-dev
- gcc
- python3-dev
- python3-dbg
- adobe-flashplugin
- xfonts-base
- fonts-arphic-bkai00mp
- fonts-arphic-bsmi00lp
- fonts-arphic-gbsn00lp
- fonts-arphic-gkai00mp
- fonts-arphic-ukai
- fonts-farsiweb
- fonts-nafees
- fonts-sil-abyssinica
- fonts-sil-ezra
- fonts-sil-padauk
- fonts-unfonts-extra
- fonts-unfonts-core
- fonts-indic
- fonts-thai-tlwg
- fonts-lklug-sinhala

- name: mkdir /etc/service/{Xvnc,vnc-websock,brozzler-worker}
file:
Expand Down
17 changes: 9 additions & 8 deletions ansible/roles/warcprox/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
---
- name: ensure required packages are installed
become: true
apt: name={{item}} state=present
with_items:
- gcc
- python3-dev
- libffi-dev
- libssl-dev
- tor
- git
apt:
state: present
name:
- gcc
- python3-dev
- libffi-dev
- libssl-dev
- tor
- git
- name: mkdir {{venv_root}}/warcprox-ve3
become: true
file: path={{venv_root}}/warcprox-ve3 state=directory owner={{user}}
Expand Down