Deploy correct htpaswd in each env
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
f2599e49f8
commit
d6536e81c7
1 changed files with 2 additions and 0 deletions
|
@ -9,6 +9,7 @@
|
|||
- name: install staging htpasswd
|
||||
copy: src={{private}}/files/httpd/basset.stg.htpasswd dest=/etc/httpd/conf.d/basset.htpasswd
|
||||
owner=root group=root mode=0644
|
||||
when: env == "staging"
|
||||
notify:
|
||||
- restart httpd
|
||||
tags:
|
||||
|
@ -18,6 +19,7 @@
|
|||
- name: install prod htpasswd
|
||||
copy: src={{private}}/files/httpd/basset.prod.htpasswd dest=/etc/httpd/conf.d/basset.htpasswd
|
||||
owner=root group=root mode=0644
|
||||
when: env != "staging"
|
||||
notify:
|
||||
- restart httpd
|
||||
tags:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue