aboutsummaryrefslogtreecommitdiffstats
path: root/ansible/setup-gsm-tester.yml
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2021-03-08 11:16:35 +0100
committerOliver Smith <osmith@sysmocom.de>2021-03-08 15:47:17 +0100
commitaee8b3f14b82dbe9318dc9b0aff66260ea4e8254 (patch)
tree750e3c2668c2d311176d870f7ba9da0f292f2704 /ansible/setup-gsm-tester.yml
parent8c48d2020a943cecd627f4d7d6e9397140db3f5f (diff)
ansible: fix apt deprecation warning about loops
Fix deprecation warnings like the following: [DEPRECATION WARNING]: Invoking "apt" only once while using a loop via squash_actions is deprecated. Instead of using a loop to supply multiple items and specifying `name: "{{ item }}"`, please use `name: ['libjansson-dev', 'libulfius-dev']` and remove the loop. This feature will be removed in version 2.11. Related: OS#5055 Change-Id: I57b9ce690e8167249468954f3e62d14c7a92fcfc
Diffstat (limited to 'ansible/setup-gsm-tester.yml')
-rw-r--r--ansible/setup-gsm-tester.yml15
1 files changed, 7 insertions, 8 deletions
diff --git a/ansible/setup-gsm-tester.yml b/ansible/setup-gsm-tester.yml
index 43ef753..26285df 100644
--- a/ansible/setup-gsm-tester.yml
+++ b/ansible/setup-gsm-tester.yml
@@ -5,16 +5,15 @@
tasks:
- name: install common utilities
apt:
- name: "{{ item }}"
+ name:
+ - vim
+ - tmux
+ - screen
+ - ca-certificates
+ - wget
+ - curl
cache_valid_time: 3600
update_cache: yes
- with_items:
- - vim
- - tmux
- - screen
- - ca-certificates
- - wget
- - curl
roles:
- name: gsm-tester
tags: