bodhi2: Fix the last commit
This commit is contained in:
parent
ec78fda22e
commit
078110006b
1 changed files with 4 additions and 22 deletions
|
@ -217,30 +217,12 @@
|
||||||
tags:
|
tags:
|
||||||
- config
|
- config
|
||||||
|
|
||||||
- name: setup basic /etc/bodhi/ contents
|
- name: have the masher own the bodhi config
|
||||||
template: >
|
file: >
|
||||||
src="staging.ini.j2"
|
path="/etc/bodhi/production.ini"
|
||||||
dest="/etc/bodhi/production.ini"
|
|
||||||
owner=masher
|
owner=masher
|
||||||
group=masher
|
group=masher
|
||||||
mode=0600
|
when: inventory_hostname.startswith('bodhi')
|
||||||
when: inventory_hostname.startswith('bodhi') and env == 'staging'
|
|
||||||
notify:
|
|
||||||
- restart httpd
|
|
||||||
tags:
|
|
||||||
- config
|
|
||||||
- bodhi
|
|
||||||
|
|
||||||
- name: setup basic /etc/bodhi/ contents
|
|
||||||
template: >
|
|
||||||
src="production.ini.j2"
|
|
||||||
dest="/etc/bodhi/production.ini"
|
|
||||||
owner=masher
|
|
||||||
group=masher
|
|
||||||
mode=0600
|
|
||||||
when: inventory_hostname.startswith('bodhi') and env == 'production'
|
|
||||||
notify:
|
|
||||||
- restart httpd
|
|
||||||
tags:
|
tags:
|
||||||
- config
|
- config
|
||||||
- bodhi
|
- bodhi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue