From b16717461c16c85a3e135801275cdea1b591ea84 Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Fri, 5 Feb 2016 14:40:03 -0500 Subject: [PATCH] Switch variable name Signed-off-by: Paul Belanger --- defaults/main.yaml | 2 +- tasks/config.yaml | 6 +++--- 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 @@ # License for the specific language governing permissions and limitations # under the License. --- -jenkins_plugins_list: [] +jenkins_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 @@ --- - name: Download get_url: - dest: /var/lib/jenkins/plugins/ - url: https://updates.jenkins-ci.org/latest/{{ item }}.hpi + dest: "{{ jenkins_config_home }}/plugins/" + url: "https://updates.jenkins-ci.org/download/plugins/{{ item.name }}/{{ item.version | default('latest') }}/{{ item.name }}.hpi" with_items: - - "{{ jenkins_plugins_list }}" + - "{{ jenkins_plugins_manager }}" notify: - Restart jenkins