Update abrt/retrace playbook
Switched from epel7 to master branch in upstream playbook. Brings a new name, Python3 and Python3 packages from new repo. Signed-off-by: Martin Kutlak <mkutlak@redhat.com>
This commit is contained in:
parent
6dc7da570e
commit
ffb27fd09d
13 changed files with 47 additions and 36 deletions
|
@ -3,7 +3,7 @@
|
|||
package:
|
||||
state: present
|
||||
name:
|
||||
- python-psycopg2
|
||||
- python3-psycopg2
|
||||
- postgresql-server
|
||||
- postgresql
|
||||
- pg-semver
|
||||
|
@ -20,7 +20,7 @@
|
|||
state: present
|
||||
name:
|
||||
- memcached
|
||||
- python-memcached
|
||||
- python3-memcached
|
||||
when: ansible_distribution == "RedHat" and faf_web_cache_type == "memcached"
|
||||
|
||||
- name: memcached fedora
|
||||
|
@ -30,5 +30,5 @@
|
|||
- libmemcached
|
||||
- memcached
|
||||
- zlib
|
||||
- python-pylibmc
|
||||
- python3-pylibmc
|
||||
when: ansible_distribution == "Fedora" and faf_web_cache_type == "memcached"
|
||||
|
|
|
@ -16,49 +16,49 @@
|
|||
|
||||
- name: configure ADMINS
|
||||
lineinfile:
|
||||
dest: /usr/lib/python2.7/site-packages/abrt-server-info-page/config.py
|
||||
dest: /usr/lib/python3.6/site-packages/abrt-server-info-page/config.py
|
||||
regexp: 'ADMINS ='
|
||||
line: ' ADMINS = "infrastructure@lists.fedoraproject.org"'
|
||||
notify: restart httpd
|
||||
|
||||
- name: configure MORE_FAF
|
||||
lineinfile:
|
||||
dest: /usr/lib/python2.7/site-packages/abrt-server-info-page/config.py
|
||||
dest: /usr/lib/python3.6/site-packages/abrt-server-info-page/config.py
|
||||
regexp: 'MORE_FAF ='
|
||||
line: ' MORE_FAF = "https://github.com/abrt/faf/"'
|
||||
notify: restart httpd
|
||||
|
||||
- name: configure MORE_RS
|
||||
lineinfile:
|
||||
dest: /usr/lib/python2.7/site-packages/abrt-server-info-page/config.py
|
||||
dest: /usr/lib/python3.6/site-packages/abrt-server-info-page/config.py
|
||||
regexp: 'MORE_RS ='
|
||||
line: ' MORE_RS = "https://github.com/abrt/retrace-server"'
|
||||
notify: restart httpd
|
||||
|
||||
- name: configure MORE_ABRT
|
||||
lineinfile:
|
||||
dest: /usr/lib/python2.7/site-packages/abrt-server-info-page/config.py
|
||||
dest: /usr/lib/python3.6/site-packages/abrt-server-info-page/config.py
|
||||
regexp: 'MORE_ABRT ='
|
||||
line: ' MORE_ABRT = "https://github.com/abrt/abrt/"'
|
||||
notify: restart httpd
|
||||
|
||||
- name: configure MORE_GABRT
|
||||
lineinfile:
|
||||
dest: /usr/lib/python2.7/site-packages/abrt-server-info-page/config.py
|
||||
dest: /usr/lib/python3.6/site-packages/abrt-server-info-page/config.py
|
||||
regexp: 'MORE_GABRT ='
|
||||
line: ' MORE_GABRT = "https://github.com/abrt/gnome-abrt/"'
|
||||
notify: restart httpd
|
||||
|
||||
- name: configure MORE_LR
|
||||
lineinfile:
|
||||
dest: /usr/lib/python2.7/site-packages/abrt-server-info-page/config.py
|
||||
dest: /usr/lib/python3.6/site-packages/abrt-server-info-page/config.py
|
||||
regexp: 'MORE_LR ='
|
||||
line: ' MORE_LR = "https://github.com/abrt/libreport/"'
|
||||
notify: restart httpd
|
||||
|
||||
- name: configure MORE_SATYR
|
||||
lineinfile:
|
||||
dest: /usr/lib/python2.7/site-packages/abrt-server-info-page/config.py
|
||||
dest: /usr/lib/python3.6/site-packages/abrt-server-info-page/config.py
|
||||
regexp: 'MORE_SATYR ='
|
||||
line: ' MORE_SATYR = "https://github.com/abrt/satyr/"'
|
||||
notify: restart httpd
|
||||
|
|
|
@ -88,8 +88,8 @@ domain: example.org
|
|||
# the URL can be also with /path part (e.g. example-faf.org/faf)
|
||||
faf_server_name: "example-faf.org"
|
||||
|
||||
faf_web_brand_title: "FAF"
|
||||
faf_web_brand_subtitle: "Fedora Analysis Framework"
|
||||
faf_web_brand_title: "ABRT"
|
||||
faf_web_brand_subtitle: "Analysis"
|
||||
|
||||
faf_web_fedmenu_url:
|
||||
# https://apps.fedoraproject.org/fedmenu
|
||||
|
@ -162,7 +162,7 @@ faf_opsys_list:
|
|||
faf_packages:
|
||||
- faf
|
||||
- faf-migrations
|
||||
- faf-yum
|
||||
- faf-dnf
|
||||
|
||||
faf_problem_packages:
|
||||
- faf-problem-coredump
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
[group_abrt-faf-el7]
|
||||
name=Copr repo for faf-el7 owned by @abrt
|
||||
baseurl=https://copr-be.cloud.fedoraproject.org/results/@abrt/faf-el7/epel-7-$basearch/
|
||||
type=rpm-md
|
||||
skip_if_unavailable=True
|
||||
gpgcheck=1
|
||||
gpgkey=https://copr-be.cloud.fedoraproject.org/results/@abrt/faf-el7/pubkey.gpg
|
||||
repo_gpgcheck=0
|
||||
enabled=1
|
||||
enabled_metadata=1
|
21
roles/abrt/faf/files/group_abrt-faf-el8-epel-8.repo
Normal file
21
roles/abrt/faf/files/group_abrt-faf-el8-epel-8.repo
Normal file
|
@ -0,0 +1,21 @@
|
|||
[faf-el8]
|
||||
name=Copr repo for faf-el8 owned by @abrt
|
||||
baseurl=https://copr-be.cloud.fedoraproject.org/results/@abrt/faf-el8/epel-8-$basearch/
|
||||
type=rpm-md
|
||||
skip_if_unavailable=True
|
||||
gpgcheck=1
|
||||
gpgkey=https://copr-be.cloud.fedoraproject.org/results/@abrt/faf-el8/pubkey.gpg
|
||||
repo_gpgcheck=0
|
||||
enabled=1
|
||||
enabled_metadata=1
|
||||
|
||||
[faf-el8-required-packages]
|
||||
name=Copr repo for faf-el8-required-packages owned by @abrt
|
||||
baseurl=https://copr-be.cloud.fedoraproject.org/results/@abrt/faf-el8-required-packages/epel-8-$basearch/
|
||||
type=rpm-md
|
||||
skip_if_unavailable=True
|
||||
gpgcheck=1
|
||||
gpgkey=https://copr-be.cloud.fedoraproject.org/results/@abrt/faf-el8-required-packages/pubkey.gpg
|
||||
repo_gpgcheck=0
|
||||
enabled=1
|
||||
enabled_metadata=1
|
|
@ -1,2 +1,2 @@
|
|||
install_date: Fri Nov 1 15:15:14 2019
|
||||
version: el7
|
||||
install_date: Tue Jan 21 10:21:03 2020
|
||||
version: master
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
package:
|
||||
name:
|
||||
- redis
|
||||
- python-redis
|
||||
- python3-redis
|
||||
state: present
|
||||
tags:
|
||||
- packages
|
||||
|
|
|
@ -14,9 +14,9 @@
|
|||
check_mode: no
|
||||
delegate_to: localhost
|
||||
|
||||
- fail: msg="{{ main_url }} doesn't contain 'FAF' string"
|
||||
- fail: msg="{{ main_url }} doesn't contain 'ABRT' string"
|
||||
when:
|
||||
"'FAF' not in uri_res.content"
|
||||
"'ABRT' not in uri_res.content"
|
||||
|
||||
- name: fetch problems
|
||||
uri:
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
---
|
||||
- name: remove EOLed opsys
|
||||
command: faf releasemod -o "{{ item.opsys|lower }}" --opsys-release "{{ item.release }}" -s EOL
|
||||
command: faf releasemod -o "{{ item.opsys | lower }}" --opsys-release "{{ item.release }}" -s EOL
|
||||
loop: "{{ eol_opsys | selectattr('opsys') | selectattr('release') | list }}"
|
||||
become: yes
|
||||
become_user: faf
|
||||
|
||||
- name: remove EOLed packages
|
||||
command: faf cleanup-packages "{{ item.opsys|capitalize }}" "{{ item.release }}"
|
||||
command: faf cleanup-packages "{{ item.opsys | capitalize }}" "{{ item.release }}"
|
||||
loop: "{{ eol_opsys | selectattr('opsys') | selectattr('release') | list }}"
|
||||
become: yes
|
||||
become_user: faf
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
- name: enable Copr repo for RHEL
|
||||
copy:
|
||||
src: group_abrt-faf-el7-epel-7.repo
|
||||
src: group_abrt-faf-el8-epel-8.repo
|
||||
dest: /etc/yum.repos.d/
|
||||
when: ansible_distribution == 'RedHat'
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ WSGIPythonOptimize 1
|
|||
WSGISocketPrefix {{ faf_spool_dir }}/wsgi
|
||||
WSGIDaemonProcess faf user=faf group=faf processes=3 threads=5
|
||||
|
||||
{% set python = 'python2.7' %}
|
||||
{% set python = 'python3.6' %}
|
||||
|
||||
WSGIScriptAlias /{{ url_suffix }} /usr/lib/{{ python }}/site-packages/webfaf/hub.wsgi process-group=faf application-group=%{GLOBAL}
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
# Install a role from GitHub
|
||||
- name: faf
|
||||
src: https://github.com/abrt/ansible-role-faf.git
|
||||
version: el7
|
||||
version: master
|
||||
|
||||
- name: retrace
|
||||
src: https://github.com/abrt/ansible-role-retrace-server.git
|
||||
version: el7
|
||||
version: master
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
install_date: Fri Nov 1 15:15:15 2019
|
||||
version: el7
|
||||
install_date: Tue Jan 21 10:21:04 2020
|
||||
version: master
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue