Fix majority of remaining yamllint warnings and errors
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
This commit is contained in:
parent
1073f70bce
commit
89f6f1fc32
591 changed files with 1491 additions and 1168 deletions
|
@ -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']
|
||||||
...
|
...
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
apiVersion: config.openshift.io/v1
|
apiVersion: config.openshift.io/v1
|
||||||
kind: OAuth
|
kind: OAuth
|
||||||
metadata:
|
metadata:
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
- { 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",
|
||||||
|
@ -38,7 +38,7 @@
|
||||||
- { 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
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
|
---
|
||||||
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:
|
||||||
|
|
|
@ -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 #
|
||||||
|
|
|
@ -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 }}"
|
||||||
|
|
|
@ -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 }}"
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
- import_tasks: install.yml
|
- import_tasks: install.yml
|
||||||
tags: [faf, faf_install, packages]
|
tags: [faf, faf_install, packages]
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
|
---
|
||||||
- name: Set url_suffix fact
|
- name: Set url_suffix fact
|
||||||
set_fact:
|
set_fact:
|
||||||
url_suffix: ""
|
url_suffix: ""
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
|
---
|
||||||
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:
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
galaxy_info:
|
galaxy_info:
|
||||||
role_name: osbuild_worker
|
role_name: osbuild_worker
|
||||||
namespace: osbuild
|
namespace: osbuild
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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:
|
||||||
|
@ -20,7 +17,7 @@ children:
|
||||||
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
|
||||||
|
@ -37,7 +34,7 @@ children:
|
||||||
- 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.
|
||||||
|
@ -48,14 +45,13 @@ children:
|
||||||
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
|
||||||
|
@ -63,8 +59,7 @@ children:
|
||||||
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
|
||||||
|
@ -86,9 +81,8 @@ children:
|
||||||
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
|
||||||
|
@ -99,9 +93,8 @@ children:
|
||||||
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.
|
||||||
|
@ -132,7 +125,7 @@ children:
|
||||||
- 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.
|
||||||
|
@ -177,7 +170,7 @@ children:
|
||||||
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
|
||||||
|
@ -230,9 +223,8 @@ children:
|
||||||
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
|
||||||
|
@ -268,9 +260,8 @@ children:
|
||||||
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
|
||||||
|
@ -284,9 +275,8 @@ children:
|
||||||
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
|
||||||
|
@ -298,9 +288,8 @@ children:
|
||||||
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
|
||||||
|
@ -317,19 +306,17 @@ children:
|
||||||
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:
|
||||||
|
@ -340,7 +327,7 @@ children:
|
||||||
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
|
||||||
|
@ -349,7 +336,8 @@ 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>
|
||||||
|
site.
|
||||||
- name: COPR
|
- name: COPR
|
||||||
data:
|
data:
|
||||||
icon: copr.png
|
icon: copr.png
|
||||||
|
@ -362,9 +350,8 @@ children:
|
||||||
# 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!
|
||||||
|
@ -381,7 +368,7 @@ children:
|
||||||
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
|
||||||
|
@ -396,9 +383,8 @@ children:
|
||||||
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
|
||||||
|
@ -413,7 +399,7 @@ children:
|
||||||
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
|
||||||
|
@ -425,14 +411,12 @@ children:
|
||||||
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:
|
||||||
|
@ -475,7 +459,7 @@ children:
|
||||||
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,
|
||||||
|
@ -483,7 +467,6 @@ children:
|
||||||
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: >
|
||||||
|
@ -526,16 +509,14 @@ children:
|
||||||
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
|
||||||
|
@ -565,7 +546,7 @@ children:
|
||||||
- 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,
|
||||||
|
@ -582,8 +563,7 @@ children:
|
||||||
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
|
||||||
|
@ -597,8 +577,7 @@ children:
|
||||||
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
|
||||||
|
@ -609,8 +588,7 @@ children:
|
||||||
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?
|
||||||
|
@ -625,7 +603,7 @@ 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.
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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:
|
||||||
|
|
|
@ -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'
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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:
|
||||||
|
@ -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
|
||||||
|
|
|
@ -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:
|
||||||
|
|
|
@ -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:
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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:
|
||||||
|
|
|
@ -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:
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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:
|
||||||
|
|
|
@ -108,6 +108,7 @@
|
||||||
# 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"
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
- name: install chrony
|
- name: install chrony
|
||||||
package: name=chrony state=present
|
package: name=chrony state=present
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
|
---
|
||||||
user: fedmsg
|
user: fedmsg
|
||||||
process: fedmsg-hub
|
process: fedmsg-hub
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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"
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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:
|
||||||
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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 }}
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
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!
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
- include_tasks: letsencrypt.yml
|
- include_tasks: letsencrypt.yml
|
||||||
when:
|
when:
|
||||||
- letsencrypt is defined
|
- letsencrypt is defined
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
- name: reload httpd
|
- name: reload httpd
|
||||||
service: name="httpd" state="restarted"
|
service: name="httpd" state="restarted"
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
||||||
- name: restart postgresql
|
- name: restart postgresql
|
||||||
|
|
|
@ -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:
|
||||||
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
- name: ensure /backup dir
|
- name: ensure /backup dir
|
||||||
file: path=/backup state=directory
|
file: path=/backup state=directory
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
- name: Create directories
|
- name: Create directories
|
||||||
file: state=directory
|
file: state=directory
|
||||||
path=/srv/web/{{item}}
|
path=/srv/web/{{item}}
|
||||||
|
|
|
@ -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:
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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"
|
||||||
|
|
||||||
|
|
|
@ -144,4 +144,3 @@ 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.
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
|
@ -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."
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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"
|
||||||
|
|
||||||
|
|
|
@ -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"
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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"
|
||||||
|
|
||||||
|
|
|
@ -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 }}"
|
||||||
|
|
||||||
|
|
|
@ -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 }}"
|
||||||
|
|
||||||
|
|
|
@ -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 }}"
|
||||||
|
|
||||||
|
|
|
@ -33,4 +33,3 @@
|
||||||
- config
|
- config
|
||||||
- fasjson
|
- fasjson
|
||||||
when: fasjson_aliases is defined
|
when: fasjson_aliases is defined
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
|
@ -135,4 +135,3 @@
|
||||||
ignore_errors: true
|
ignore_errors: true
|
||||||
tags:
|
tags:
|
||||||
- fedmsgmonitor
|
- fedmsgmonitor
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
- name: install fedmsg-gateway
|
- name: install fedmsg-gateway
|
||||||
package: name=fedmsg-gateway state=present
|
package: name=fedmsg-gateway state=present
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
# This is false by default. You have to override it when including the role.
|
# This is false by default. You have to override it when including the role.
|
||||||
enable_websocket_server: False
|
---
|
||||||
|
enable_websocket_server: false
|
||||||
|
|
||||||
# Absolute memory limit in megabytes for fedmsg-hub and fedmsg-bub-3
|
# Absolute memory limit in megabytes for fedmsg-hub and fedmsg-bub-3
|
||||||
# services. Zero means infinity (no limit).
|
# services. Zero means infinity (no limit).
|
||||||
fedmsg_hub_memory_limit_mb: 0
|
fedmsg_hub_memory_limit_mb: 0
|
||||||
|
|
||||||
# Restart fedmsg-hub.service on failure.
|
# Restart fedmsg-hub.service on failure.
|
||||||
fedmsg_hub_auto_restart: False
|
fedmsg_hub_auto_restart: false
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
|
---
|
||||||
- name: install package for fedmsg-irc
|
- name: install package for fedmsg-irc
|
||||||
package:
|
package:
|
||||||
state: present
|
state: present
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
# This is a *very* simple role. The config needed for fedmsg-relay to operate
|
# This is a *very* simple role. The config needed for fedmsg-relay to operate
|
||||||
# correctly is actually included as part of the fedmsg/base role.
|
# correctly is actually included as part of the fedmsg/base role.
|
||||||
|
|
||||||
|
---
|
||||||
- name: install fedmsg-relay (yum)
|
- name: install fedmsg-relay (yum)
|
||||||
package: name=fedmsg-relay state=present
|
package: name=fedmsg-relay state=present
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
- file: dest=/srv/web/budget.fedoraproject.org state=directory
|
- file: dest=/srv/web/budget.fedoraproject.org state=directory
|
||||||
|
|
||||||
- template: >
|
- template: >
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
- name: Copy in the sync-budget cronjob
|
- name: Copy in the sync-budget cronjob
|
||||||
copy: src=cron-sync-budget dest=/etc/cron.d/sync-budget
|
copy: src=cron-sync-budget dest=/etc/cron.d/sync-budget
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
- template: >
|
- template: >
|
||||||
src=docs-sync.j2 dest=/usr/local/bin/docs-sync
|
src=docs-sync.j2 dest=/usr/local/bin/docs-sync
|
||||||
owner=root group=root mode=0755
|
owner=root group=root mode=0755
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
- copy: >
|
- copy: >
|
||||||
src=docs-rsync.stg dest=/usr/local/bin/docs-rsync
|
src=docs-rsync.stg dest=/usr/local/bin/docs-rsync
|
||||||
owner=root group=root mode=0755
|
owner=root group=root mode=0755
|
||||||
|
|
|
@ -54,7 +54,7 @@
|
||||||
dest: ~_update_docs_trans/.ssh/config
|
dest: ~_update_docs_trans/.ssh/config
|
||||||
owner: _update_docs_trans
|
owner: _update_docs_trans
|
||||||
group: _update_docs_trans
|
group: _update_docs_trans
|
||||||
mode: 0644
|
mode: "0644"
|
||||||
tags:
|
tags:
|
||||||
- fedora-docs-translation
|
- fedora-docs-translation
|
||||||
|
|
||||||
|
@ -63,7 +63,7 @@
|
||||||
dest: /usr/local/bin/docs-translation-update
|
dest: /usr/local/bin/docs-translation-update
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
mode: 0755
|
mode: "0755"
|
||||||
tags:
|
tags:
|
||||||
- fedora-docs-translation
|
- fedora-docs-translation
|
||||||
|
|
||||||
|
@ -72,7 +72,7 @@
|
||||||
dest: /etc/cron.d/cron-docs-translation-update
|
dest: /etc/cron.d/cron-docs-translation-update
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
mode: 0644
|
mode: "0644"
|
||||||
tags:
|
tags:
|
||||||
- fedora-docs-translation
|
- fedora-docs-translation
|
||||||
when: env == "production" and inventory_hostname.startswith('sundries01')
|
when: env == "production" and inventory_hostname.startswith('sundries01')
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
# Ensure PATH in /etc/crontab contains /usr/local/bin
|
# Ensure PATH in /etc/crontab contains /usr/local/bin
|
||||||
#####################################################
|
#####################################################
|
||||||
|
|
||||||
|
---
|
||||||
- name: check if PATH is set in crontab
|
- name: check if PATH is set in crontab
|
||||||
lineinfile:
|
lineinfile:
|
||||||
path: /etc/crontab
|
path: /etc/crontab
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
- name: install messaging script for our improvized tracing
|
- name: install messaging script for our improvized tracing
|
||||||
copy: src=simple_message_to_bus dest=/usr/local/bin/ mode=0755
|
copy: src=simple_message_to_bus dest=/usr/local/bin/ mode=0755
|
||||||
tags:
|
tags:
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue