Switch variable name

Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2016-02-05 14:40:03 -05:00
parent b795b70765
commit b16717461c
2 changed files with 4 additions and 4 deletions

View File

@ -12,4 +12,4 @@
# License for the specific language governing permissions and limitations
# under the License.
---
jenkins_plugins_list: []
jenkins_plugins_manager: []

View File

@ -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