distgit/pagure: Appease yamllint
Signed-off-by: Nils Philippsen <nils@redhat.com>
This commit is contained in:
parent
b1490df609
commit
0adf0869a6
1 changed files with 45 additions and 39 deletions
|
@ -26,7 +26,9 @@
|
||||||
- pagure
|
- pagure
|
||||||
- packages
|
- packages
|
||||||
|
|
||||||
- name: Set httpd_can_network_connect flag on and keep it persistent across reboots so apache can talk to redis
|
- name: >-
|
||||||
|
Set httpd_can_network_connect flag on and keep it persistent across reboots so apache can talk
|
||||||
|
to redis
|
||||||
seboolean:
|
seboolean:
|
||||||
name: httpd_can_network_connect
|
name: httpd_can_network_connect
|
||||||
state: yes
|
state: yes
|
||||||
|
@ -34,35 +36,35 @@
|
||||||
|
|
||||||
# Set-up stunnel for the event source server
|
# Set-up stunnel for the event source server
|
||||||
|
|
||||||
#- name: install stunnel service definition
|
# - name: install stunnel service definition
|
||||||
# copy: src=stunnel.service
|
# copy: src=stunnel.service
|
||||||
# dest=/usr/lib/systemd/system/stunnel.service
|
# dest=/usr/lib/systemd/system/stunnel.service
|
||||||
# owner=root group=root mode=0755
|
# owner=root group=root mode=0755
|
||||||
# notify:
|
# notify:
|
||||||
# - reload systemd
|
# - reload systemd
|
||||||
# - restart stunnel
|
# - restart stunnel
|
||||||
# tags:
|
# tags:
|
||||||
# - pagure
|
# - pagure
|
||||||
# - stunnel
|
# - stunnel
|
||||||
|
|
||||||
#- name: ensure old stunnel init file is gone
|
# - name: ensure old stunnel init file is gone
|
||||||
# file: dest=/etc/init.d/stunnel/stunnel.init state=absent
|
# file: dest=/etc/init.d/stunnel/stunnel.init state=absent
|
||||||
# tags:
|
# tags:
|
||||||
# - pagure
|
# - pagure
|
||||||
# - stunnel
|
# - stunnel
|
||||||
# - config
|
# - config
|
||||||
|
|
||||||
#- name: install stunnel.conf
|
# - name: install stunnel.conf
|
||||||
# template: src={{ item.file }}
|
# template: src={{ item.file }}
|
||||||
# dest={{ item.dest }}
|
# dest={{ item.dest }}
|
||||||
# owner=root group=root mode=0600
|
# owner=root group=root mode=0600
|
||||||
# with_items:
|
# with_items:
|
||||||
# - { file: stunnel-conf.j2, dest: /etc/stunnel/stunnel.conf }
|
# - { file: stunnel-conf.j2, dest: /etc/stunnel/stunnel.conf }
|
||||||
# notify: restart stunnel
|
# notify: restart stunnel
|
||||||
# tags:
|
# tags:
|
||||||
# - pagure
|
# - pagure
|
||||||
# - stunnel
|
# - stunnel
|
||||||
# - config
|
# - config
|
||||||
|
|
||||||
# Set-up Pagure
|
# Set-up Pagure
|
||||||
|
|
||||||
|
@ -121,9 +123,12 @@
|
||||||
dest={{ item.location }}/{{ item.file }}
|
dest={{ item.location }}/{{ item.file }}
|
||||||
owner=pagure group=postfix mode=0640
|
owner=pagure group=postfix mode=0640
|
||||||
with_items:
|
with_items:
|
||||||
- { file: pagure.cfg, location: /etc/pagure }
|
- file: pagure.cfg
|
||||||
- { file: alembic.ini, location: /etc/pagure }
|
location: /etc/pagure
|
||||||
- { file: pagure_plugins.cfg, location: /etc/pagure }
|
- file: alembic.ini
|
||||||
|
location: /etc/pagure
|
||||||
|
- file: pagure_plugins.cfg
|
||||||
|
location: /etc/pagure
|
||||||
tags:
|
tags:
|
||||||
- config
|
- config
|
||||||
- web
|
- web
|
||||||
|
@ -136,7 +141,8 @@
|
||||||
dest={{ item.location }}/{{ item.file }}
|
dest={{ item.location }}/{{ item.file }}
|
||||||
owner=pagure group=packager mode=0640
|
owner=pagure group=packager mode=0640
|
||||||
with_items:
|
with_items:
|
||||||
- { file: pagure_hook.cfg, location: /etc/pagure }
|
- file: pagure_hook.cfg
|
||||||
|
location: /etc/pagure
|
||||||
tags:
|
tags:
|
||||||
- config
|
- config
|
||||||
- web
|
- web
|
||||||
|
@ -148,7 +154,7 @@
|
||||||
command: /usr/bin/python3 /usr/share/pagure/pagure_createdb.py
|
command: /usr/bin/python3 /usr/share/pagure/pagure_createdb.py
|
||||||
changed_when: "1 != 1"
|
changed_when: "1 != 1"
|
||||||
environment:
|
environment:
|
||||||
PAGURE_CONFIG: /etc/pagure/pagure.cfg
|
PAGURE_CONFIG: /etc/pagure/pagure.cfg
|
||||||
tags:
|
tags:
|
||||||
- web
|
- web
|
||||||
- pagure
|
- pagure
|
||||||
|
@ -310,8 +316,8 @@
|
||||||
|
|
||||||
- name: install the configuration file for fedora-messaging
|
- name: install the configuration file for fedora-messaging
|
||||||
template:
|
template:
|
||||||
src=fedora-messaging.toml
|
src=fedora-messaging.toml
|
||||||
dest=/etc/fedora-messaging/config.toml
|
dest=/etc/fedora-messaging/config.toml
|
||||||
tags:
|
tags:
|
||||||
- pagure
|
- pagure
|
||||||
- fedora-messaging
|
- fedora-messaging
|
||||||
|
@ -354,15 +360,15 @@
|
||||||
with_items:
|
with_items:
|
||||||
- httpd
|
- httpd
|
||||||
- postfix
|
- postfix
|
||||||
# - stunnel
|
# - stunnel
|
||||||
- redis
|
- redis
|
||||||
- pagure_ev
|
- pagure_ev
|
||||||
- pagure_logcom
|
- pagure_logcom
|
||||||
# - pagure_milter
|
# - pagure_milter
|
||||||
- pagure_webhook
|
- pagure_webhook
|
||||||
- pagure_worker
|
- pagure_worker
|
||||||
# - pagure_api_key_expire_mail
|
# - pagure_api_key_expire_mail
|
||||||
# - pagure_api_key_expire_mail.timer
|
# - pagure_api_key_expire_mail.timer
|
||||||
tags:
|
tags:
|
||||||
- pagure
|
- pagure
|
||||||
- service
|
- service
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue