First functional nginx version
This commit is contained in:
parent
0a5c2cfc35
commit
dc7af699ee
11 changed files with 183 additions and 4 deletions
|
@ -36,6 +36,19 @@
|
|||
- "jenkins.model.JenkinsLocationConfiguration.xml.j2"
|
||||
notify: safe-restart jenkins and wait
|
||||
|
||||
- name: Upload ResourceDomainConfiguration.xml
|
||||
template:
|
||||
src: "{{ item }}"
|
||||
dest: "{{ jenkins_home }}/jenkins.security.ResourceDomainConfiguration.xml"
|
||||
owner: jenkins
|
||||
group: jenkins
|
||||
mode: 0644
|
||||
backup: yes
|
||||
with_first_found:
|
||||
- "jenkins.security.ResourceDomainConfiguration.xml.{{ ansible_fqdn }}.j2"
|
||||
- "jenkins.security.ResourceDomainConfiguration.xml.j2"
|
||||
notify: safe-restart jenkins and wait
|
||||
|
||||
# Generate a SSH RSA key pair if not already present
|
||||
# (we do it without the Ansible module which is only available starting 2.8)
|
||||
# (and we don't use become/become_user because it fails with a permission denied on /tmp/.ansible...)
|
||||
|
|
Reference in a new issue