Fix some with_fileglob instances
This commit is contained in:
parent
3c41b15f12
commit
cbec442404
1 changed files with 8 additions and 4 deletions
|
@ -102,13 +102,15 @@
|
|||
|
||||
- name: import jenkins plugins
|
||||
action: copy src={{ item }} owner=jenkins group=jenkins dest=/var/lib/jenkins/plugins/
|
||||
with_fileglob: "{{ files }}/jenkins/master/plugins/*.hpi"
|
||||
with_fileglob:
|
||||
- "{{ files }}/jenkins/master/plugins/*.hpi"
|
||||
tags:
|
||||
- config
|
||||
|
||||
- name: import jenkins configuration files
|
||||
action: copy src={{ item }} owner=jenkins group=jenkins dest=/var/lib/jenkins/ backup=yes
|
||||
with_fileglob: "{{ files }}/jenkins/master/*.xml"
|
||||
with_fileglob:
|
||||
- "{{ files }}/jenkins/master/*.xml"
|
||||
tags:
|
||||
- config
|
||||
|
||||
|
@ -127,7 +129,8 @@
|
|||
|
||||
- name: jenkins hotfix big file
|
||||
copy: src={{ item }} dest=/var/lib/jenkins/plugins/openid/WEB-INF/lib/ group=jenkins mode=655
|
||||
with_fileglob: "{{ bigfiles }}/hotfixes/jenkins/openid/*.jar"
|
||||
with_fileglob:
|
||||
- "{{ bigfiles }}/hotfixes/jenkins/openid/*.jar"
|
||||
notify:
|
||||
- restart jenkins
|
||||
|
||||
|
@ -172,7 +175,8 @@
|
|||
|
||||
- name: add jenkins repos
|
||||
action: copy src={{ item }} dest=/etc/yum.repos.d/ owner=root group=root
|
||||
with_fileglob: "{{ files }}/jenkins/slaves/*.repo"
|
||||
with_fileglob:
|
||||
- "{{ files }}/jenkins/slaves/*.repo"
|
||||
tags:
|
||||
- config
|
||||
- packages
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue