Tag the anitya/fedmsg role.
This commit is contained in:
parent
460b9a654b
commit
6a86a1d5c2
1 changed files with 16 additions and 0 deletions
|
@ -11,6 +11,7 @@
|
||||||
- policycoreutils-python # This is in the kickstart now. Here for old hosts.
|
- policycoreutils-python # This is in the kickstart now. Here for old hosts.
|
||||||
tags:
|
tags:
|
||||||
- packages
|
- packages
|
||||||
|
- anitya/fedmsg
|
||||||
|
|
||||||
# We use setgid here so that the monitoring sockets created by fedmsg services
|
# We use setgid here so that the monitoring sockets created by fedmsg services
|
||||||
# are accessible to the nrpe group.
|
# are accessible to the nrpe group.
|
||||||
|
@ -21,10 +22,13 @@
|
||||||
owner=fedmsg
|
owner=fedmsg
|
||||||
group=nrpe
|
group=nrpe
|
||||||
state=directory
|
state=directory
|
||||||
|
tags:
|
||||||
|
- anitya/fedmsg
|
||||||
|
|
||||||
- name: setup /etc/fedmsg.d directory
|
- name: setup /etc/fedmsg.d directory
|
||||||
file: path=/etc/fedmsg.d owner=root group=root mode=0755 state=directory
|
file: path=/etc/fedmsg.d owner=root group=root mode=0755 state=directory
|
||||||
tags:
|
tags:
|
||||||
|
- anitya/fedmsg
|
||||||
- config
|
- config
|
||||||
|
|
||||||
# Any files that change need to restart any services that depend on them. A
|
# Any files that change need to restart any services that depend on them. A
|
||||||
|
@ -48,6 +52,7 @@
|
||||||
tags:
|
tags:
|
||||||
- config
|
- config
|
||||||
- fedmsgdconfig
|
- fedmsgdconfig
|
||||||
|
- anitya/fedmsg
|
||||||
notify:
|
notify:
|
||||||
- restart httpd
|
- restart httpd
|
||||||
- restart fedmsg-relay
|
- restart fedmsg-relay
|
||||||
|
@ -59,6 +64,7 @@
|
||||||
tags:
|
tags:
|
||||||
- config
|
- config
|
||||||
- fedmsgdconfig
|
- fedmsgdconfig
|
||||||
|
- anitya/fedmsg
|
||||||
notify:
|
notify:
|
||||||
- restart httpd
|
- restart httpd
|
||||||
- restart fedmsg-relay
|
- restart fedmsg-relay
|
||||||
|
@ -67,6 +73,7 @@
|
||||||
file: path=/etc/pki/fedmsg owner=root group=root mode=0755 state=directory
|
file: path=/etc/pki/fedmsg owner=root group=root mode=0755 state=directory
|
||||||
tags:
|
tags:
|
||||||
- config
|
- config
|
||||||
|
- anitya/fedmsg
|
||||||
|
|
||||||
- name: install fedmsg ca.cert
|
- name: install fedmsg ca.cert
|
||||||
copy: >
|
copy: >
|
||||||
|
@ -77,6 +84,7 @@
|
||||||
mode=0644
|
mode=0644
|
||||||
tags:
|
tags:
|
||||||
- config
|
- config
|
||||||
|
- anitya/fedmsg
|
||||||
|
|
||||||
- name: fedmsg certs
|
- name: fedmsg certs
|
||||||
copy: >
|
copy: >
|
||||||
|
@ -90,6 +98,7 @@
|
||||||
when: fedmsg_certs != []
|
when: fedmsg_certs != []
|
||||||
tags:
|
tags:
|
||||||
- config
|
- config
|
||||||
|
- anitya/fedmsg
|
||||||
|
|
||||||
- name: fedmsg keys
|
- name: fedmsg keys
|
||||||
copy: >
|
copy: >
|
||||||
|
@ -103,15 +112,22 @@
|
||||||
when: fedmsg_certs != []
|
when: fedmsg_certs != []
|
||||||
tags:
|
tags:
|
||||||
- config
|
- config
|
||||||
|
- anitya/fedmsg
|
||||||
|
|
||||||
# Three tasks for handling our custom selinux module
|
# Three tasks for handling our custom selinux module
|
||||||
- name: ensure a directory exists for our custom selinux module
|
- name: ensure a directory exists for our custom selinux module
|
||||||
file: dest=/usr/local/share/fedmsg state=directory
|
file: dest=/usr/local/share/fedmsg state=directory
|
||||||
|
tags:
|
||||||
|
- anitya/fedmsg
|
||||||
|
|
||||||
- name: copy over our custom selinux module
|
- name: copy over our custom selinux module
|
||||||
copy: src=selinux/fedmsg.pp dest=/usr/local/share/fedmsg/fedmsg.pp
|
copy: src=selinux/fedmsg.pp dest=/usr/local/share/fedmsg/fedmsg.pp
|
||||||
register: selinux_module
|
register: selinux_module
|
||||||
|
tags:
|
||||||
|
- anitya/fedmsg
|
||||||
|
|
||||||
- name: install our custom selinux module
|
- name: install our custom selinux module
|
||||||
command: semodule -i /usr/local/share/fedmsg/fedmsg.pp
|
command: semodule -i /usr/local/share/fedmsg/fedmsg.pp
|
||||||
when: selinux_module|changed
|
when: selinux_module|changed
|
||||||
|
tags:
|
||||||
|
- anitya/fedmsg
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue