mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-02 14:30:45 +08:00
bodhi2: Have the masher own the config on the backend
This commit is contained in:
@@ -216,3 +216,31 @@
|
||||
when: inventory_hostname.startswith('bodhi-backend02') and env == "production"
|
||||
tags:
|
||||
- config
|
||||
|
||||
- name: setup basic /etc/bodhi/ contents
|
||||
template: >
|
||||
src="staging.ini.j2"
|
||||
dest="/etc/bodhi/production.ini"
|
||||
owner=masher
|
||||
group=masher
|
||||
mode=0600
|
||||
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:
|
||||
- config
|
||||
- bodhi
|
||||
|
||||
Reference in New Issue
Block a user