Cleanup the database whenever the FedOAuth playbook is ran
This commit is contained in:
parent
a6292ac0ff
commit
8fe6c7b8a7
1 changed files with 5 additions and 0 deletions
|
@ -52,6 +52,11 @@
|
||||||
environment:
|
environment:
|
||||||
FEDOAUTH_CONFIG: /etc/fedoauth/fedoauth.cfg
|
FEDOAUTH_CONFIG: /etc/fedoauth/fedoauth.cfg
|
||||||
|
|
||||||
|
- name: Clean the database
|
||||||
|
command: /usr/bin/python2 /usr/share/fedoauth/cleanup.py
|
||||||
|
environment:
|
||||||
|
FEDOAUTH_CONFIG: /etc/fedoauth/fedoauth.cfg
|
||||||
|
|
||||||
- name: set sebooleans so fedoauth can talk to the db
|
- name: set sebooleans so fedoauth can talk to the db
|
||||||
action: seboolean name=httpd_can_network_connect_db
|
action: seboolean name=httpd_can_network_connect_db
|
||||||
state=true
|
state=true
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue