Fix majority of remaining yamllint warnings and errors

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
This commit is contained in:
Ryan Lercho 2024-11-27 13:48:08 +10:00
parent 1073f70bce
commit 89f6f1fc32
591 changed files with 1491 additions and 1168 deletions

View file

@ -14,9 +14,10 @@ rules:
spaces: 2 spaces: 2
indent-sequences: whatever indent-sequences: whatever
level: warning level: warning
line-length: line-length: disable
max: 100 # line-length:
level: warning # max: 100
# level: warning
truthy: truthy:
allowed-values: ['true', 'false', 'yes', 'no'] allowed-values: ['true', 'false', 'yes', 'no']
... ...

View file

@ -1,3 +1,4 @@
---
apiVersion: config.openshift.io/v1 apiVersion: config.openshift.io/v1
kind: OAuth kind: OAuth
metadata: metadata:

View file

@ -1,7 +1,7 @@
######################################## ########################################
# Handlers for restarting services # Handlers for restarting services
# #
---
- name: reload systemd - name: reload systemd
command: systemctl daemon-reload command: systemctl daemon-reload
@ -75,14 +75,14 @@
- name: restart openvpn (Fedora) - name: restart openvpn (Fedora)
when: ansible_distribution == "Fedora" when: ansible_distribution == "Fedora"
action: service name=openvpn-client@openvpn state=restarted action: service name=openvpn-client@openvpn state=restarted
#notify: # notify:
#- fix openvpn routing # - fix openvpn routing
- name: restart openvpn (RHEL7+) - name: restart openvpn (RHEL7+)
when: ansible_distribution == "RedHat" and ansible_distribution_major_version|int >= 7 when: ansible_distribution == "RedHat" and ansible_distribution_major_version|int >= 7
action: service name=openvpn-client@openvpn state=restarted action: service name=openvpn-client@openvpn state=restarted
#notify: # notify:
#- fix openvpn routing # - fix openvpn routing
- name: fix openvpn routing - name: fix openvpn routing
action: shell /etc/openvpn/fix-routes.sh action: shell /etc/openvpn/fix-routes.sh

View file

@ -21,7 +21,7 @@
- import_playbook: /srv/web/infra/ansible/playbooks/groups/busgateway.yml - import_playbook: /srv/web/infra/ansible/playbooks/groups/busgateway.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/certgetter.yml - import_playbook: /srv/web/infra/ansible/playbooks/groups/certgetter.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/copr-backend.yml - import_playbook: /srv/web/infra/ansible/playbooks/groups/copr-backend.yml
#- import_playbook: /srv/web/infra/ansible/playbooks/groups/copr-db.yml # - import_playbook: /srv/web/infra/ansible/playbooks/groups/copr-db.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/copr-dist-git.yml - import_playbook: /srv/web/infra/ansible/playbooks/groups/copr-dist-git.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/copr-frontend.yml - import_playbook: /srv/web/infra/ansible/playbooks/groups/copr-frontend.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/copr-hypervisor.yml - import_playbook: /srv/web/infra/ansible/playbooks/groups/copr-hypervisor.yml

View file

@ -76,8 +76,7 @@
mnt_dir: '/srv/cache/lookaside', mnt_dir: '/srv/cache/lookaside',
nfs_src_dir: nfs_src_dir:
'fedora_sourcecache', 'fedora_sourcecache',
# yamllint disable rule:commas nfs_mount_opts='rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=3' # yamllint disable-line rule:commas rule:indentation
nfs_mount_opts='rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=3'
} }
- { - {
role: nfs/client, role: nfs/client,
@ -86,8 +85,7 @@
mnt_dir: '/srv/cache/lookaside_prod', mnt_dir: '/srv/cache/lookaside_prod',
nfs_src_dir: nfs_src_dir:
'fedora_sourcecache', 'fedora_sourcecache',
# yamllint disable rule:commas nfs_mount_opts='ro,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=3' # yamllint disable-line rule:commas rule:indentation
nfs_mount_opts='ro,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=3'
} }
- role: distgit/pagure - role: distgit/pagure
- role: distgit - role: distgit

View file

@ -9,7 +9,7 @@
state: directory state: directory
owner: faf owner: faf
group: faf group: faf
mode: 0750 mode: "0750"
when: env != 'staging' when: env != 'staging'
- import_tasks: cron.yml - import_tasks: cron.yml

View file

@ -28,18 +28,18 @@
- { src: "{{private}}/files/rabbitmq/{{env}}/pki/ca.crt", - { src: "{{private}}/files/rabbitmq/{{env}}/pki/ca.crt",
dest: "ca.crt", dest: "ca.crt",
owner: faf, owner: faf,
mode: 0644 mode: "0644"
} }
- { src: "{{private}}/files/rabbitmq/{{env}}/pki/private/faf{{env_suffix}}.key", - { src: "{{private}}/files/rabbitmq/{{env}}/pki/private/faf{{env_suffix}}.key",
dest: "faf.key", dest: "faf.key",
owner: faf, owner: faf,
mode: "600" mode: "600"
} }
- { src: "{{private}}/files/rabbitmq/{{env}}/pki/issued/faf{{env_suffix}}.crt", - { src: "{{private}}/files/rabbitmq/{{env}}/pki/issued/faf{{env_suffix}}.crt",
dest: "faf.crt", dest: "faf.crt",
owner: faf, owner: faf,
mode: 0644 mode: "0644"
} }
# landing page # landing page
- name: install abrt-server-info-page - name: install abrt-server-info-page

View file

@ -1,10 +1,11 @@
---
name: Check Ansible Role name: Check Ansible Role
on: on: # yamllint disable-line rule:truthy
push: push:
branches: [ master ] branches: [master]
pull_request: pull_request:
branches: [ master ] branches: [master]
jobs: jobs:
lint: lint:

View file

@ -39,7 +39,7 @@ faf_web_on_root: false
# [MAIN] # [MAIN]
faf_plugins_dir: /etc/faf/plugins/ faf_plugins_dir: /etc/faf/plugins/
faf_templates_dir: /etc/faf/templates/ faf_templates_dir: /etc/faf/templates/
faf_autoenableplugins: False faf_autoenableplugins: false
# [STORAGE] # [STORAGE]
# variables used to automatically create a connectstring # variables used to automatically create a connectstring
@ -62,11 +62,11 @@ faf_from: no-reply@localhost
# [uREPORT] # [uREPORT]
faf_spool_dir: /var/spool/faf faf_spool_dir: /var/spool/faf
faf_create_components: False faf_create_components: false
# Allow uReports without affected package - meaning that crashing code was # Allow uReports without affected package - meaning that crashing code was
# not packaged # not packaged
faf_allow_unpackaged: False faf_allow_unpackaged: false
########################### ###########################
# faf-webui configuration # # faf-webui configuration #

View file

@ -6,13 +6,13 @@ galaxy_info:
license: BSD license: BSD
min_ansible_version: 2.5 min_ansible_version: 2.5
platforms: platforms:
- name: EL - name: EL
versions: versions:
- 8 - 8
- name: Fedora - name: Fedora
versions: versions:
- 29 - 29
- 30 - 30
galaxy_tags: galaxy_tags:
- web - web
dependencies: [] dependencies: []

View file

@ -1,3 +1,4 @@
---
- name: install faf web celery packages - name: install faf web celery packages
package: package:
name: "{{ faf_web_celery_packages }}" name: "{{ faf_web_celery_packages }}"

View file

@ -1,6 +1,6 @@
# check web functionality # check web functionality
# #
---
- name: Set URL facts - name: Set URL facts
set_fact: set_fact:
main_url: "https://{{ ansible_default_ipv4.address }}{{ url_suffix }}" main_url: "https://{{ ansible_default_ipv4.address }}{{ url_suffix }}"

View file

@ -11,7 +11,7 @@
path: /etc/fedora-messaging/ path: /etc/fedora-messaging/
owner: root owner: root
group: root group: root
mode: 0755 mode: "0755"
state: directory state: directory
when: faf_with_fedmsg|bool when: faf_with_fedmsg|bool

View file

@ -1,3 +1,4 @@
---
- import_tasks: install.yml - import_tasks: install.yml
tags: [faf, faf_install, packages] tags: [faf, faf_install, packages]

View file

@ -1,4 +1,4 @@
---
- name: Set url_suffix fact - name: Set url_suffix fact
set_fact: set_fact:
url_suffix: "" url_suffix: ""

View file

@ -1,4 +1,5 @@
# Install a role from GitHub # Install a role from GitHub
---
- name: faf - name: faf
src: https://github.com/abrt/ansible-role-faf.git src: https://github.com/abrt/ansible-role-faf.git
version: master version: master

View file

@ -1,6 +1,6 @@
--- ---
#long running tasks - run them in background - we do not actually care about the results # long running tasks - run them in background - we do not actually care about the results
- name: reposync for fedora - name: reposync for fedora
shell: nohup retrace-server-reposync fedora {{ item[0] }} {{ item[1] }} </dev/null >$(mktemp /tmp/ansible.reposync_for_fedoraXXXXXX.log) & shell: nohup retrace-server-reposync fedora {{ item[0] }} {{ item[1] }} </dev/null >$(mktemp /tmp/ansible.reposync_for_fedoraXXXXXX.log) &
loop: "{{ rs_internal_fedora_vers | product(rs_internal_arch_list) | list }}" loop: "{{ rs_internal_fedora_vers | product(rs_internal_arch_list) | list }}"
@ -20,20 +20,20 @@
- file: - file:
path: /srv/retrace/repos path: /srv/retrace/repos
state: directory state: directory
mode: 0755 mode: "0755"
owner: retrace owner: retrace
group: retrace group: retrace
- file: - file:
path: /srv/retrace/tasks path: /srv/retrace/tasks
state: directory state: directory
mode: 0755 mode: "0755"
owner: retrace owner: retrace
group: retrace group: retrace
- file: - file:
path: /srv/retrace/hardlink-local path: /srv/retrace/hardlink-local
state: directory state: directory
mode: 0755 mode: "0755"
owner: retrace owner: retrace
group: retrace group: retrace

View file

@ -47,7 +47,7 @@
file: file:
path: /srv/retrace/repos path: /srv/retrace/repos
state: directory state: directory
mode: 0755 mode: "0755"
owner: retrace owner: retrace
group: retrace group: retrace
@ -55,13 +55,13 @@
file: file:
path: /srv/retrace/tasks path: /srv/retrace/tasks
state: directory state: directory
mode: 0755 mode: "0755"
owner: retrace owner: retrace
group: retrace group: retrace
- file: - file:
path: /srv/retrace/hardlink-local path: /srv/retrace/hardlink-local
state: directory state: directory
mode: 0755 mode: "0755"
owner: retrace owner: retrace
group: retrace group: retrace

View file

@ -1,10 +1,11 @@
---
name: Check Ansible Role name: Check Ansible Role
on: on: # yamllint disable-line rule:truthy
push: push:
branches: [ master ] branches: [master]
pull_request: pull_request:
branches: [ master ] branches: [master]
jobs: jobs:
lint: lint:

View file

@ -5,14 +5,14 @@ galaxy_info:
license: BSD license: BSD
min_ansible_version: 2.8 min_ansible_version: 2.8
platforms: platforms:
- name: EL - name: EL
versions: versions:
- 7 - 7
- 8 - 8
- name: Fedora - name: Fedora
versions: versions:
- 33 - 33
- 34 - 34
- 35 - 35
galaxy_tags: galaxy_tags:
- system - system

View file

@ -3,19 +3,19 @@
template: template:
src: etc-retrace-server.conf.j2 src: etc-retrace-server.conf.j2
dest: /etc/retrace-server/retrace-server.conf dest: /etc/retrace-server/retrace-server.conf
mode: 0644 mode: "0644"
notify: restart httpd notify: restart httpd
- name: retrace-server http config - name: retrace-server http config
template: template:
src: retrace-server-httpd.conf.j2 src: retrace-server-httpd.conf.j2
dest: /etc/httpd/conf.d/retrace-server-httpd.conf dest: /etc/httpd/conf.d/retrace-server-httpd.conf
mode: 0644 mode: "0644"
notify: restart httpd notify: restart httpd
- name: configure retrace-server hooks config - name: configure retrace-server hooks config
template: template:
src: etc-retrace-server-hooks.conf.j2 src: etc-retrace-server-hooks.conf.j2
dest: /etc/retrace-server/retrace-server-hooks.conf dest: /etc/retrace-server/retrace-server-hooks.conf
mode: 0644 mode: "0644"
notify: restart httpd notify: restart httpd

View file

@ -1,3 +1,4 @@
---
galaxy_info: galaxy_info:
role_name: osbuild_worker role_name: osbuild_worker
namespace: osbuild namespace: osbuild

View file

@ -1,2 +1,3 @@
---
- name: restart apache - name: restart apache
command: /usr/local/bin/conditional-restart.sh httpd httpd command: /usr/local/bin/conditional-restart.sh httpd httpd

View file

@ -15,7 +15,7 @@
package: package:
state: present state: present
name: name:
- mod_http2 - mod_http2
tags: tags:
- packages - packages
- apache - apache

View file

@ -1,7 +1,4 @@
%YAML 1.2 %YAML 1.2
# This file is managed in two places, please keep them synchronised:
# - https://pagure.io/fedora-infra/ansible/blob/main/f/roles/apps-fp-o/files/apps.yaml
# - https://github.com/fedora-infra/apps.fp.o/blob/develop/data/apps.yaml
--- ---
name: Fedora Apps name: Fedora Apps
data: data:
@ -13,59 +10,57 @@ children:
- name: Accounts - name: Accounts
data: data:
description: > description: >
Tools for everybody -- use these things to manage your Fedora Tools for everybody -- use these things to manage your Fedora
Account. Account.
children: children:
- name: FedoraPeople - name: FedoraPeople
data: data:
url: https://fedorapeople.org url: https://fedorapeople.org
user_url: https://{user}.fedorapeople.org user_url: https://{user}.fedorapeople.org
status_mappings: ['people'] status_mappings: [people]
description: > description: >
Being a community member you gain access to fedorapeople which Being a community member you gain access to fedorapeople which
provides you with a space on the web where you can upload provides you with a space on the web where you can upload
files to share them with the community. files to share them with the community.
- name: Fedora Accounts - name: Fedora Accounts
data: data:
url: https://accounts.fedoraproject.org/ url: https://accounts.fedoraproject.org/
user_url: https://accounts.fedoraproject.org/user/{user} user_url: https://accounts.fedoraproject.org/user/{user}
source_url: https://github.com/fedora-infra/noggin/ source_url: https://github.com/fedora-infra/noggin/
bugs_url: https://github.com/fedora-infra/noggin/issues/ bugs_url: https://github.com/fedora-infra/noggin/issues/
docs_url: https://noggin-aaa.readthedocs.io/en/latest/ docs_url: https://noggin-aaa.readthedocs.io/en/latest/
sops: sops:
- https://fedora-infra-docs.readthedocs.io/en/latest/sysadmin-guide/sops/fas-notes.html - https://fedora-infra-docs.readthedocs.io/en/latest/sysadmin-guide/sops/fas-notes.html
- https://fedora-infra-docs.readthedocs.io/en/latest/sysadmin-guide/sops/fas-openid.html - https://fedora-infra-docs.readthedocs.io/en/latest/sysadmin-guide/sops/fas-openid.html
- https://fedora-infra-docs.readthedocs.io/en/latest/sysadmin-guide/sops/accountdeletion.html - https://fedora-infra-docs.readthedocs.io/en/latest/sysadmin-guide/sops/accountdeletion.html
- https://fedora-infra-docs.readthedocs.io/en/latest/sysadmin-guide/sops/nonhumanaccounts.html - https://fedora-infra-docs.readthedocs.io/en/latest/sysadmin-guide/sops/nonhumanaccounts.html
status_mappings: ['fas'] status_mappings: [fas]
description: > description: >
Fedora Accounts. Update your profile Fedora Accounts. Update your profile
information and apply for membership in groups. information and apply for membership in groups.
- name: Notifications - name: Notifications
data: data:
icon: fedmsg.png icon: fedmsg.png
url: https://notifications.fedoraproject.org/ url: https://notifications.fedoraproject.org/
source_url: https://github.com/fedora-infra/fmn/ source_url: https://github.com/fedora-infra/fmn/
bugs_url: https://github.com/fedora-infra/fmn/issues/ bugs_url: https://github.com/fedora-infra/fmn/issues/
docs_url: https://fmn.readthedocs.io/ docs_url: https://fmn.readthedocs.io/
sops: sops: [https://docs.fedoraproject.org/en-US/infra/sysadmin_guide/fmn/]
- https://docs.fedoraproject.org/en-US/infra/sysadmin_guide/fmn/ status_mappings: [fedmsg]
status_mappings: ['fedmsg'] description: >
description: >
Centrally managed preferences for Fedora Infrastructure Centrally managed preferences for Fedora Infrastructure
notifications to your inbox, irc client, and mobile device. notifications to your inbox, irc client, and mobile device.
- name: Badges - name: Badges
status_mappings: ['badges'] status_mappings: [badges]
data: data:
icon: badges.png icon: badges.png
url: https://badges.fedoraproject.org url: https://badges.fedoraproject.org
user_url: https://badges.fedoraproject.org/user/{user} user_url: https://badges.fedoraproject.org/user/{user}
source_url: https://github.com/fedora-infra/tahrir/ source_url: https://github.com/fedora-infra/tahrir/
bugs_url: https://github.com/fedora-infra/tahrir/issues/ bugs_url: https://github.com/fedora-infra/tahrir/issues/
docs_url: https://tahrir.readthedocs.org/en/latest/ docs_url: https://tahrir.readthedocs.org/en/latest/
sops: sops: [https://infrastructure.fedoraproject.org/infra/docs/badges.rst]
- https://infrastructure.fedoraproject.org/infra/docs/badges.rst description: >
description: >
An achievements system for Fedora Contributors! "Badges" An achievements system for Fedora Contributors! "Badges"
are awarded based on activity in the community. Can you are awarded based on activity in the community. Can you
unlock them all? unlock them all?
@ -75,71 +70,69 @@ children:
- name: Content - name: Content
data: data:
description: > description: >
Tools for wordsmiths -- the apps that store and archive the troves Tools for wordsmiths -- the apps that store and archive the troves
of content that Fedora authors produce. Blog posts, the wiki, and of content that Fedora authors produce. Blog posts, the wiki, and
more.. more..
children: children:
- name: Ask Fedora - name: Ask Fedora
data: data:
icon: ask_fedora.png icon: ask_fedora.png
url: https://ask.fedoraproject.org/ url: https://ask.fedoraproject.org/
source_url: https://github.com/askbot/askbot-devel source_url: https://github.com/askbot/askbot-devel
bugs_url: https://github.com/askbot/askbot-devel/issues/ bugs_url: https://github.com/askbot/askbot-devel/issues/
docs_url: http://askbot.org/doc/index.html docs_url: http://askbot.org/doc/index.html
sops: sops: [https://infrastructure.fedoraproject.org/infra/docs/askbot.rst]
- https://infrastructure.fedoraproject.org/infra/docs/askbot.rst status_mappings: [ask]
status_mappings: ['ask'] description: >
description: >
Any question at all about Fedora? Ask it here. Any question at all about Fedora? Ask it here.
- name: The Wiki - name: The Wiki
data: data:
icon: mediawiki.png icon: mediawiki.png
url: https://fedoraproject.org/wiki url: https://fedoraproject.org/wiki
user_url: https://fedoraproject.org/wiki/User:{user} user_url: https://fedoraproject.org/wiki/User:{user}
source_url: https://www.mediawiki.org/ source_url: https://www.mediawiki.org/
bugs_url: https://www.mediawiki.org/wiki/Phabricator#Get_started bugs_url: https://www.mediawiki.org/wiki/Phabricator#Get_started
docs_url: https://www.mediawiki.org/wiki/Sysadmin_hub docs_url: https://www.mediawiki.org/wiki/Sysadmin_hub
sops: sops: [https://infrastructure.fedoraproject.org/infra/docs/wiki.rst]
- https://infrastructure.fedoraproject.org/infra/docs/wiki.rst status_mappings: [wiki]
status_mappings: ['wiki'] description: >
description: >
Maintain your own user profile page, contribute to Maintain your own user profile page, contribute to
documents about features, process, and governance. documents about features, process, and governance.
- name: Fedora Magazine - name: Fedora Magazine
data: data:
icon: magazine.png icon: magazine.png
url: https://fedoramagazine.org url: https://fedoramagazine.org
docs_url: https://codex.wordpress.org/ docs_url: https://codex.wordpress.org/
# We don't have a SOP for the magazine yet. # We don't have a SOP for the magazine yet.
# https://pagure.io/fedora-infrastructure/issue/5149 # https://pagure.io/fedora-infrastructure/issue/5149
# sops: # sops:
# - put the url here # - put the url here
description: > description: >
Fedora Magazine is a WordPress-based site which delivers all Fedora Magazine is a WordPress-based site which delivers all
the news of the Fedora Community. (It replaces the previous the news of the Fedora Community. (It replaces the previous
Fedora Weekly News.) Fedora Weekly News.)
- name: The Planet - name: The Planet
data: data:
icon: planet_logo.png icon: planet_logo.png
url: http://fedoraplanet.org url: http://fedoraplanet.org
docs_url: https://www.intertwingly.net/code/venus/ docs_url: https://www.intertwingly.net/code/venus/
sops: sops:
- https://infrastructure.fedoraproject.org/infra/docs/planetsubgroup.rst - https://infrastructure.fedoraproject.org/infra/docs/planetsubgroup.rst
description: > description: >
The planet is a blog aggregator, a space accessible to you The planet is a blog aggregator, a space accessible to you
as a community member where you can express your opinion and as a community member where you can express your opinion and
talk about what you are doing for Fedora. talk about what you are doing for Fedora.
- name: Docs - name: Docs
data: data:
url: https://docs.fedoraproject.org url: https://docs.fedoraproject.org
status_mappings: ['docs'] status_mappings: [docs]
# TODO - add the docs_url. I asked pete travis for info on this # TODO - add the docs_url. I asked pete travis for info on this
# docs_url: put the url here # docs_url: put the url here
# TODO - add a sop. # TODO - add a sop.
# https://pagure.io/fedora-infrastructure/issue/5150 # https://pagure.io/fedora-infrastructure/issue/5150
# sops: # sops:
# - add the sop url here. # - add the sop url here.
description: > description: >
RTFM! Everything you could ever want to know. RTFM! Everything you could ever want to know.
Probably the best place to find documentation about Fedora, Probably the best place to find documentation about Fedora,
including the changes between releases (and a big kudos to including the changes between releases (and a big kudos to
@ -148,92 +141,91 @@ children:
- name: QA - name: QA
data: data:
description: > description: >
Tools for testers -- the people who tell us its broken so we can Tools for testers -- the people who tell us its broken so we can
fix it. fix it.
children: children:
- name: Problem Tracker - name: Problem Tracker
data: data:
url: https://retrace.fedoraproject.org url: https://retrace.fedoraproject.org
package_url: https://retrace.fedoraproject.org/faf/reports/?component_names={package} package_url: https://retrace.fedoraproject.org/faf/reports/?component_names={package}
source_url: https://github.com/abrt/retrace-server/ source_url: https://github.com/abrt/retrace-server/
bugs_url: https://github.com/abrt/retrace-server/issues bugs_url: https://github.com/abrt/retrace-server/issues
docs_url: https://abrt.readthedocs.org/en/latest/howitworks.html#faf docs_url: https://abrt.readthedocs.org/en/latest/howitworks.html#faf
# TODO - write SOPs for this # TODO - write SOPs for this
# https://pagure.io/fedora-infrastructure/issue/5151 # https://pagure.io/fedora-infrastructure/issue/5151
# sops: # sops:
# - url goes here # - url goes here
# - and another one goes here # - and another one goes here
description: > description: >
The Problem Tracker is a platform for collecting and The Problem Tracker is a platform for collecting and
analyzing package crashes reported via ABRT (Automatic Bug analyzing package crashes reported via ABRT (Automatic Bug
Reporting Tool). It makes it easy to see what problems Reporting Tool). It makes it easy to see what problems
users are hitting the most, and allows you to filter them users are hitting the most, and allows you to filter them
by Fedora release, associate, or component. by Fedora release, associate, or component.
- name: Blocker Bugs - name: Blocker Bugs
data: data:
url: https://qa.fedoraproject.org/blockerbugs url: https://qa.fedoraproject.org/blockerbugs
source_url: https://pagure.io/fedora-qa/blockerbugs source_url: https://pagure.io/fedora-qa/blockerbugs
bugs_url: https://pagure.io/fedora-qa/blockerbugs bugs_url: https://pagure.io/fedora-qa/blockerbugs
docs_url: https://tflink.fedorapeople.org/blockerbugs/docs/ docs_url: https://tflink.fedorapeople.org/blockerbugs/docs/
sops: sops:
- https://infrastructure.fedoraproject.org/infra/docs/blockerbugs.rst - https://infrastructure.fedoraproject.org/infra/docs/blockerbugs.rst
status_mappings: ['blockerbugs'] status_mappings: [blockerbugs]
description: > description: >
The Fedora Blocker Bug Tracker tracks release blocking bugs The Fedora Blocker Bug Tracker tracks release blocking bugs
and related updates in Fedora releases currently under and related updates in Fedora releases currently under
development. development.
- name: Bugzilla - name: Bugzilla
data: data:
icon: bugzilla.png icon: bugzilla.png
url: https://bugzilla.redhat.com url: https://bugzilla.redhat.com
package_url: > package_url: >
https://bugzilla.redhat.com/buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&product=Fedora&product=Fedora%20EPEL&query_format=advanced&component={package} https://bugzilla.redhat.com/buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&product=Fedora&product=Fedora%20EPEL&query_format=advanced&component={package}
description: > description: >
The Fedora Community makes use of a bugzilla instance The Fedora Community makes use of a bugzilla instance
run by Red Hat. Notice something wrong with a Fedora run by Red Hat. Notice something wrong with a Fedora
package? You can file an official bug here. package? You can file an official bug here.
- name: Review Status - name: Review Status
data: data:
url: https://fedoraproject.org/PackageReviewStatus/ url: https://fedoraproject.org/PackageReviewStatus/
package_url: > package_url: >
https://bugzilla.redhat.com/buglist.cgi?component=Package%20Review&query_format=advanced&short_desc_type=allwordssubstr&short_desc={package} https://bugzilla.redhat.com/buglist.cgi?component=Package%20Review&query_format=advanced&short_desc_type=allwordssubstr&short_desc={package}
# TODO - write the SOP for this # TODO - write the SOP for this
# https://pagure.io/fedora-infrastructure/issue/5152 # https://pagure.io/fedora-infrastructure/issue/5152
# sops: # sops:
# - url goes here # - url goes here
description: > description: >
These pages contain periodically generated reports with These pages contain periodically generated reports with
information on the current state of all Fedora <strong>package review information on the current state of all Fedora <strong>package review
tickets</strong> -- a super useful window on bugzilla. tickets</strong> -- a super useful window on bugzilla.
- name: Kerneltest - name: Kerneltest
data: data:
icon: tux.png icon: tux.png
url: https://apps.fedoraproject.org/kerneltest url: https://apps.fedoraproject.org/kerneltest
source_url: https://github.com/jmflinuxtx/kerneltest-harness source_url: https://github.com/jmflinuxtx/kerneltest-harness
bugs_url: https://github.com/jmflinuxtx/kerneltest-harness/issues bugs_url: https://github.com/jmflinuxtx/kerneltest-harness/issues
docs_url: https://fedoraproject.org/wiki/KernelTestingInitiative docs_url: https://fedoraproject.org/wiki/KernelTestingInitiative
sops: sops:
- https://infrastructure.fedoraproject.org/infra/docs/kerneltest-harness.rst - https://infrastructure.fedoraproject.org/infra/docs/kerneltest-harness.rst
description: > description: >
As part of the <a As part of the <a
href="https://fedoraproject.org/wiki/KernelTestingInitiative">kernel href="https://fedoraproject.org/wiki/KernelTestingInitiative">kernel
testing initiative</a> we provide a webapp where users and testing initiative</a> we provide a webapp where users and
automated systems can upload test results. If you have automated systems can upload test results. If you have
access to hardware where we could catch tricky driver access to hardware where we could catch tricky driver
issues, your assistance here would be much appreciated. issues, your assistance here would be much appreciated.
- name: Koschei - name: Koschei
data: data:
icon: koschei.png icon: koschei.png
url: https://koschei.fedoraproject.org/ url: https://koschei.fedoraproject.org/
user_url: https://koschei.fedoraproject.org/user/{user} user_url: https://koschei.fedoraproject.org/user/{user}
package_url: https://koschei.fedoraproject.org/package/{package} package_url: https://koschei.fedoraproject.org/package/{package}
source_url: https://github.com/fedora-infra/koschei source_url: https://github.com/fedora-infra/koschei
bugs_url: https://github.com/fedora-infra/koschei/issues bugs_url: https://github.com/fedora-infra/koschei/issues
docs_url: https://fedoraproject.org/wiki/Koschei docs_url: https://fedoraproject.org/wiki/Koschei
sops: sops: [https://infrastructure.fedoraproject.org/infra/docs/koschei.rst]
- https://infrastructure.fedoraproject.org/infra/docs/koschei.rst status_mappings: [koschei]
status_mappings: ['koschei'] description: >
description: >
Koschei is a continuous integration system for RPM packages. It Koschei is a continuous integration system for RPM packages. It
tracks dependency changes done in Koji repositories and rebuilds tracks dependency changes done in Koji repositories and rebuilds
packages whose dependencies change. It can help packagers to packages whose dependencies change. It can help packagers to
@ -242,106 +234,101 @@ children:
- name: Coordination - name: Coordination
data: data:
description: > description: >
Tools for people -- so we can talk to each other and share content Tools for people -- so we can talk to each other and share content
and ideas. and ideas.
children: children:
- name: Asknot - name: Asknot
data: data:
url: https://whatcanidoforfedora.org url: https://whatcanidoforfedora.org
source_url: https://github.com/fedora-infra/asknot-ng source_url: https://github.com/fedora-infra/asknot-ng
bugs_url: https://github.com/fedora-infra/asknot-ng/issues bugs_url: https://github.com/fedora-infra/asknot-ng/issues
docs_url: https://github.com/fedora-infra/asknot-ng/blob/develop/README.md docs_url: https://github.com/fedora-infra/asknot-ng/blob/develop/README.md
# TODO - write SOP for asknot-ng # TODO - write SOP for asknot-ng
# https://pagure.io/fedora-infrastructure/issue/5154 # https://pagure.io/fedora-infrastructure/issue/5154
# sops: # sops:
# - url goes here # - url goes here
status_mappings: [] status_mappings: []
description: > description: >
Ask not what Fedora can do for you, but <a Ask not what Fedora can do for you, but <a
href="https://whatcanidoforfedora.org">what you can do for href="https://whatcanidoforfedora.org">what you can do for
Fedora?</a> This site is a starting place for brand new Fedora?</a> This site is a starting place for brand new
contributors to help them figure out where they can contributors to help them figure out where they can
hop on board! hop on board!
- name: Elections - name: Elections
data: data:
url: https://elections.fedoraproject.org/ url: https://elections.fedoraproject.org/
source_url: https://github.com/fedora-infra/elections source_url: https://github.com/fedora-infra/elections
bugs_url: https://github.com/fedora-infra/elections/issues bugs_url: https://github.com/fedora-infra/elections/issues
docs_url: https://github.com/fedora-infra/elections/blob/develop/README.md docs_url: https://github.com/fedora-infra/elections/blob/develop/README.md
sops: sops: [https://infrastructure.fedoraproject.org/infra/docs/voting.rst]
- https://infrastructure.fedoraproject.org/infra/docs/voting.rst status_mappings: [elections]
status_mappings: ['elections'] description: >
description: >
As a member of the community, you can now vote for the As a member of the community, you can now vote for the
different steering committees and for this you will use the different steering committees and for this you will use the
Election application. Voting is a right and a duty as a member Election application. Voting is a right and a duty as a member
of the community; it is one of the things you can do to of the community; it is one of the things you can do to
influence the development of Fedora. influence the development of Fedora.
- name: The Mailing lists - name: The Mailing lists
data: data:
icon: hyperkitty.png icon: hyperkitty.png
url: https://lists.fedoraproject.org url: https://lists.fedoraproject.org
source_url: https://gitlab.com/mailman/hyperkitty source_url: https://gitlab.com/mailman/hyperkitty
bugs_url: https://gitlab.com/mailman/hyperkitty/issues bugs_url: https://gitlab.com/mailman/hyperkitty/issues
docs_url: https://hyperkitty.readthedocs.org/en/latest/ docs_url: https://hyperkitty.readthedocs.org/en/latest/
sops: sops: [https://infrastructure.fedoraproject.org/infra/docs/mailman.rst]
- https://infrastructure.fedoraproject.org/infra/docs/mailman.rst status_mappings: [mailinglists]
status_mappings: ['mailinglists'] description: >
description: >
Mailing lists are used for communication within the community. Mailing lists are used for communication within the community.
There are lists for generic topics and lists more dedicated There are lists for generic topics and lists more dedicated
to a specific topic, there is for sure one for you. to a specific topic, there is for sure one for you.
- name: FedoCal - name: FedoCal
data: data:
icon: fedocal.png icon: fedocal.png
url: https://calendar.fedoraproject.org/ url: https://calendar.fedoraproject.org/
source_url: https://github.com/fedora-infra/fedocal source_url: https://github.com/fedora-infra/fedocal
bugs_url: https://github.com/fedora-infra/fedocal/issues bugs_url: https://github.com/fedora-infra/fedocal/issues
docs_url: https://fedocal.readthedocs.org/en/latest/ docs_url: https://fedocal.readthedocs.org/en/latest/
sops: sops: [https://infrastructure.fedoraproject.org/infra/docs/fedocal.rst]
- https://infrastructure.fedoraproject.org/infra/docs/fedocal.rst status_mappings: [fedocal]
status_mappings: ['fedocal'] description: >
description: >
The Fedora Calendar (or <strong>fedocal</strong>), you might The Fedora Calendar (or <strong>fedocal</strong>), you might
have already guessed, is a public calendar service. You can have already guessed, is a public calendar service. You can
create your own calendar, or subscribe to others. Want to create your own calendar, or subscribe to others. Want to
be kept abrest of releases, freezes, and events? This is be kept abrest of releases, freezes, and events? This is
the tool for you. the tool for you.
- name: Meetbot - name: Meetbot
data: data:
icon: meetbot.png icon: meetbot.png
url: https://meetbot.fedoraproject.org url: https://meetbot.fedoraproject.org
source_url: https://github.com/fedora-infra/mote source_url: https://github.com/fedora-infra/mote
bugs_url: https://github.com/fedora-infra/mote/issues bugs_url: https://github.com/fedora-infra/mote/issues
docs_url: https://github.com/fedora-infra/mote/blob/master/README.md docs_url: https://github.com/fedora-infra/mote/blob/master/README.md
sops: sops:
- https://infrastructure.fedoraproject.org/infra/docs/mote.rst - https://infrastructure.fedoraproject.org/infra/docs/mote.rst
- https://infrastructure.fedoraproject.org/infra/docs/zodbot.rst - https://infrastructure.fedoraproject.org/infra/docs/zodbot.rst
status_mappings: ['zodbot'] status_mappings: [zodbot]
description: > description: >
Fedora Infrastructure runs a friendly IRC bot that you may Fedora Infrastructure runs a friendly IRC bot that you may
know named <a href="https://fedoraproject.org/wiki/Zodbot">zodbot</a>. know named <a href="https://fedoraproject.org/wiki/Zodbot">zodbot</a>.
Among its many and varied functions is logging IRC meetings, Among its many and varied functions is logging IRC meetings,
the archives of which you can find here. the archives of which you can find here.
- name: Packaging - name: Packaging
data: data:
description: > description: >
Tools for packagers -- where the pieces of the distribution get Tools for packagers -- where the pieces of the distribution get
built. built.
children: children:
- name: Packages - name: Packages
data: data:
url: https://packages.fedoraproject.org/ url: https://packages.fedoraproject.org/
package_url: https://apps.fedoraproject.org/packages/{package} package_url: https://apps.fedoraproject.org/packages/{package}
source_url: https://pagure.io/fedora-packages-static source_url: https://pagure.io/fedora-packages-static
bugs_url: https://pagure.io/fedora-packages-static/issues bugs_url: https://pagure.io/fedora-packages-static/issues
docs_url: http://threebean.org/blog/history-of-fedora-packages/ docs_url: http://threebean.org/blog/history-of-fedora-packages/
sops: sops:
- https://infrastructure.fedoraproject.org/infra/docs/fedorapackages.rst - https://infrastructure.fedoraproject.org/infra/docs/fedorapackages.rst
status_mappings: ['packages'] status_mappings: [packages]
description: > description: >
A meta-app over the other packaging apps; the best place to A meta-app over the other packaging apps; the best place to
find out what is in the Fedora repositories. Which find out what is in the Fedora repositories. Which
packages are present in which version, who is maintaining packages are present in which version, who is maintaining
@ -349,104 +336,101 @@ children:
reported against them. All these kind of questions can be reported against them. All these kind of questions can be
answered here. answered here.
It is sometimes called "Fedora Community v2" after the old It is sometimes called "Fedora Community v2" after the old
<a href="https://admin.fedoraproject.org/community">Fedora Community</a> site. <a href="https://admin.fedoraproject.org/community">Fedora Community</a>
- name: COPR site.
data: - name: COPR
icon: copr.png data:
url: https://copr.fedoraproject.org icon: copr.png
user_url: https://copr.fedoraproject.org/coprs/{user}/ url: https://copr.fedoraproject.org
source_url: https://github.com/fedora-copr/copr user_url: https://copr.fedoraproject.org/coprs/{user}/
bugs_url: > source_url: https://github.com/fedora-copr/copr
bugs_url: >
https://bugzilla.redhat.com/buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&bug_status=POST&bug_status=MODIFIED&bug_status=ON_DEV&bug_status=ON_QA&bug_status=VERIFIED&bug_status=RELEASE_PENDING&classification=Community&list_id=4767864&product=Copr&query_format=advanced https://bugzilla.redhat.com/buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&bug_status=POST&bug_status=MODIFIED&bug_status=ON_DEV&bug_status=ON_QA&bug_status=VERIFIED&bug_status=RELEASE_PENDING&classification=Community&list_id=4767864&product=Copr&query_format=advanced
docs_url: https://copr-backend.readthedocs.org/ docs_url: https://copr-backend.readthedocs.org/
# Also: # Also:
# - https://copr-keygen.readthedocs.org/ # - https://copr-keygen.readthedocs.org/
# - https://copr-rest-api.readthedocs.org/ # - https://copr-rest-api.readthedocs.org/
sops: sops: [https://infrastructure.fedoraproject.org/infra/docs/copr.rst]
- https://infrastructure.fedoraproject.org/infra/docs/copr.rst status_mappings: [copr]
status_mappings: ['copr'] description: >
description: >
Copr is an easy-to-use automatic build system providing a Copr is an easy-to-use automatic build system providing a
package repository as its output. You can make your **own** repositories! package repository as its output. You can make your **own** repositories!
- name: Koji - name: Koji
data: data:
icon: koji.png icon: koji.png
url: https://koji.fedoraproject.org/koji url: https://koji.fedoraproject.org/koji
package_url: > package_url: >
https://koji.fedoraproject.org/koji/search?match=glob&type=package&terms={package} https://koji.fedoraproject.org/koji/search?match=glob&type=package&terms={package}
user_url: https://koji.fedoraproject.org/koji/userinfo?userID={user} user_url: https://koji.fedoraproject.org/koji/userinfo?userID={user}
source_url: https://pagure.io/koji source_url: https://pagure.io/koji
bugs_url: https://pagure.io/koji/issues bugs_url: https://pagure.io/koji/issues
docs_url: https://koji.build/ docs_url: https://koji.build/
sops: sops:
- https://infrastructure.fedoraproject.org/infra/docs/koji.rst - https://infrastructure.fedoraproject.org/infra/docs/koji.rst
- https://infrastructure.fedoraproject.org/infra/docs/koji-builder-setup.rst - https://infrastructure.fedoraproject.org/infra/docs/koji-builder-setup.rst
status_mappings: ['koji'] status_mappings: [koji]
description: > description: >
Koji is the software that builds RPM packages for the Koji is the software that builds RPM packages for the
Fedora project. It uses Mock to create chroot Fedora project. It uses Mock to create chroot
environments to perform builds that are both safe and environments to perform builds that are both safe and
trusted. trusted.
- name: Bodhi - name: Bodhi
data: data:
icon: bodhi.png icon: bodhi.png
url: https://admin.fedoraproject.org/updates url: https://admin.fedoraproject.org/updates
package_url: https://admin.fedoraproject.org/updates/{package} package_url: https://admin.fedoraproject.org/updates/{package}
user_url: https://admin.fedoraproject.org/updates/user/{user} user_url: https://admin.fedoraproject.org/updates/user/{user}
source_url: https://github.com/fedora-infra/bodhi source_url: https://github.com/fedora-infra/bodhi
bugs_url: https://github.com/fedora-infra/bodhi/issues bugs_url: https://github.com/fedora-infra/bodhi/issues
docs_url: https://bodhi.fedoraproject.org/docs docs_url: https://bodhi.fedoraproject.org/docs
sops: sops: [https://infrastructure.fedoraproject.org/infra/docs/bodhi.rst]
- https://infrastructure.fedoraproject.org/infra/docs/bodhi.rst status_mappings: [bodhi]
status_mappings: ['bodhi'] description: >
description: >
The tool you will use to push your packages to the Fedora The tool you will use to push your packages to the Fedora
repositories as an update, first an update to be tested repositories as an update, first an update to be tested
(repository: updates-testing) then a stable update (repository: updates-testing) then a stable update
(repository: updates). Behold -- the <em>Magic (repository: updates). Behold -- the <em>Magic
Cabbage.</em> Cabbage.</em>
- name: Package Sources - name: Package Sources
data: data:
icon: package-sources.png icon: package-sources.png
url: https://src.fedoraproject.org/ url: https://src.fedoraproject.org/
package_url: https://src.fedoraproject.org/rpms/{package} package_url: https://src.fedoraproject.org/rpms/{package}
source_url: https://pagure.io/pagure source_url: https://pagure.io/pagure
bugs_url: https://pagure.io/pagure/issues bugs_url: https://pagure.io/pagure/issues
docs_url: https://pagure.io/docs/pagure/ docs_url: https://pagure.io/docs/pagure/
status_mappings: ['pkgs'] status_mappings: [pkgs]
description: > description: >
Ever wonder <em>exactly</em> what is in the new release Ever wonder <em>exactly</em> what is in the new release
of a Fedora package? This is where the change histories of a Fedora package? This is where the change histories
of all the packages in Fedora for every release of of all the packages in Fedora for every release of
Fedora (and EPEL) are kept.. forever! A gold mine. Fedora (and EPEL) are kept.. forever! A gold mine.
- name: Mdapi - name: Mdapi
data: data:
url: https://apps.fedoraproject.org/mdapi url: https://apps.fedoraproject.org/mdapi
description: > description: >
mdapi is a small API exposing the metadata contained in mdapi is a small API exposing the metadata contained in
different RPM repositories. different RPM repositories.
- name: Upstream - name: Upstream
data: data:
description: > description: >
Tools for <a Tools for <a
href="https://fedoraproject.org/wiki/Staying_close_to_upstream_projects">upstream</a> href="https://fedoraproject.org/wiki/Staying_close_to_upstream_projects">upstream</a>
developers -- because we love you. developers -- because we love you.
children: children:
- name: Release Monitoring - name: Release Monitoring
data: data:
url: https://release-monitoring.org url: https://release-monitoring.org
package_url: https://release-monitoring.org/projects/search/?pattern={package} package_url: https://release-monitoring.org/projects/search/?pattern={package}
source_url: https://github.com/fedora-infra/anitya source_url: https://github.com/fedora-infra/anitya
bugs_url: https://github.com/fedora-infra/anitya/issues bugs_url: https://github.com/fedora-infra/anitya/issues
docs_url: https://fedoraproject.org/wiki/Upstream_release_monitoring docs_url: https://fedoraproject.org/wiki/Upstream_release_monitoring
# TODO - write sops for anitya and the-new-hotness # TODO - write sops for anitya and the-new-hotness
# https://pagure.io/fedora-infrastructure/issue/5157 # https://pagure.io/fedora-infrastructure/issue/5157
# sops: # sops:
# - https://infrastructure.fedoraproject.org/infra/docs/anitya.rst # - https://infrastructure.fedoraproject.org/infra/docs/anitya.rst
# - https://infrastructure.fedoraproject.org/infra/docs/hotness.rst # - https://infrastructure.fedoraproject.org/infra/docs/hotness.rst
description: > description: >
Code named <a Code named <a
href="https://github.com/fedora-infra/anitya">anitya</a>, this href="https://github.com/fedora-infra/anitya">anitya</a>, this
project is slated to replace <a project is slated to replace <a
@ -457,95 +441,92 @@ children:
then be responsible for filing bugs, attempting to then be responsible for filing bugs, attempting to
automatically build packages, perform some preliminary QA automatically build packages, perform some preliminary QA
checks, etc.. checks, etc..
- name: Webhook to Fedora Messaging - name: Webhook to Fedora Messaging
data: data:
url: https://webhook.fedoraproject.org/ url: https://webhook.fedoraproject.org/
source_url: https://github.com/fedora-infra/webhook-to-fedora-messaging source_url: https://github.com/fedora-infra/webhook-to-fedora-messaging
bugs_url: https://github.com/fedora-infra/webhook-to-fedora-messaging/issues bugs_url: https://github.com/fedora-infra/webhook-to-fedora-messaging/issues
docs_url: > docs_url: >
https://github.com/fedora-infra/webhook-to-fedora-messaging/ https://github.com/fedora-infra/webhook-to-fedora-messaging/
sops: sops:
- https://docs.fedoraproject.org/en-US/infra/sysadmin_guide/webhook2fedmsg/ - https://docs.fedoraproject.org/en-US/infra/sysadmin_guide/webhook2fedmsg/
description: > description: >
Webhook to Fedora Messaging is a web service that bridges upstream Webhook to Fedora Messaging is a web service that bridges upstream
activity into the <a href="https://fedora-messaging.readthedocs.io/" activity into the <a href="https://fedora-messaging.readthedocs.io/"
>Fedora Infrastructure message bus</a>. Visit the self-service >Fedora Infrastructure message bus</a>. Visit the self-service
dashboard to add your application. dashboard to add your application.
- name: Pagure - name: Pagure
data: data:
icon: pagure.png icon: pagure.png
url: https://pagure.io/ url: https://pagure.io/
status_mappings: ['pagure'] status_mappings: [pagure]
description: > description: >
Pagure is a git-centered forge, python based using pygit2. Pagure is a git-centered forge, python based using pygit2.
With pagure you can host your project with its documentation, With pagure you can host your project with its documentation,
let your users report issues or request enhancements using let your users report issues or request enhancements using
the ticketing system and build your community of contributors the ticketing system and build your community of contributors
by allowing them to fork your projects and contribute to it by allowing them to fork your projects and contribute to it
via the now-popular pull-request mechanism. via the now-popular pull-request mechanism.
- name: Infrastructure - name: Infrastructure
data: data:
description: > description: >
Tools for sysadmins -- the people who run the servers that run Tools for sysadmins -- the people who run the servers that run
Fedora (and otherwise). Fedora (and otherwise).
children: children:
- name: GeoIP - name: GeoIP
data: data:
url: https://geoip.fedoraproject.org url: https://geoip.fedoraproject.org
source_url: https://github.com/fedora-infra/geoip-city-wsgi source_url: https://github.com/fedora-infra/geoip-city-wsgi
bugs_url: https://github.com/fedora-infra/geoip-city-wsgi/issues bugs_url: https://github.com/fedora-infra/geoip-city-wsgi/issues
docs_url: https://github.com/fedora-infra/geoip-city-wsgi/blob/master/geoip-city.wsgi docs_url: https://github.com/fedora-infra/geoip-city-wsgi/blob/master/geoip-city.wsgi
# TODO - write a sop for this thing # TODO - write a sop for this thing
# https://pagure.io/fedora-infrastructure/issue/5159 # https://pagure.io/fedora-infrastructure/issue/5159
# sops: # sops:
# - https://infrastructure.fedoraproject.org/infra/docs/geoip.rst # - https://infrastructure.fedoraproject.org/infra/docs/geoip.rst
description: > description: >
A simple web service running <a A simple web service running <a
href="https://github.com/fedora-infra/geoip-city-wsgi">geoip-city-wsgi</a> href="https://github.com/fedora-infra/geoip-city-wsgi">geoip-city-wsgi</a>
that will return geoip information to you. that will return geoip information to you.
- name: Easyfix - name: Easyfix
data: data:
url: https://fedoraproject.org/easyfix url: https://fedoraproject.org/easyfix
source_url: https://github.com/fedora-infra/fedora-gather-easyfix source_url: https://github.com/fedora-infra/fedora-gather-easyfix
bugs_url: https://github.com/fedora-infra/fedora-gather-easyfix/issues bugs_url: https://github.com/fedora-infra/fedora-gather-easyfix/issues
docs_url: https://github.com/fedora-infra/fedora-gather-easyfix/blob/master/README docs_url: https://github.com/fedora-infra/fedora-gather-easyfix/blob/master/README
sops: sops:
- https://infrastructure.fedoraproject.org/infra/docs/gather-easyfix.rst - https://infrastructure.fedoraproject.org/infra/docs/gather-easyfix.rst
description: > description: >
A list of easy-to-fix problems for the different projects in A list of easy-to-fix problems for the different projects in
Fedora. Interested in getting into helping out with sysadmin Fedora. Interested in getting into helping out with sysadmin
work or web application development? This should be useful work or web application development? This should be useful
to you. to you.
- name: DataGrepper - name: DataGrepper
data: data:
icon: fedmsg.png icon: fedmsg.png
url: https://apps.fedoraproject.org/datagrepper url: https://apps.fedoraproject.org/datagrepper
package_url: https://apps.fedoraproject.org/datagrepper/raw?package={package} package_url: https://apps.fedoraproject.org/datagrepper/raw?package={package}
user_url: https://apps.fedoraproject.org/datagrepper/raw?user={user} user_url: https://apps.fedoraproject.org/datagrepper/raw?user={user}
source_url: https://github.com/fedora-infra/datagrepper source_url: https://github.com/fedora-infra/datagrepper
bugs_url: https://github.com/fedora-infra/datagrepper/issues bugs_url: https://github.com/fedora-infra/datagrepper/issues
docs_url: https://github.com/fedora-infra/datagrepper/blob/develop/README.rst docs_url: https://github.com/fedora-infra/datagrepper/blob/develop/README.rst
sops: sops: [https://infrastructure.fedoraproject.org/infra/docs/datanommer.rst]
- https://infrastructure.fedoraproject.org/infra/docs/datanommer.rst status_mappings: [fedmsg]
status_mappings: ['fedmsg'] description: >
description: >
DataGrepper is an HTTP API for querying the datanommer DataGrepper is an HTTP API for querying the datanommer
database. You can use it to dig into the history of the database. You can use it to dig into the history of the
<a href="https://fedmsg.readthedocs.io/">fedmsg</a> message bus. You <a href="https://fedmsg.readthedocs.io/">fedmsg</a> message bus. You
can grab events by username, by package, by message can grab events by username, by package, by message
source, by topic... you name it. source, by topic... you name it.
- name: Status
- name: Status data:
data: icon: status-good.png
icon: status-good.png url: http://www.fedorastatus.org
url: http://www.fedorastatus.org source_url: https://github.com/fedora-infra/statusfpo/
source_url: https://github.com/fedora-infra/statusfpo/ bugs_url: https://github.com/fedora-infra/statusfpo/issues
bugs_url: https://github.com/fedora-infra/statusfpo/issues docs_url: https://github.com/fedora-infra/statusfpo/README
docs_url: https://github.com/fedora-infra/statusfpo/README sops:
sops: - https://infrastructure.fedoraproject.org/infra/docs/status-fedora.rst
- https://infrastructure.fedoraproject.org/infra/docs/status-fedora.rst description: >
description: >
Sometimes the Fedora Infrastructure team messes up (or Sometimes the Fedora Infrastructure team messes up (or
lightning strikes our datacenter(s)). Sorry about that. lightning strikes our datacenter(s)). Sorry about that.
You can use this website to check the status. Is it You can use this website to check the status. Is it
@ -553,20 +534,20 @@ children:
in your browser tab. It changes based on the status, in your browser tab. It changes based on the status,
so if you keep this open you can check back to it at a so if you keep this open you can check back to it at a
glance. glance.
- name: MirrorManager - name: MirrorManager
data: data:
icon: downloads.png icon: downloads.png
url: https://mirrors.fedoraproject.org url: https://mirrors.fedoraproject.org
source_url: https://github.com/fedora-infra/mirrormanager2 source_url: https://github.com/fedora-infra/mirrormanager2
bugs_url: https://github.com/fedora-infra/mirrormanager2/issues bugs_url: https://github.com/fedora-infra/mirrormanager2/issues
docs_url: https://mirrormanager.readthedocs.org/en/latest/ docs_url: https://mirrormanager.readthedocs.org/en/latest/
sops: sops:
- https://infrastructure.fedoraproject.org/infra/docs/mirrormanager.rst - https://infrastructure.fedoraproject.org/infra/docs/mirrormanager.rst
- https://infrastructure.fedoraproject.org/infra/docs/mastermirror.rst - https://infrastructure.fedoraproject.org/infra/docs/mastermirror.rst
- https://infrastructure.fedoraproject.org/infra/docs/mirrorhiding.rst - https://infrastructure.fedoraproject.org/infra/docs/mirrorhiding.rst
- https://infrastructure.fedoraproject.org/infra/docs/mirrormanager-S3-EC2-netblocks.rst - https://infrastructure.fedoraproject.org/infra/docs/mirrormanager-S3-EC2-netblocks.rst
status_mappings: ['mirrormanager', 'mirrorlist'] status_mappings: [mirrormanager, mirrorlist]
description: > description: >
Fedora is distributed to millions of systems globally. Fedora is distributed to millions of systems globally.
This would not be possible without the donations of time, This would not be possible without the donations of time,
disk space, and bandwidth by hundreds of volunteer system disk space, and bandwidth by hundreds of volunteer system
@ -575,57 +556,54 @@ children:
donations. The list on the <strong>MirrorManager</strong> donations. The list on the <strong>MirrorManager</strong>
site is dynamically generated every hour, listing only site is dynamically generated every hour, listing only
up-to-date mirrors. up-to-date mirrors.
- name: Nagios - name: Nagios
data: data:
icon: nagios-logo.png icon: nagios-logo.png
url: https://admin.fedoraproject.org/nagios url: https://admin.fedoraproject.org/nagios
source_url: https://github.com/NagiosEnterprises/nagioscore source_url: https://github.com/NagiosEnterprises/nagioscore
bugs_url: https://pagure.io/fedora-infrastructure/issues bugs_url: https://pagure.io/fedora-infrastructure/issues
docs_url: https://www.nagios.org/documentation/ docs_url: https://www.nagios.org/documentation/
sops: sops: [https://infrastructure.fedoraproject.org/infra/docs/nagios.rst]
- https://infrastructure.fedoraproject.org/infra/docs/nagios.rst description: >
description: >
"Is telia down?" The answer can most definitively be "Is telia down?" The answer can most definitively be
found here (and in detail). The Fedora Infrastructure found here (and in detail). The Fedora Infrastructure
team uses Nagios to monitor the servers that serve team uses Nagios to monitor the servers that serve
Fedora. Accessing most details requires membership Fedora. Accessing most details requires membership
in the <em>sysadmin</em> group. in the <em>sysadmin</em> group.
- name: Collectd - name: Collectd
data: data:
icon: collectd.png icon: collectd.png
url: https://admin.fedoraproject.org/collectd/ url: https://admin.fedoraproject.org/collectd/
source_url: https://github.com/collectd/collectd source_url: https://github.com/collectd/collectd
bugs_url: https://github.com/collectd/collectd/issues bugs_url: https://github.com/collectd/collectd/issues
docs_url: https://collectd.org/documentation.shtml docs_url: https://collectd.org/documentation.shtml
sops: sops: [https://infrastructure.fedoraproject.org/infra/docs/collectd.rst]
- https://infrastructure.fedoraproject.org/infra/docs/collectd.rst description: >
description: >
Tracks and displays statistics on the Fedora Tracks and displays statistics on the Fedora
Infrastructure machines over time. Useful for debugging Infrastructure machines over time. Useful for debugging
ineffeciencies and problems. ineffeciencies and problems.
- name: HAProxy - name: HAProxy
data: data:
url: https://admin.fedoraproject.org/haproxy/proxy1 url: https://admin.fedoraproject.org/haproxy/proxy1
source_url: https://git.haproxy.org/ source_url: https://git.haproxy.org/
bugs_url: https://www.haproxy.org/knownbugs-1.3.html bugs_url: https://www.haproxy.org/knownbugs-1.3.html
docs_url: https://www.haproxy.org/#docs docs_url: https://www.haproxy.org/#docs
sops: sops: [https://infrastructure.fedoraproject.org/infra/docs/haproxy.rst]
- https://infrastructure.fedoraproject.org/infra/docs/haproxy.rst description: >
description: >
Shows the health of our proxies. How many bytes? Shows the health of our proxies. How many bytes?
Concurrent sessions? Health checks? Concurrent sessions? Health checks?
- name: In Development - name: In Development
data: data:
description: > description: >
These are the apps that we're working on, but that aren't quite These are the apps that we're working on, but that aren't quite
ready for prime-time yet. Try and use them, and report bugs when ready for prime-time yet. Try and use them, and report bugs when
they're broken -- it's a big help!. they're broken -- it's a big help!.
Check back here from time to time, as this section will change. Check back here from time to time, as this section will change.
children: children:
- name: Ipsilon - name: Ipsilon
data: data:
url: https://pagure.io/ipsilon url: https://pagure.io/ipsilon
description: > description: >-
Ipsilon is our central authentication agent that is used to Ipsilon is our central authentication agent that is used to
authenticate users agains FAS. It is seperate from FAS. The authenticate users agains FAS. It is seperate from FAS. The
only service that is not using this currently is the wiki. only service that is not using this currently is the wiki.

View file

@ -1,3 +1,4 @@
---
- name: rebuild apps-fp-o html - name: rebuild apps-fp-o html
shell: /usr/bin/apps-fp-o-yaml2html.py > /srv/web/apps-fp-o/apps-yaml.html shell: /usr/bin/apps-fp-o-yaml2html.py > /srv/web/apps-fp-o/apps-yaml.html

View file

@ -1,3 +1,4 @@
---
- name: Install that apps-fp-o rpm package - name: Install that apps-fp-o rpm package
package: name=apps-fp-o state=present package: name=apps-fp-o state=present
tags: tags:

View file

@ -10,7 +10,7 @@
ansible.builtin.file: ansible.builtin.file:
path: "~{{ podman_user }}/.config/containers" path: "~{{ podman_user }}/.config/containers"
state: directory state: directory
mode: 0700 mode: "0700"
owner: "{{ podman_user }}" owner: "{{ podman_user }}"
group: "{{ podman_group }}" group: "{{ podman_group }}"
@ -23,7 +23,7 @@
dest: "~{{ podman_user }}/.config/containers/containers.conf" dest: "~{{ podman_user }}/.config/containers/containers.conf"
owner: "{{ podman_user }}" owner: "{{ podman_user }}"
group: "{{ podman_group }}" group: "{{ podman_group }}"
mode: 0600 mode: "0600"
- name: Create empty mounts config file to avoid permissions error message - name: Create empty mounts config file to avoid permissions error message
ansible.builtin.copy: ansible.builtin.copy:
@ -32,17 +32,17 @@
force: false force: false
owner: "{{ podman_user }}" owner: "{{ podman_user }}"
group: "{{ podman_group }}" group: "{{ podman_group }}"
mode: 0600 mode: "0600"
- name: Ensure registries.conf.d exists - name: Ensure registries.conf.d exists
ansible.builtin.file: ansible.builtin.file:
path: /etc/containers/registries.conf.d/ path: /etc/containers/registries.conf.d/
state: directory state: directory
mode: 0755 mode: "0755"
- name: Force fully qualified image names to be provided to podman pull - name: Force fully qualified image names to be provided to podman pull
ansible.builtin.copy: ansible.builtin.copy:
content: | content: |
unqualified-search-registries = [] unqualified-search-registries = []
dest: /etc/containers/registries.conf.d/force-fully-qualified-images.conf dest: /etc/containers/registries.conf.d/force-fully-qualified-images.conf
mode: 0644 mode: "0644"

View file

@ -1,6 +1,6 @@
--- ---
dependencies: dependencies:
- { role: linux-system-roles.network, when: "'no_linux_system_roles' not in group_names", tags: ['linux-system-roles.network'] } - { role: linux-system-roles.network, when: "'no_linux_system_roles' not in group_names", tags: ['linux-system-roles.network'] }
- { role: basessh, tags: ['basessh'] } - { role: basessh, tags: ['basessh'] }
- { role: chrony } - { role: chrony }
- { role: dnf-automatic, tags: ['dnf-automatic'] } - { role: dnf-automatic, tags: ['dnf-automatic'] }

View file

@ -1,3 +1,4 @@
---
- name: Check current crypto-policy - name: Check current crypto-policy
command: "update-crypto-policies --show" command: "update-crypto-policies --show"
register: currentcryptopolicy register: currentcryptopolicy

View file

@ -1,3 +1,4 @@
---
- name: /etc/postfix/main.cf - name: /etc/postfix/main.cf
copy: src={{ item }} dest=/etc/postfix/main.cf copy: src={{ item }} dest=/etc/postfix/main.cf
with_first_found: with_first_found:

View file

@ -1,3 +1,4 @@
---
- name: See if theres a watchdog device - name: See if theres a watchdog device
stat: path=/dev/watchdog stat: path=/dev/watchdog
when: ansible_virtualization_role is defined and ansible_virtualization_role == 'guest' when: ansible_virtualization_role is defined and ansible_virtualization_role == 'guest'

View file

@ -7,20 +7,20 @@
- name: make sure there is no old ssh host key for the host still around - name: make sure there is no old ssh host key for the host still around
local_action: known_hosts path={{item}} host={{ inventory_hostname }} state=absent local_action: known_hosts path={{item}} host={{ inventory_hostname }} state=absent
ignore_errors: True ignore_errors: true
with_items: with_items:
- /root/.ssh/known_hosts - /root/.ssh/known_hosts
when: birthday is defined when: birthday is defined
- name: gather ssh host key from new instance - name: gather ssh host key from new instance
local_action: command ssh-keyscan -t rsa {{ inventory_hostname }} local_action: command ssh-keyscan -t rsa {{ inventory_hostname }}
ignore_errors: True ignore_errors: true
register: hostkey register: hostkey
when: birthday is defined when: birthday is defined
- name: add new ssh host key (until we can sign it) - name: add new ssh host key (until we can sign it)
local_action: known_hosts path={{item}} key="{{ hostkey.stdout }}" host={{ inventory_hostname }} state=present local_action: known_hosts path={{item}} key="{{ hostkey.stdout }}" host={{ inventory_hostname }} state=present
ignore_errors: True ignore_errors: true
with_items: with_items:
- /root/.ssh/known_hosts - /root/.ssh/known_hosts
when: birthday is defined when: birthday is defined
@ -163,7 +163,7 @@
state=directory state=directory
delegate_to: localhost delegate_to: localhost
run_once: true run_once: true
changed_when: False changed_when: false
tags: tags:
- basessh - basessh
- sshd_cert - sshd_cert
@ -249,6 +249,6 @@
- name: make sure there is no old ssh host key for the host still around - name: make sure there is no old ssh host key for the host still around
local_action: known_hosts path={{item}} host={{ inventory_hostname }} state=absent local_action: known_hosts path={{item}} host={{ inventory_hostname }} state=absent
ignore_errors: True ignore_errors: true
with_items: with_items:
- /root/.ssh/known_hosts - /root/.ssh/known_hosts

View file

@ -6,6 +6,7 @@
# make directory for nfs mounts to live in # make directory for nfs mounts to live in
# #
---
- name: create /srv/web/pub for nfs mounts - name: create /srv/web/pub for nfs mounts
file: dest=/srv/web/pub state=directory mode=0755 file: dest=/srv/web/pub state=directory mode=0755
tags: tags:
@ -38,7 +39,7 @@
- fedora-messaging # To send/receive messages on the amqp bus - fedora-messaging # To send/receive messages on the amqp bus
- ansible-freeipa # For the IPA server configuration tasks - ansible-freeipa # For the IPA server configuration tasks
- moreutils # needed for pee command for dns repo hook - moreutils # needed for pee command for dns repo hook
#- python39-jmespath # for the copr playbooks # - python39-jmespath # for the copr playbooks
- rhel-system-roles # for networking - rhel-system-roles # for networking
- python3-requests-kerberos # for authentication via kinit inside ansible - python3-requests-kerberos # for authentication via kinit inside ansible
tags: tags:
@ -94,7 +95,7 @@
copy: copy:
src: make-rabbitmq-certs-public.sh src: make-rabbitmq-certs-public.sh
dest: /etc/cron.daily/make-rabbitmq-certs-public dest: /etc/cron.daily/make-rabbitmq-certs-public
mode: 0755 mode: "0755"
tags: tags:
- batcave - batcave
- config - config
@ -404,7 +405,7 @@
template: template:
src: geoip-download-databases src: geoip-download-databases
dest: /usr/local/bin/geoip-download-databases dest: /usr/local/bin/geoip-download-databases
mode: 0700 mode: "0700"
tags: tags:
- batcave - batcave
- config - config
@ -413,7 +414,7 @@
copy: copy:
src: geoip-download-databases.cron src: geoip-download-databases.cron
dest: /etc/cron.d/geoip-download-databases.cron dest: /etc/cron.d/geoip-download-databases.cron
mode: 0644 mode: "0644"
tags: tags:
- batcave - batcave
- config - config

View file

@ -63,7 +63,7 @@
template: template:
src: bkernel-site-defaults.cfg src: bkernel-site-defaults.cfg
dest: /etc/mock/site-defaults.cfg dest: /etc/mock/site-defaults.cfg
mode: 0644 mode: "0644"
owner: root owner: root
group: mock group: mock
tags: tags:

View file

@ -30,10 +30,10 @@
- name: create the `blockerbugs` user - name: create the `blockerbugs` user
user: user:
name: blockerbugs name: blockerbugs
group: blockerbugs group: blockerbugs
shell: /bin/nologin shell: /bin/nologin
home: /usr/share/blockerbugs home: /usr/share/blockerbugs
tags: tags:
- blockerbugs - blockerbugs
- config - config

View file

@ -131,7 +131,7 @@
- -c - -c
- "from sys import version_info as vi; print(f'{vi[0]}.{vi[1]}')" - "from sys import version_info as vi; print(f'{vi[0]}.{vi[1]}')"
register: _python3_version_result register: _python3_version_result
changed_when: False changed_when: false
- name: Set Python version fact - name: Set Python version fact
set_fact: set_fact:

View file

@ -12,7 +12,7 @@
path: /etc/systemd/system/btrfs-balance.timer.d path: /etc/systemd/system/btrfs-balance.timer.d
owner: root owner: root
group: root group: root
mode: 0755 mode: "0755"
- name: Configure btrfs-balance timer - name: Configure btrfs-balance timer
@ -21,7 +21,7 @@
dest: /etc/systemd/system/btrfs-balance.timer.d/schedule.conf dest: /etc/systemd/system/btrfs-balance.timer.d/schedule.conf
owner: root owner: root
group: root group: root
mode: 0644 mode: "0644"
notify: notify:
- reload systemd - reload systemd
- restart btrfs-balance - restart btrfs-balance

View file

@ -1,3 +1,4 @@
---
- name: add builder infra yum repo - name: add builder infra yum repo
file: dest=/etc/yum.repos.d/builder-infrastructure.repo state=absent file: dest=/etc/yum.repos.d/builder-infrastructure.repo state=absent
tags: tags:

View file

@ -5,7 +5,7 @@
state: directory state: directory
owner: root owner: root
group: root group: root
mode: 0750 mode: "0750"
- name: Acquire a keytab for staging - name: Acquire a keytab for staging
include_role: include_role:

View file

@ -43,6 +43,6 @@
when: inventory_hostname.startswith('batcave') when: inventory_hostname.startswith('batcave')
tags: cgit tags: cgit
#- name: install the libravatar filter # - name: install the libravatar filter
# copy: src=email-libravatar-korg.lua dest=/usr/libexec/cgit/filters/email-libravatar-korg.lua owner=root group=root mode=0755 # copy: src=email-libravatar-korg.lua dest=/usr/libexec/cgit/filters/email-libravatar-korg.lua owner=root group=root mode=0755
# tags: cgit # tags: cgit

View file

@ -1,3 +1,4 @@
---
checkcompose_prod: false checkcompose_prod: false
checkcompose_amqp_passive: false checkcompose_amqp_passive: false
checkcompose_amqp_url: "amqps://fedora:@rabbitmq.fedoraproject.org/%2Fpublic_pubsub" checkcompose_amqp_url: "amqps://fedora:@rabbitmq.fedoraproject.org/%2Fpublic_pubsub"

View file

@ -1,4 +1,5 @@
# Restart handler for our fedora-messaging consumer # Restart handler for our fedora-messaging consumer
---
- name: Conditionally restart check-compose consumer service - name: Conditionally restart check-compose consumer service
command: /usr/local/bin/conditional-restart.sh fm-consumer@check-compose command: /usr/local/bin/conditional-restart.sh fm-consumer@check-compose
listen: listen:

View file

@ -101,13 +101,14 @@
# by openqa/dispatcher role; ideally we should factor this out into a # by openqa/dispatcher role; ideally we should factor this out into a
# shared task or something. # shared task or something.
#- name: Install required packages (testing) # - name: Install required packages (testing)
# dnf: name={{ item }} state=present enablerepo="updates-testing" # dnf: name={{ item }} state=present enablerepo="updates-testing"
# with_items: # with_items:
# - python3-fedfind # - python3-fedfind
# tags: # tags:
# - packages # - packages
---
- name: Install required packages - name: Install required packages
package: package:
name: ['fedora-messaging', 'python3-fedfind', 'python3-openqa_client', 'python3-pip', name: ['fedora-messaging', 'python3-fedfind', 'python3-openqa_client', 'python3-pip',
@ -138,7 +139,7 @@
- name: Create /etc/pki/fedora-messaging - name: Create /etc/pki/fedora-messaging
file: file:
dest: /etc/pki/fedora-messaging dest: /etc/pki/fedora-messaging
mode: 0775 mode: "0775"
owner: root owner: root
group: root group: root
state: directory state: directory
@ -153,7 +154,7 @@
copy: copy:
src: "{{ private }}/files/rabbitmq/{{ checkcompose_env }}/pki/issued/{{ openqa_amqp_this_username }}.crt" src: "{{ private }}/files/rabbitmq/{{ checkcompose_env }}/pki/issued/{{ openqa_amqp_this_username }}.crt"
dest: "/etc/pki/fedora-messaging/{{ openqa_amqp_this_username }}-cert.pem" dest: "/etc/pki/fedora-messaging/{{ openqa_amqp_this_username }}-cert.pem"
mode: 0644 mode: "0644"
owner: root owner: root
group: root group: root
when: "deployment_type is defined" when: "deployment_type is defined"
@ -168,7 +169,7 @@
copy: copy:
src: "{{ private }}/files/rabbitmq/{{ checkcompose_env }}/pki/private/{{ openqa_amqp_this_username }}.key" src: "{{ private }}/files/rabbitmq/{{ checkcompose_env }}/pki/private/{{ openqa_amqp_this_username }}.key"
dest: "/etc/pki/fedora-messaging/{{ openqa_amqp_this_username }}-key.pem" dest: "/etc/pki/fedora-messaging/{{ openqa_amqp_this_username }}-key.pem"
mode: 0640 mode: "0640"
owner: root owner: root
group: geekotest group: geekotest
when: "deployment_type is defined" when: "deployment_type is defined"

View file

@ -1,3 +1,4 @@
---
- name: install chrony - name: install chrony
package: name=chrony state=present package: name=chrony state=present
tags: tags:

View file

@ -1,3 +1,4 @@
---
- name: Install the cloud-image-stat script - name: Install the cloud-image-stat script
copy: > copy: >
src=cloud-image-stat.py dest=/usr/local/bin/cloud-image-stat.py src=cloud-image-stat.py dest=/usr/local/bin/cloud-image-stat.py

View file

@ -1,8 +1,7 @@
# collectd client setup # collectd client setup
# install pkg # install pkg
---
- name: install collectd - name: install collectd
package: name=collectd state=present package: name=collectd state=present
tags: tags:
@ -106,7 +105,7 @@
seboolean: name=collectd_tcp_network_connect state=yes persistent=yes seboolean: name=collectd_tcp_network_connect state=yes persistent=yes
tags: tags:
- collectd - collectd
ignore_errors: True ignore_errors: true
notify: notify:
- restart collectd - restart collectd
when: ( collectd_apache is defined ) and ansible_selinux.status != "disabled" when: ( collectd_apache is defined ) and ansible_selinux.status != "disabled"
@ -182,8 +181,6 @@
- collectd - collectd
- selinux - selinux
# each of the below should move to a separate task list # each of the below should move to a separate task list
# since they are odd-balls and one-offs # since they are odd-balls and one-offs

View file

@ -1,3 +1,4 @@
---
- name: Copy in /usr/local/bin/fedmsg-map - name: Copy in /usr/local/bin/fedmsg-map
copy: src=fedmsg-map.py dest=/usr/local/bin/fedmsg-map mode=0755 copy: src=fedmsg-map.py dest=/usr/local/bin/fedmsg-map mode=0755
tags: tags:

View file

@ -1,2 +1,3 @@
---
user: fedmsg user: fedmsg
process: fedmsg-hub process: fedmsg-hub

View file

@ -1,3 +1,4 @@
---
- name: install collectd-rabbitmq - name: install collectd-rabbitmq
package: package:
state: present state: present
@ -20,7 +21,7 @@
dest: "/etc/collectd.d/rabbitmq.conf" dest: "/etc/collectd.d/rabbitmq.conf"
owner: root owner: root
group: root group: root
mode: 0640 mode: "0640"
tags: tags:
- collectd - collectd
- config - config

View file

@ -21,4 +21,4 @@
seboolean: name=collectd_tcp_network_connect state=yes persistent=yes seboolean: name=collectd_tcp_network_connect state=yes persistent=yes
tags: tags:
- collectd - collectd
ignore_errors: True ignore_errors: true

View file

@ -1,7 +1,7 @@
---
communishift_efs_access_key: "OVERRIDEME" communishift_efs_access_key: "OVERRIDEME"
communishift_efs_secret_key: "OVERRIDEME" communishift_efs_secret_key: "OVERRIDEME"
communishift_project_name: "OVERRIDEME" communishift_project_name: "OVERRIDEME"
communishift_region: "OVERRIDEME" communishift_region: "OVERRIDEME"
communishift_subnet_id: "OVERRIDEME" communishift_subnet_id: "OVERRIDEME"
communishift_security_group: "OVERRIDEME" communishift_security_group: "OVERRIDEME"

View file

@ -1,3 +1,3 @@
--- ---
#- include_tasks: retrieve-communishift-admin-data.yml # - include_tasks: retrieve-communishift-admin-data.yml
- include_tasks: send-tenant-deletion-notifications.yml - include_tasks: send-tenant-deletion-notifications.yml

View file

@ -1,3 +1,4 @@
---
- name: install enable-swap.service - name: install enable-swap.service
copy: copy:
src: files/enable-swap.service src: files/enable-swap.service

View file

@ -96,7 +96,7 @@
--run-command "chcon -v -R -h system_u:object_r:ssh_home_t:s0 /root/.ssh" ) --run-command "chcon -v -R -h system_u:object_r:ssh_home_t:s0 /root/.ssh" )
EIMG_DOUBLECHECK_WAITING_FOR_IPV4=true EIMG_DOUBLECHECK_WAITING_FOR_IPV4=true
dest: /etc/eimg/eimg.sh dest: /etc/eimg/eimg.sh
mode: 0644 mode: "0644"
- stat: path={{ private_key_file }} - stat: path={{ private_key_file }}
register: key_stat register: key_stat

View file

@ -209,7 +209,7 @@
- name: run /bin/copr-update-builder from copr-builder package - name: run /bin/copr-update-builder from copr-builder package
shell: /usr/bin/copr-update-builder shell: /usr/bin/copr-update-builder
#- name: install the latest mock and mock-core-configs from updates-testing # - name: install the latest mock and mock-core-configs from updates-testing
# package: state=latest name={{ packages }} # package: state=latest name={{ packages }}
# register: mock_updated # register: mock_updated
# vars: # vars:
@ -259,7 +259,7 @@
dest: /etc/security/limits.d/50-copr-fds.conf dest: /etc/security/limits.d/50-copr-fds.conf
owner: root owner: root
group: root group: root
mode: 0644 mode: "0644"
when: when:
- preparing_image - preparing_image

View file

@ -1,3 +1,4 @@
---
- name: chmod_key - name: chmod_key
file: path=/etc/lighttpd/copr-be.fedoraproject.org.pem owner=root group=root mode=0600 file: path=/etc/lighttpd/copr-be.fedoraproject.org.pem owner=root group=root mode=0600

View file

@ -35,7 +35,7 @@
src: "{{ ping_script }}.j2" src: "{{ ping_script }}.j2"
owner: "{{ ping_user }}" owner: "{{ ping_user }}"
group: "{{ ping_user }}" group: "{{ ping_user }}"
mode: 0700 mode: "0700"
tags: copr_ping tags: copr_ping
- name: install the check script - name: install the check script
@ -44,7 +44,7 @@
src: "copr-ping-check.py.j2" src: "copr-ping-check.py.j2"
owner: "{{ ping_user }}" owner: "{{ ping_user }}"
group: "nagios" group: "nagios"
mode: 0750 mode: "0750"
tags: copr_ping tags: copr_ping
- name: selinux - allow nrpe_t to read ping_log - name: selinux - allow nrpe_t to read ping_log
@ -65,7 +65,7 @@
path: "{{ ping_homedir }}/.config" path: "{{ ping_homedir }}/.config"
owner: "{{ ping_user }}" owner: "{{ ping_user }}"
group: "{{ ping_user }}" group: "{{ ping_user }}"
mode: 0755 mode: "0755"
state: directory state: directory
tags: copr_ping tags: copr_ping
@ -78,7 +78,7 @@
token = {{ copr_ping_bot_token }} token = {{ copr_ping_bot_token }}
copr_url = https://copr.fedorainfracloud.org copr_url = https://copr.fedorainfracloud.org
dest: "{{ ping_homedir }}/.config/copr" dest: "{{ ping_homedir }}/.config/copr"
mode: 0600 mode: "0600"
owner: "{{ ping_user }}" owner: "{{ ping_user }}"
group: "{{ ping_user }}" group: "{{ ping_user }}"
tags: copr_ping tags: copr_ping

View file

@ -1,3 +1,4 @@
---
- name: copy .pem - name: copy .pem
copy: src=../../files/fedora-cloud/fed-cloud09.pem dest=/etc/pki/ca-trust/source/anchors/ copy: src=../../files/fedora-cloud/fed-cloud09.pem dest=/etc/pki/ca-trust/source/anchors/
register: cloud_pem_copied register: cloud_pem_copied

View file

@ -34,7 +34,7 @@
tags: tags:
- packages - packages
#- name: patch for prunerepo, issue 1090 # - name: patch for prunerepo, issue 1090
# patch: src=patches/prunerepo-dataloss.patch # patch: src=patches/prunerepo-dataloss.patch
# dest=/usr/bin/prunerepo # dest=/usr/bin/prunerepo
# tags: patches # tags: patches
@ -64,7 +64,7 @@
dest: /home/copr/.ssh/config dest: /home/copr/.ssh/config
owner: copr owner: copr
group: copr group: copr
mode: 0600 mode: "0600"
tags: tags:
- backend_to_hv_ssh_config - backend_to_hv_ssh_config
- provision_config - provision_config
@ -85,7 +85,7 @@
- name: auth_key so we can login to localhost as the copr user from the copr user - name: auth_key so we can login to localhost as the copr user from the copr user
authorized_key: user=copr key="{{ item }}" authorized_key: user=copr key="{{ item }}"
no_log: True no_log: true
with_file: with_file:
- "provision/files/buildsys.pub" - "provision/files/buildsys.pub"
@ -139,13 +139,13 @@
src: cgi-resalloc src: cgi-resalloc
dest: /var/www/ dest: /var/www/
setype: httpd_sys_script_exec_t setype: httpd_sys_script_exec_t
mode: 0755 mode: "0755"
- name: install the helper scripts for lighttpd log rotation - name: install the helper scripts for lighttpd log rotation
copy: copy:
src: "{{ item }}" src: "{{ item }}"
dest: /usr/local/bin/{{ item }} dest: /usr/local/bin/{{ item }}
mode: 0755 mode: "0755"
owner: root owner: root
group: root group: root
with_items: with_items:
@ -167,7 +167,7 @@
service: state=started enabled=yes name=lighttpd service: state=started enabled=yes name=lighttpd
# setup dirs for the ansible execution off of provisioning # setup dirs for the ansible execution off of provisioning
#- name: dirs from provision # - name: dirs from provision
# file: state=directory path="/home/copr/provision/{{ item }}" owner=copr group=copr # file: state=directory path="/home/copr/provision/{{ item }}" owner=copr group=copr
# with_items: # with_items:
# - action_plugins # - action_plugins
@ -227,7 +227,7 @@
copy: src="{{ item }}" dest=/usr/local/bin/ copy: src="{{ item }}" dest=/usr/local/bin/
owner=root mode=755 owner=root mode=755
with_fileglob: with_fileglob:
- copr-builder-image-*.sh - copr-builder-image-*.sh
when: devel|bool when: devel|bool
tags: tags:
- provision_config - provision_config
@ -278,7 +278,7 @@
- command: "ls -dZ /var/lib/copr/public_html/" - command: "ls -dZ /var/lib/copr/public_html/"
register: public_html_ls register: public_html_ls
check_mode: no check_mode: no
changed_when: False changed_when: false
- name: update selinux context for results if root folder does not have proper type - name: update selinux context for results if root folder does not have proper type
command: "restorecon -vvRF /var/lib/copr/public_html/" command: "restorecon -vvRF /var/lib/copr/public_html/"
@ -304,7 +304,7 @@
copy: copy:
content: "{{ copr_red_hat_subscription_offline_token }}" content: "{{ copr_red_hat_subscription_offline_token }}"
dest: "{{ rhn_offline_token_file }}" dest: "{{ rhn_offline_token_file }}"
mode: 0600 mode: "0600"
owner: resalloc owner: resalloc
group: resalloc group: resalloc
tags: tags:
@ -314,7 +314,7 @@
template: template:
src: "{{ item }}" src: "{{ item }}"
dest: /usr/local/bin/{{ item }} dest: /usr/local/bin/{{ item }}
mode: 0755 mode: "0755"
loop: loop:
- cleanup-unused-vms-from-redis - cleanup-unused-vms-from-redis
- cleanup-unused-redhat-subscriptions - cleanup-unused-redhat-subscriptions

View file

@ -1,3 +1,4 @@
---
- name: copy ifcfg-eth1 - name: copy ifcfg-eth1
copy: src="ifcfg-eth1" dest=/etc/sysconfig/network-scripts/ owner=root group=root mode=644 copy: src="ifcfg-eth1" dest=/etc/sysconfig/network-scripts/ owner=root group=root mode=644

View file

@ -10,7 +10,7 @@
path: /home/copr/.config/pulp/ path: /home/copr/.config/pulp/
owner: copr owner: copr
group: copr group: copr
mode: 0700 mode: "0700"
- name: Install Pulp auth certificates - name: Install Pulp auth certificates
copy: copy:
@ -18,7 +18,7 @@
dest: "/home/copr/.config/pulp/" dest: "/home/copr/.config/pulp/"
owner: copr owner: copr
group: copr group: copr
mode: 0600 mode: "0600"
with_items: with_items:
- copr-pulp-prod.crt - copr-pulp-prod.crt
- copr-pulp-prod.key - copr-pulp-prod.key
@ -30,4 +30,4 @@
dest: "/home/copr/.config/pulp/cli.toml" dest: "/home/copr/.config/pulp/cli.toml"
owner: copr owner: copr
group: copr group: copr
mode: 0600 mode: "0600"

View file

@ -33,7 +33,7 @@
line: "{{ item }}" line: "{{ item }}"
owner: postgres owner: postgres
group: postgres group: postgres
mode: 0600 mode: "0600"
with_items: with_items:
- "all postgres postgres" - "all postgres postgres"
- "all resalloc resalloc" - "all resalloc resalloc"
@ -101,7 +101,7 @@
file: file:
path: /var/lib/resallocserver/.ssh path: /var/lib/resallocserver/.ssh
state: directory state: directory
mode: 0700 mode: "0700"
owner: resalloc owner: resalloc
group: resalloc group: resalloc
@ -111,7 +111,7 @@
dest: /var/lib/resallocserver/.ssh/id_rsa dest: /var/lib/resallocserver/.ssh/id_rsa
owner: resalloc owner: resalloc
group: resalloc group: resalloc
mode: 0600 mode: "0600"
- name: resalloc, ssh config file - name: resalloc, ssh config file
template: template:
@ -119,7 +119,7 @@
dest: /var/lib/resallocserver/.ssh/config dest: /var/lib/resallocserver/.ssh/config
owner: resalloc owner: resalloc
group: resalloc group: resalloc
mode: 0600 mode: "0600"
tags: tags:
- backend_to_hv_ssh_config - backend_to_hv_ssh_config
- provision_config - provision_config
@ -128,7 +128,7 @@
template: template:
src: "resalloc/{{ item }}" src: "resalloc/{{ item }}"
dest: "/etc/resallocserver/{{ item }}" dest: "/etc/resallocserver/{{ item }}"
mode: 0640 mode: "0640"
owner: resalloc owner: resalloc
group: resalloc group: resalloc
with_items: with_items:
@ -160,7 +160,7 @@
copy: copy:
src: copr-prepare-s390x-image-builder src: copr-prepare-s390x-image-builder
dest: /usr/local/bin/copr-prepare-s390x-image-builder dest: /usr/local/bin/copr-prepare-s390x-image-builder
mode: 0755 mode: "0755"
tags: tags:
- images_s390x - images_s390x
@ -173,6 +173,6 @@
dest: "{{ ibmcloud_token_file }}" dest: "{{ ibmcloud_token_file }}"
owner: resalloc owner: resalloc
group: resalloc group: resalloc
mode: 0600 mode: "0600"
tags: tags:
- provision_config - provision_config

View file

@ -35,7 +35,7 @@
template: template:
src: "{{ roles_path }}/copr/backend/templates/provision/{{ item }}" src: "{{ roles_path }}/copr/backend/templates/provision/{{ item }}"
dest: "{{ provision_directory }}/{{ item }}" dest: "{{ provision_directory }}/{{ item }}"
mode: 0755 mode: "0755"
with_items: with_items:
- upload-qcow2-images - upload-qcow2-images
tags: tags:
@ -48,7 +48,7 @@
template: template:
src: "{{ roles_path }}/copr/backend/templates/provision/{{ item }}" src: "{{ roles_path }}/copr/backend/templates/provision/{{ item }}"
dest: "{{ provision_directory }}/{{ item }}" dest: "{{ provision_directory }}/{{ item }}"
mode: 0755 mode: "0755"
with_items: with_items:
- libvirt-new - libvirt-new
tags: tags:
@ -93,6 +93,6 @@
dest: "{{ provision_directory }}/.rc-osuosl.sh" dest: "{{ provision_directory }}/.rc-osuosl.sh"
owner: "{{ provision_user }}" owner: "{{ provision_user }}"
group: "{{ provision_user }}" group: "{{ provision_user }}"
mode: 0600 mode: "0600"
tags: tags:
- provision_config - provision_config

View file

@ -1,3 +1,4 @@
---
aws_access_key: {{ copr_aws_access_key_id }} aws_access_key: {{ copr_aws_access_key_id }}
aws_secret_key: {{ copr_aws_secret_access_key }} aws_secret_key: {{ copr_aws_secret_access_key }}

View file

@ -1,6 +1,7 @@
---
db_url: 'postgresql://resalloc@/resalloc' db_url: 'postgresql://resalloc@/resalloc'
logdir: '/var/log/resallocserver' logdir: '/var/log/resallocserver'
# Listen only on localhost! # Listen only on localhost!
hostname: 'localhost' hostname: 'localhost'
#port: 49100 # port: 49100
#loglevel: info # loglevel: info

View file

@ -6,10 +6,10 @@
# again to late to do it here # again to late to do it here
# - import_tasks: "{{ tasks_path }}/cloud_setup_basic.yml" # - import_tasks: "{{ tasks_path }}/cloud_setup_basic.yml"
# already included into the `base` role # already included into the `base` role
#- import_tasks: "{{ tasks_path }}/postfix_basic.yml" # - import_tasks: "{{ tasks_path }}/postfix_basic.yml"
# To late to do it here ( # To late to do it here (
#- name: setup correct hostname for copr machine # - name: setup correct hostname for copr machine
# hostname: name="{{ copr_hostbase }}.cloud.fedoraproject.org" # hostname: name="{{ copr_hostbase }}.cloud.fedoraproject.org"
# # hostname: name="{{ hostbase|regex_replace('.*-$', '')}}.cloud.fedoraproject.org" # # hostname: name="{{ hostbase|regex_replace('.*-$', '')}}.cloud.fedoraproject.org"
# tags: # tags:

View file

@ -133,7 +133,7 @@
file: file:
path: "{{ le_backup_path }}" path: "{{ le_backup_path }}"
# nobody, except for root, can step into this directory (on batcave) # nobody, except for root, can step into this directory (on batcave)
mode: 0700 mode: "0700"
owner: root owner: root
group: root group: root
state: directory state: directory

View file

@ -1,3 +1,4 @@
---
- include_tasks: letsencrypt.yml - include_tasks: letsencrypt.yml
when: when:
- letsencrypt is defined - letsencrypt is defined

View file

@ -1,3 +1,4 @@
---
- name: reload httpd - name: reload httpd
service: name="httpd" state="restarted" service: name="httpd" state="restarted"

View file

@ -1,3 +1,4 @@
---
- import_tasks: "mount_fs.yml" - import_tasks: "mount_fs.yml"
# pre-create users/groups and copy uids/gids from the current prod copr-dist-git # pre-create users/groups and copy uids/gids from the current prod copr-dist-git

View file

@ -1,3 +1,4 @@
---
- name: prepare mount point - name: prepare mount point
file: state=directory path=/var/lib/dist-git file: state=directory path=/var/lib/dist-git

View file

@ -1,3 +1,4 @@
---
- import_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handlers_path }}/restart_services.yml"
- name: restart postgresql - name: restart postgresql

View file

@ -4,7 +4,7 @@
- name: register security context for pgsql directory - name: register security context for pgsql directory
command: "ls -dZ /var/lib/pgsql" command: "ls -dZ /var/lib/pgsql"
register: pgsql_ls register: pgsql_ls
changed_when: False # `ls' command is not changing anything changed_when: false # `ls' command is not changing anything
- name: update selinux context for postgress db dir if it's wrong - name: update selinux context for postgress db dir if it's wrong
command: "restorecon -vvRF /var/lib/pgsql" command: "restorecon -vvRF /var/lib/pgsql"
@ -47,7 +47,7 @@
copy: copy:
src: copr-frontend-prometheus-monitoring.py src: copr-frontend-prometheus-monitoring.py
dest: /usr/bin/copr-frontend-prometheus-monitoring.py dest: /usr/bin/copr-frontend-prometheus-monitoring.py
mode: 0750 mode: "0750"
owner: root owner: root
group: root group: root
tags: tags:
@ -70,7 +70,7 @@
tags: tags:
- packages - packages
#- name: patch for issue XXX # - name: patch for issue XXX
# patch: src=patches/xxx.patch # patch: src=patches/xxx.patch
# dest=/the/patched/file.py # dest=/the/patched/file.py
# tags: patches # tags: patches
@ -164,8 +164,8 @@
become: yes become: yes
become_user: copr-fe become_user: copr-fe
register: update_indexes_required_result register: update_indexes_required_result
changed_when: False changed_when: false
failed_when: False failed_when: false
- name: rebuild indexes - name: rebuild indexes
command: ./manage.py update_indexes command: ./manage.py update_indexes
@ -229,7 +229,7 @@
dest: "/usr/bin/copr-cdn-check.py" dest: "/usr/bin/copr-cdn-check.py"
src: "copr-cdn-check.py.j2" src: "copr-cdn-check.py.j2"
group: "nagios" group: "nagios"
mode: 0750 mode: "0750"
vars: vars:
api_key: "{{ copr_uptimerobot_api_key_ro | default('not-configured') }}" api_key: "{{ copr_uptimerobot_api_key_ro | default('not-configured') }}"
tags: copr_cdn tags: copr_cdn

View file

@ -1,6 +1,6 @@
---
- name: mount up disk of copr fe - name: mount up disk of copr fe
mount: name=/srv/copr-fe src='LABEL=copr-fe' fstype=ext4 state=mounted mount: name=/srv/copr-fe src='LABEL=copr-fe' fstype=ext4 state=mounted
- name: mount up bind mount for postgres - name: mount up bind mount for postgres
mount: src=/srv/copr-fe/pgsqldb name=/var/lib/pgsql fstype=auto opts=bind state=mounted mount: src=/srv/copr-fe/pgsqldb name=/var/lib/pgsql fstype=auto opts=bind state=mounted

View file

@ -1,3 +1,4 @@
---
- name: install postresql - name: install postresql
package: state=present pkg={{ item }} package: state=present pkg={{ item }}
with_items: with_items:
@ -131,7 +132,7 @@
dest: "{{ copr_fe_homedir }}/.psqlrc" dest: "{{ copr_fe_homedir }}/.psqlrc"
owner: copr-fe owner: copr-fe
group: copr-fe group: copr-fe
mode: 0600 mode: "0600"
- name: install pgpass file - name: install pgpass file
copy: copy:
@ -140,7 +141,7 @@
dest: "{{ copr_fe_homedir }}/.pgpass" dest: "{{ copr_fe_homedir }}/.pgpass"
owner: copr-fe owner: copr-fe
group: copr-fe group: copr-fe
mode: 0400 mode: "0400"
- stat: path="{{ copr_fe_homedir }}/.psql_history" - stat: path="{{ copr_fe_homedir }}/.psql_history"
register: history_file register: history_file

View file

@ -159,7 +159,7 @@
src: "{{ private }}/files/copr/buildsys.priv" src: "{{ private }}/files/copr/buildsys.priv"
dest: /home/copr/.ssh/id_rsa dest: /home/copr/.ssh/id_rsa
owner: copr owner: copr
mode: 0600 mode: "0600"
- name: provide pub key, too, so we can install them to generated builder images - name: provide pub key, too, so we can install them to generated builder images
copy: src=buildsys.pub dest=/home/copr/.ssh/id_rsa.pub copy: src=buildsys.pub dest=/home/copr/.ssh/id_rsa.pub

View file

@ -1,3 +1,4 @@
---
- name: ensure /backup dir - name: ensure /backup dir
file: path=/backup state=directory file: path=/backup state=directory

View file

@ -3,5 +3,6 @@
# the env from ansible to see what variables and facts are. # the env from ansible to see what variables and facts are.
# Taken from https://coderwall.com/p/13lh6w # Taken from https://coderwall.com/p/13lh6w
# #
---
- name: Dump all ansible vars - name: Dump all ansible vars
template: src=dumpall.j2 dest=/tmp/debug_env.out template: src=dumpall.j2 dest=/tmp/debug_env.out

View file

@ -1,3 +1,4 @@
---
- name: Create directories - name: Create directories
file: state=directory file: state=directory
path=/srv/web/{{item}} path=/srv/web/{{item}}

View file

@ -1,3 +1,4 @@
---
- name: Copy in the sync-developer cronjob - name: Copy in the sync-developer cronjob
copy: src=cron-sync-developer dest=/etc/cron.d/sync-developer copy: src=cron-sync-developer dest=/etc/cron.d/sync-developer
tags: tags:

View file

@ -4,4 +4,3 @@ admin:
ca: /etc/pagure/ca.crt ca: /etc/pagure/ca.crt
cert: /etc/pagure/fedora_rpms_admin.crt cert: /etc/pagure/fedora_rpms_admin.crt
key: /etc/pagure/fedora_rpms_admin.key key: /etc/pagure/fedora_rpms_admin.key

View file

@ -49,7 +49,7 @@
- config - config
- dns - dns
#- name: create GeoIP acl # - name: create GeoIP acl
# command: /var/named/GeoIP.sh # command: /var/named/GeoIP.sh
# changed_when: "1 != 1" # changed_when: "1 != 1"
# notify: # notify:

View file

@ -7,7 +7,7 @@ conf_path: "/etc/docker-distribution/registry/config.yml"
# Config directives # Config directives
tls: tls:
enabled: False enabled: false
certificate: "PATH_TO_CERT" certificate: "PATH_TO_CERT"
key: "PATH_TO_KEY" key: "PATH_TO_KEY"
log: log:
@ -28,4 +28,3 @@ cert:
cert_dest: "ca.crt" cert_dest: "ca.crt"
key_src: "ca.key" key_src: "ca.key"
key_dest: "ca.key" key_dest: "ca.key"

View file

@ -20,18 +20,18 @@ galaxy_info:
# the ones that apply to your role. If you don't see your # the ones that apply to your role. If you don't see your
# platform on this list, let us know and we'll get it added! # platform on this list, let us know and we'll get it added!
# #
#platforms: # platforms:
#- name: EL # - name: EL
# versions: # versions:
# - all # - all
# - 5 # - 5
# - 6 # - 6
# - 7 # - 7
#- name: GenericUNIX # - name: GenericUNIX
# versions: # versions:
# - all # - all
# - any # - any
#- name: Solaris # - name: Solaris
# versions: # versions:
# - all # - all
# - 10 # - 10
@ -39,7 +39,7 @@ galaxy_info:
# - 11.1 # - 11.1
# - 11.2 # - 11.2
# - 11.3 # - 11.3
#- name: Fedora # - name: Fedora
# versions: # versions:
# - all # - all
# - 16 # - 16
@ -49,15 +49,15 @@ galaxy_info:
# - 20 # - 20
# - 21 # - 21
# - 22 # - 22
#- name: Windows # - name: Windows
# versions: # versions:
# - all # - all
# - 2012R2 # - 2012R2
#- name: SmartOS # - name: SmartOS
# versions: # versions:
# - all # - all
# - any # - any
#- name: opensuse # - name: opensuse
# versions: # versions:
# - all # - all
# - 12.1 # - 12.1
@ -65,16 +65,16 @@ galaxy_info:
# - 12.3 # - 12.3
# - 13.1 # - 13.1
# - 13.2 # - 13.2
#- name: Amazon # - name: Amazon
# versions: # versions:
# - all # - all
# - 2013.03 # - 2013.03
# - 2013.09 # - 2013.09
#- name: GenericBSD # - name: GenericBSD
# versions: # versions:
# - all # - all
# - any # - any
#- name: FreeBSD # - name: FreeBSD
# versions: # versions:
# - all # - all
# - 8.0 # - 8.0
@ -86,7 +86,7 @@ galaxy_info:
# - 9.1 # - 9.1
# - 9.1 # - 9.1
# - 9.2 # - 9.2
#- name: Ubuntu # - name: Ubuntu
# versions: # versions:
# - all # - all
# - lucid # - lucid
@ -100,7 +100,7 @@ galaxy_info:
# - trusty # - trusty
# - utopic # - utopic
# - vivid # - vivid
#- name: SLES # - name: SLES
# versions: # versions:
# - all # - all
# - 10SP3 # - 10SP3
@ -109,11 +109,11 @@ galaxy_info:
# - 11SP1 # - 11SP1
# - 11SP2 # - 11SP2
# - 11SP3 # - 11SP3
#- name: GenericLinux # - name: GenericLinux
# versions: # versions:
# - all # - all
# - any # - any
#- name: Debian # - name: Debian
# versions: # versions:
# - all # - all
# - etch # - etch
@ -125,23 +125,22 @@ galaxy_info:
# Below are all categories currently available. Just as with # Below are all categories currently available. Just as with
# the platforms above, uncomment those that apply to your role. # the platforms above, uncomment those that apply to your role.
# #
#categories: # categories:
#- cloud # - cloud
#- cloud:ec2 # - cloud:ec2
#- cloud:gce # - cloud:gce
#- cloud:rax # - cloud:rax
#- clustering # - clustering
#- database # - database
#- database:nosql # - database:nosql
#- database:sql # - database:sql
#- development # - development
#- monitoring # - monitoring
#- networking # - networking
#- packaging # - packaging
#- system # - system
#- web # - web
dependencies: [] dependencies: []
# List your role dependencies here, one per line. # List your role dependencies here, one per line.
# Be sure to remove the '[]' above if you add dependencies # Be sure to remove the '[]' above if you add dependencies
# to this list. # to this list.

View file

@ -104,18 +104,18 @@
- name: Set tcp read buffers higher for download improvements - name: Set tcp read buffers higher for download improvements
sysctl: sysctl:
name: net.ipv4.tcp_rmem name: net.ipv4.tcp_rmem
value: "4096 131072 67108864" value: "4096 131072 67108864"
sysctl_file: /etc/sysctl.d/10-tcp-socket-buffers.conf sysctl_file: /etc/sysctl.d/10-tcp-socket-buffers.conf
tags: tags:
- service - service
- config - config
- name: Set tcp write buffers higher for download improvements - name: Set tcp write buffers higher for download improvements
sysctl: sysctl:
name: net.ipv4.tcp_wmem name: net.ipv4.tcp_wmem
value: "4096 16384 67108864" value: "4096 16384 67108864"
sysctl_file: /etc/sysctl.d/10-tcp-socket-buffers.conf sysctl_file: /etc/sysctl.d/10-tcp-socket-buffers.conf
tags: tags:
- service - service
- config - config

View file

@ -1,3 +1,4 @@
---
- name: Ensure dir for content exists - name: Ensure dir for content exists
file: dest=/srv/web/gather-easyfix owner=root group=root mode=0755 state=directory file: dest=/srv/web/gather-easyfix owner=root group=root mode=0755 state=directory
tags: tags:

View file

@ -1,3 +1,4 @@
---
fas2discourse_hostname: "fas2discourse.hostna.me" fas2discourse_hostname: "fas2discourse.hostna.me"
fas2discourse_namespace: "fas2discourse-operator" fas2discourse_namespace: "fas2discourse-operator"
fas2discourse_project_description: "The fas2discourse-operator is responsible for synchronising group membership for users between Discourse and IPA." fas2discourse_project_description: "The fas2discourse-operator is responsible for synchronising group membership for users between Discourse and IPA."

View file

@ -5,11 +5,10 @@
state: directory state: directory
owner: root owner: root
group: root group: root
mode: 0770 mode: "0770"
recurse: yes recurse: yes
- include_tasks: create-operator-namespace.yml - include_tasks: create-operator-namespace.yml
- include_tasks: create-keytab-secret.yml - include_tasks: create-keytab-secret.yml
- include_tasks: create-discourse-apikey-secret.yml - include_tasks: create-discourse-apikey-secret.yml
- include_tasks: deploy-fas2discourse-operator.yml - include_tasks: deploy-fas2discourse-operator.yml

View file

@ -4,9 +4,8 @@
template: template:
src: "secret-discourse-apikey.yml" src: "secret-discourse-apikey.yml"
dest: "/root/ocp4/openshift-apps/fas2discourse-operator/secret-discourse-apikey.yml" dest: "/root/ocp4/openshift-apps/fas2discourse-operator/secret-discourse-apikey.yml"
mode: 0770 mode: "0770"
# apply created openshift resources # apply created openshift resources
- name: oc apply resources - name: oc apply resources
command: "/root/bin/oc apply -f /root/ocp4/openshift-apps/fas2discourse-operator/secret-discourse-apikey.yml" command: "/root/bin/oc apply -f /root/ocp4/openshift-apps/fas2discourse-operator/secret-discourse-apikey.yml"

View file

@ -4,15 +4,15 @@
ansible.builtin.fetch: ansible.builtin.fetch:
src: "/etc/openshift_apps/fas2discourse/fas2discourse{{ env_suffix }}-keytab.kt" src: "/etc/openshift_apps/fas2discourse/fas2discourse{{ env_suffix }}-keytab.kt"
dest: "/etc/openshift_apps/fas2discourse/fas2discourse{{ env_suffix }}-keytab.kt" dest: "/etc/openshift_apps/fas2discourse/fas2discourse{{ env_suffix }}-keytab.kt"
flat: True flat: true
mode: 0600 mode: "0600"
# generate the templates for project to be created # generate the templates for project to be created
- name: copy the templates to the host - name: copy the templates to the host
template: template:
src: "secret-keytab.yml" src: "secret-keytab.yml"
dest: "/root/ocp4/openshift-apps/fas2discourse-operator/secret-keytab.yml" dest: "/root/ocp4/openshift-apps/fas2discourse-operator/secret-keytab.yml"
mode: 0770 mode: "0770"
vars: vars:
fas2discourse_keytab_file: fas2discourse_keytab_file:
"{{ lookup('file', "{{ lookup('file',
@ -22,4 +22,3 @@
# apply created openshift resources # apply created openshift resources
- name: oc apply resources - name: oc apply resources
command: "/root/bin/oc apply -f /root/ocp4/openshift-apps/fas2discourse-operator/secret-keytab.yml" command: "/root/bin/oc apply -f /root/ocp4/openshift-apps/fas2discourse-operator/secret-keytab.yml"

View file

@ -6,7 +6,7 @@
state: directory state: directory
owner: root owner: root
group: root group: root
mode: 0750 mode: "0750"
tags: tags:
- create-keytab - create-keytab
@ -21,4 +21,3 @@
host: "{{ fas2discourse_hostname }}" host: "{{ fas2discourse_hostname }}"
tags: tags:
- create-keytab - create-keytab

View file

@ -4,7 +4,7 @@
template: template:
src: "namespace.yml" src: "namespace.yml"
dest: "/root/ocp4/openshift-apps/fas2discourse-operator/namespace.yml" dest: "/root/ocp4/openshift-apps/fas2discourse-operator/namespace.yml"
mode: 0770 mode: "0770"
# apply created openshift resources # apply created openshift resources
- name: oc apply resources - name: oc apply resources

View file

@ -15,4 +15,3 @@
make: make:
chdir: "/root/ocp4/openshift-apps/fas2discourse-operator/fas2discourse-operator/" chdir: "/root/ocp4/openshift-apps/fas2discourse-operator/fas2discourse-operator/"
target: "deploy" target: "deploy"

View file

@ -6,4 +6,3 @@ metadata:
annotations: annotations:
openshift.io/description: "{{ fas2discourse_project_description }}" openshift.io/description: "{{ fas2discourse_project_description }}"
openshift.io/display-name: "{{ fas2discourse_namespace }}" openshift.io/display-name: "{{ fas2discourse_namespace }}"

View file

@ -1,3 +1,4 @@
---
apiVersion: v1 apiVersion: v1
kind: Secret kind: Secret
metadata: metadata:
@ -12,4 +13,3 @@ data:
"{{ (env == 'production')|ternary(fas2discourse_fasjson_hostname, fas2discourse_stg_fasjson_hostname) | b64encode }}" "{{ (env == 'production')|ternary(fas2discourse_fasjson_hostname, fas2discourse_stg_fasjson_hostname) | b64encode }}"
fas2discourse-principal: fas2discourse-principal:
"{{ (env == 'production')|ternary(fas2discourse_principal, fas2discourse_stg_principal) | b64encode }}" "{{ (env == 'production')|ternary(fas2discourse_principal, fas2discourse_stg_principal) | b64encode }}"

View file

@ -1,3 +1,4 @@
---
apiVersion: v1 apiVersion: v1
kind: Secret kind: Secret
metadata: metadata:
@ -6,4 +7,3 @@ metadata:
data: data:
fas2discourse-keytab: fas2discourse-keytab:
"{{ fas2discourse_keytab_file | b64encode }}" "{{ fas2discourse_keytab_file | b64encode }}"

View file

@ -33,4 +33,3 @@
- config - config
- fasjson - fasjson
when: fasjson_aliases is defined when: fasjson_aliases is defined

View file

@ -3,6 +3,7 @@
# repo and throw it into fedoraproject.org/fedmsg/crl.pem # repo and throw it into fedoraproject.org/fedmsg/crl.pem
# See https://infrastructure.fedoraproject.org/infra/docs/fedmsg-certs.txt # See https://infrastructure.fedoraproject.org/infra/docs/fedmsg-certs.txt
---
- name: Ensure dir for content exists - name: Ensure dir for content exists
file: dest=/srv/web/fedmsg owner=apache group=apache mode=0755 state=directory file: dest=/srv/web/fedmsg owner=apache group=apache mode=0755 state=directory
tags: tags:

View file

@ -27,7 +27,7 @@
when: (ansible_distribution_major_version|int >= 30 and ansible_distribution == 'Fedora') or (ansible_distribution == 'RedHat' and ansible_distribution_major_version|int >= 8) when: (ansible_distribution_major_version|int >= 30 and ansible_distribution == 'Fedora') or (ansible_distribution == 'RedHat' and ansible_distribution_major_version|int >= 8)
#- name: Apply fixing patch # - name: Apply fixing patch
# patch: src=fixup.patch dest=/usr/lib/python2.7/site-packages/fedmsg/consumers/__init__.py # patch: src=fixup.patch dest=/usr/lib/python2.7/site-packages/fedmsg/consumers/__init__.py
# tags: # tags:
# - packages # - packages
@ -135,4 +135,3 @@
ignore_errors: true ignore_errors: true
tags: tags:
- fedmsgmonitor - fedmsgmonitor

Some files were not shown because too many files have changed in this diff Show more