diff --git a/roles/distgit/pagure/tasks/main.yml b/roles/distgit/pagure/tasks/main.yml index 94df76680c..1e3904ded2 100644 --- a/roles/distgit/pagure/tasks/main.yml +++ b/roles/distgit/pagure/tasks/main.yml @@ -1,24 +1,6 @@ --- # Configuration for the pagure webapp -- name: install needed packages - package: name={{ item }} state=present - with_items: - - pagure - - pagure-ev - - pagure-logcom - - pagure-milters - - pagure-webhook - - python-psycopg2 - - redis - - libsemanage-python - - python-fedora-flask - - pagure-dist-git - when: env != "staging" and datacenter != "iad2" - tags: - - pagure - - packages - - name: install needed packages package: name={{ item }} state=present with_items: @@ -32,7 +14,6 @@ - python3-libsemanage - python3-fedora-flask - pagure-dist-git - when: env == "staging" or datacenter == "iad2" tags: - pagure - packages @@ -83,16 +64,6 @@ # - stunnel # - config - -- name: Make sure mere mortals can access the fedmsg key - acl: - path: /etc/pki/fedmsg/shell-{{ inventory_hostname }}.key - entity: packager - etype: group - permissions: r - state: present - when: env != "staging" and datacenter != "iad2" - # Set-up Pagure - name: Create a group pagure we can use @@ -147,19 +118,8 @@ notify: - restart apache -- name: create the database scheme - command: /usr/bin/python2 /usr/share/pagure/pagure_createdb.py - when: env != "staging" and datacenter != "iad2" - changed_when: "1 != 1" - environment: - PAGURE_CONFIG: /etc/pagure/pagure.cfg - tags: - - web - - pagure - - name: create the database scheme command: /usr/bin/python3 /usr/share/pagure/pagure_createdb.py - when: env == "staging" or datacenter == "iad2" changed_when: "1 != 1" environment: PAGURE_CONFIG: /etc/pagure/pagure.cfg