diff --git a/playbooks/hosts/regcfp.fedorainfracloud.org.yml b/playbooks/hosts/regcfp.fedorainfracloud.org.yml index e1823242ee..66f7f4abf8 100644 --- a/playbooks/hosts/regcfp.fedorainfracloud.org.yml +++ b/playbooks/hosts/regcfp.fedorainfracloud.org.yml @@ -26,6 +26,7 @@ shell: "hostname {{inventory_hostname}}" roles: + - postgresql_server - regcfp tasks: diff --git a/roles/regcfp/tasks/main.yml b/roles/regcfp/tasks/main.yml index 12168469d8..a1ad29ac7c 100644 --- a/roles/regcfp/tasks/main.yml +++ b/roles/regcfp/tasks/main.yml @@ -6,21 +6,9 @@ - git - nodejs - npm - - postgresql - - postgresql-server - - python-psycopg2 tags: - packages -- name: Initialize postgres if necessary - command: /usr/bin/postgresql-setup initdb - creates=/var/lib/pgsql/data/PG_VERSION - notify: - - restart postgresql - -- name: start postgres - service: name=postgresql state=started enabled=yes - - name: Clone the regcfp flock2016 branch git: repo=https://github.com/puiterwijk/regcfp.git dest=/srv/regcfp