Switch variable name
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
b795b70765
commit
b16717461c
@ -12,4 +12,4 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
---
|
||||
jenkins_plugins_list: []
|
||||
jenkins_plugins_manager: []
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user