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
|
# License for the specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
---
|
---
|
||||||
jenkins_plugins_list: []
|
jenkins_plugins_manager: []
|
||||||
|
@ -14,9 +14,9 @@
|
|||||||
---
|
---
|
||||||
- name: Download
|
- name: Download
|
||||||
get_url:
|
get_url:
|
||||||
dest: /var/lib/jenkins/plugins/
|
dest: "{{ jenkins_config_home }}/plugins/"
|
||||||
url: https://updates.jenkins-ci.org/latest/{{ item }}.hpi
|
url: "https://updates.jenkins-ci.org/download/plugins/{{ item.name }}/{{ item.version | default('latest') }}/{{ item.name }}.hpi"
|
||||||
with_items:
|
with_items:
|
||||||
- "{{ jenkins_plugins_list }}"
|
- "{{ jenkins_plugins_manager }}"
|
||||||
notify:
|
notify:
|
||||||
- Restart jenkins
|
- Restart jenkins
|
||||||
|
Loading…
Reference in New Issue
Block a user