First functional nginx version
This commit is contained in:
parent
0a5c2cfc35
commit
dc7af699ee
11 changed files with 183 additions and 4 deletions
|
@ -18,3 +18,14 @@
|
|||
shell: etckeeper unclean && echo "Uncommitted changes." && return 1 || return 0
|
||||
changed_when: False
|
||||
when: etckeeper_installed
|
||||
|
||||
# Autodetect if we can use HTTPS in Nginx and jenkinsUrl configs
|
||||
- name: Autodetect SSL - look up certificate existence on remote host
|
||||
stat:
|
||||
path: "{{ nginx_vhost_ssl_certificate_file }}"
|
||||
register: result
|
||||
when: nginx_vhost_ssl is undefined or nginx_vhost_ssl == None
|
||||
- name: Autodetect SSL - set fact
|
||||
set_fact:
|
||||
nginx_vhost_ssl: "{{ result.stat.exists is defined and result.stat.exists }}"
|
||||
when: nginx_vhost_ssl is undefined or nginx_vhost_ssl == None
|
||||
|
|
Reference in a new issue