summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Sokolovsky <paul.sokolovsky@linaro.org>2016-04-04 23:45:57 +0300
committerPaul Sokolovsky <paul.sokolovsky@linaro.org>2016-04-05 11:57:44 +0000
commit6513df0cc4745f04c80c0dc6c3c65e72fad7bff5 (patch)
tree1501d4a51ce4618cfc174332f0b18fc847eb6966
parent84860f6f7958bc63d07a08f6a768192b192926bf (diff)
jenkins: Don't use bare variables in with_items: clauses.
Gives warning with Ansible 2.0. Change-Id: I5d90cbdf8f0d6fd7ebb007a48795e3cfc95d4ff6 Reviewed-on: https://review.linaro.org/11197 Reviewed-by: Ben Copeland <ben.copeland@linaro.org>
-rw-r--r--per-service/jenkins/roles/jenkins/tasks/jenkins-plugins.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/per-service/jenkins/roles/jenkins/tasks/jenkins-plugins.yml b/per-service/jenkins/roles/jenkins/tasks/jenkins-plugins.yml
index 8a08202b..adf8c1bb 100644
--- a/per-service/jenkins/roles/jenkins/tasks/jenkins-plugins.yml
+++ b/per-service/jenkins/roles/jenkins/tasks/jenkins-plugins.yml
@@ -5,7 +5,7 @@
- name: Download Jenkins plugins which override builtin ones
get_url: url={{item.url}} dest=~jenkins/plugins/{{item.file}} force=yes owner=jenkins
- with_items: jenkins_override_plugins
+ with_items: "{{jenkins_override_plugins}}"
notify:
- Restart Jenkins
tags:
@@ -13,7 +13,7 @@
- name: Pin Jenkins plugins which override builtin ones
copy: content="" dest=~jenkins/plugins/{{item.file}}.pinned owner=jenkins mode=0644
- with_items: jenkins_override_plugins
+ with_items: "{{jenkins_override_plugins}}"
notify:
- Restart Jenkins
tags:
@@ -21,7 +21,7 @@
- name: Download "normal" Jenkins plugins
get_url: url={{item}} dest=~jenkins/plugins/ owner=jenkins
- with_items: jenkins_plugins
+ with_items: "{{jenkins_plugins}}"
notify:
- Restart Jenkins
tags: