[mailman] Fix the yamllint issues
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
This commit is contained in:
parent
192c62d22a
commit
523acbbd25
1 changed files with 10 additions and 9 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
# create a new mailman server
|
# create a new mailman server
|
||||||
# NOTE: make sure there is room/space for this server on the vmhost
|
# NOTE: make sure there is room/space for this server on the vmhost
|
||||||
# NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars
|
# NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars
|
||||||
|
@ -9,7 +10,7 @@
|
||||||
- name: make the box be real
|
- name: make the box be real
|
||||||
hosts: mailman_stg:mailman
|
hosts: mailman_stg:mailman
|
||||||
user: root
|
user: root
|
||||||
gather_facts: True
|
gather_facts: true
|
||||||
|
|
||||||
vars_files:
|
vars_files:
|
||||||
- /srv/web/infra/ansible/vars/global.yml
|
- /srv/web/infra/ansible/vars/global.yml
|
||||||
|
@ -21,8 +22,8 @@
|
||||||
- rkhunter
|
- rkhunter
|
||||||
- nagios_client
|
- nagios_client
|
||||||
- hosts
|
- hosts
|
||||||
- { role: openvpn/client,
|
- {role: openvpn/client,
|
||||||
when: env != "staging" }
|
when: env != "staging"}
|
||||||
- ipa/client
|
- ipa/client
|
||||||
- collectd/base
|
- collectd/base
|
||||||
- sudo
|
- sudo
|
||||||
|
@ -86,7 +87,7 @@
|
||||||
- name: setup mailman and hyperkitty
|
- name: setup mailman and hyperkitty
|
||||||
hosts: mailman_stg:mailman
|
hosts: mailman_stg:mailman
|
||||||
user: root
|
user: root
|
||||||
gather_facts: True
|
gather_facts: true
|
||||||
|
|
||||||
vars_files:
|
vars_files:
|
||||||
- /srv/web/infra/ansible/vars/global.yml
|
- /srv/web/infra/ansible/vars/global.yml
|
||||||
|
@ -99,8 +100,8 @@
|
||||||
mailman_hyperkitty_admin_db_pass: "{{ mailman_hk_admin_db_pass }}"
|
mailman_hyperkitty_admin_db_pass: "{{ mailman_hk_admin_db_pass }}"
|
||||||
mailman_hyperkitty_db_pass: "{{ mailman_hk_db_pass }}"
|
mailman_hyperkitty_db_pass: "{{ mailman_hk_db_pass }}"
|
||||||
mailman_hyperkitty_cookie_key: "{{ mailman_hk_cookie_key }}"
|
mailman_hyperkitty_cookie_key: "{{ mailman_hk_cookie_key }}"
|
||||||
- { role: fedmsg/base,
|
- {role: fedmsg/base,
|
||||||
when: env != "staging" }
|
when: env != "staging"}
|
||||||
# Set up for fedora-messaging
|
# Set up for fedora-messaging
|
||||||
- role: rabbit/user
|
- role: rabbit/user
|
||||||
username: "mailman{{ env_suffix }}"
|
username: "mailman{{ env_suffix }}"
|
||||||
|
@ -115,9 +116,9 @@
|
||||||
tags:
|
tags:
|
||||||
- packages
|
- packages
|
||||||
|
|
||||||
#- name: easy access to the postgresql databases
|
# - name: easy access to the postgresql databases
|
||||||
# template: src=$files/mailman/pgpass.j2 dest=/root/.pgpass
|
# template: src=$files/mailman/pgpass.j2 dest=/root/.pgpass
|
||||||
# owner=root group=root mode=0600
|
# owner=root group=root mode=0600
|
||||||
|
|
||||||
- name: start services
|
- name: start services
|
||||||
service: state=started enabled=yes name={{ item }}
|
service: state=started enabled=yes name={{ item }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue