1
0
Fork 0

system packages for each host

This commit is contained in:
Chl 2020-03-16 02:40:26 +01:00
parent c930ae7d85
commit a29288aef4
3 changed files with 38 additions and 12 deletions

View file

@ -44,7 +44,10 @@
when: item not in current_plugin_list.stdout_lines
notify: safe-restart jenkins and wait
# For convenience, we concatenate two lists of packages :
# - jenkins_plugins_system_dependency
# - jenkins_plugins_system_dependency_supp
- name: Install system packages needed by Jenkins plugins
apt:
name: "{{ jenkins_plugins_system_dependency }}"
name: "{{ jenkins_plugins_system_dependency | union(jenkins_plugins_system_dependency_supp | default([])) }}"
state: present