summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Belanger <pabelanger@redhat.com>2016-02-05 14:40:03 -0500
committerPaul Belanger <pabelanger@redhat.com>2016-02-05 14:40:03 -0500
commitb16717461c16c85a3e135801275cdea1b591ea84 (patch)
treeb4e12b9dd92ee7c4cd0f3c3f3c1d5407b1f35c63
parentb795b707659fc8c331cec0d539a52d833a78bf1f (diff)
Switch variable name
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
-rw-r--r--defaults/main.yaml2
-rw-r--r--tasks/config.yaml6
2 files changed, 4 insertions, 4 deletions
diff --git a/defaults/main.yaml b/defaults/main.yaml
index c60a979..92e8e3e 100644
--- a/defaults/main.yaml
+++ b/defaults/main.yaml
@@ -12,4 +12,4 @@
12# License for the specific language governing permissions and limitations 12# License for the specific language governing permissions and limitations
13# under the License. 13# under the License.
14--- 14---
15jenkins_plugins_list: [] 15jenkins_plugins_manager: []
diff --git a/tasks/config.yaml b/tasks/config.yaml
index 982f244..a14cac0 100644
--- a/tasks/config.yaml
+++ b/tasks/config.yaml
@@ -14,9 +14,9 @@
14--- 14---
15- name: Download 15- name: Download
16 get_url: 16 get_url:
17 dest: /var/lib/jenkins/plugins/ 17 dest: "{{ jenkins_config_home }}/plugins/"
18 url: https://updates.jenkins-ci.org/latest/{{ item }}.hpi 18 url: "https://updates.jenkins-ci.org/download/plugins/{{ item.name }}/{{ item.version | default('latest') }}/{{ item.name }}.hpi"
19 with_items: 19 with_items:
20 - "{{ jenkins_plugins_list }}" 20 - "{{ jenkins_plugins_manager }}"
21 notify: 21 notify:
22 - Restart jenkins 22 - Restart jenkins