distgit/pagure: Drop old code dealing with phx2 and py2 and rhel7
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
84f046eaba
commit
4ceb0b2c1c
1 changed files with 0 additions and 40 deletions
|
@ -1,24 +1,6 @@
|
||||||
---
|
---
|
||||||
# Configuration for the pagure webapp
|
# 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
|
- name: install needed packages
|
||||||
package: name={{ item }} state=present
|
package: name={{ item }} state=present
|
||||||
with_items:
|
with_items:
|
||||||
|
@ -32,7 +14,6 @@
|
||||||
- python3-libsemanage
|
- python3-libsemanage
|
||||||
- python3-fedora-flask
|
- python3-fedora-flask
|
||||||
- pagure-dist-git
|
- pagure-dist-git
|
||||||
when: env == "staging" or datacenter == "iad2"
|
|
||||||
tags:
|
tags:
|
||||||
- pagure
|
- pagure
|
||||||
- packages
|
- packages
|
||||||
|
@ -83,16 +64,6 @@
|
||||||
# - stunnel
|
# - stunnel
|
||||||
# - config
|
# - 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
|
# Set-up Pagure
|
||||||
|
|
||||||
- name: Create a group pagure we can use
|
- name: Create a group pagure we can use
|
||||||
|
@ -147,19 +118,8 @@
|
||||||
notify:
|
notify:
|
||||||
- restart apache
|
- 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
|
- name: create the database scheme
|
||||||
command: /usr/bin/python3 /usr/share/pagure/pagure_createdb.py
|
command: /usr/bin/python3 /usr/share/pagure/pagure_createdb.py
|
||||||
when: env == "staging" or datacenter == "iad2"
|
|
||||||
changed_when: "1 != 1"
|
changed_when: "1 != 1"
|
||||||
environment:
|
environment:
|
||||||
PAGURE_CONFIG: /etc/pagure/pagure.cfg
|
PAGURE_CONFIG: /etc/pagure/pagure.cfg
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue