diff options
| author | Pierre-Yves Chibon <pingou@pingoured.fr> | 2017-05-31 10:44:29 +0200 |
|---|---|---|
| committer | Pierre-Yves Chibon <pingou@pingoured.fr> | 2017-05-31 10:44:29 +0200 |
| commit | 9ead5a41ae79b23ffd12506214174129ef666b4a (patch) | |
| tree | ada90f3476fce76fe894dae2b42abcfc0593693e /roles/ccsdb | |
| parent | b36d12b497da683b14f5d24aedcdb45496c352a6 (diff) | |
| download | ansible-9ead5a41ae79b23ffd12506214174129ef666b4a.tar.gz ansible-9ead5a41ae79b23ffd12506214174129ef666b4a.tar.xz ansible-9ead5a41ae79b23ffd12506214174129ef666b4a.zip | |
Fix initiating the DB and starting the services
Diffstat (limited to 'roles/ccsdb')
| -rw-r--r-- | roles/ccsdb/tasks/main.yml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/roles/ccsdb/tasks/main.yml b/roles/ccsdb/tasks/main.yml index 9502668e9..06f3ef38d 100644 --- a/roles/ccsdb/tasks/main.yml +++ b/roles/ccsdb/tasks/main.yml @@ -64,4 +64,11 @@ - reload httpd - name: initialize execdb database - shell: ccsdb-cli init_db + shell: CCSDB_CONFIG=/etc/ccsdb/ccsdb.cfg ccsdb-cli init_db + +- name: Start and enable the different services required + service: name={{ item }} enabled=yes state=started + with_items: + - httpd + - fedmsg-hub + |
