Cleanup the database whenever the FedOAuth playbook is ran

This commit is contained in:
Patrick Uiterwijk 2014-07-14 04:33:04 +00:00
parent a6292ac0ff
commit 8fe6c7b8a7

View file

@ -52,6 +52,11 @@
environment:
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
action: seboolean name=httpd_can_network_connect_db
state=true