Convert sudo to a role so we can include it before roles/plays that use sudo.
This commit is contained in:
parent
7ade030063
commit
ef4a44c44c
45 changed files with 46 additions and 44 deletions
|
@ -16,13 +16,13 @@
|
||||||
- rkhunter
|
- rkhunter
|
||||||
- denyhosts
|
- denyhosts
|
||||||
- fas_client
|
- fas_client
|
||||||
|
- sudo
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
# this is how you include other task lists
|
# this is how you include other task lists
|
||||||
- include: "{{ tasks }}/hosts.yml"
|
- include: "{{ tasks }}/hosts.yml"
|
||||||
- include: "{{ tasks }}/yumrepos.yml"
|
- include: "{{ tasks }}/yumrepos.yml"
|
||||||
- include: "{{ tasks }}/motd.yml"
|
- include: "{{ tasks }}/motd.yml"
|
||||||
- include: "{{ tasks }}/sudo.yml"
|
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- include: "{{ handlers }}/restart_services.yml"
|
- include: "{{ handlers }}/restart_services.yml"
|
||||||
|
|
|
@ -16,13 +16,13 @@
|
||||||
- rkhunter
|
- rkhunter
|
||||||
- denyhosts
|
- denyhosts
|
||||||
- fas_client
|
- fas_client
|
||||||
|
- sudo
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
# this is how you include other task lists
|
# this is how you include other task lists
|
||||||
- include: "{{ tasks }}/hosts.yml"
|
- include: "{{ tasks }}/hosts.yml"
|
||||||
- include: "{{ tasks }}/yumrepos.yml"
|
- include: "{{ tasks }}/yumrepos.yml"
|
||||||
- include: "{{ tasks }}/motd.yml"
|
- include: "{{ tasks }}/motd.yml"
|
||||||
- include: "{{ tasks }}/sudo.yml"
|
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- include: "{{ handlers }}/restart_services.yml"
|
- include: "{{ handlers }}/restart_services.yml"
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
- rkhunter
|
- rkhunter
|
||||||
- denyhosts
|
- denyhosts
|
||||||
- nagios_client
|
- nagios_client
|
||||||
|
- sudo
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
# this is how you include other task lists
|
# this is how you include other task lists
|
||||||
|
@ -24,7 +25,6 @@
|
||||||
- include: "{{ tasks }}/2fa_client.yml"
|
- include: "{{ tasks }}/2fa_client.yml"
|
||||||
- include: "{{ tasks }}/motd.yml"
|
- include: "{{ tasks }}/motd.yml"
|
||||||
- include: "{{ tasks }}/common_scripts.yml"
|
- include: "{{ tasks }}/common_scripts.yml"
|
||||||
- include: "{{ tasks }}/sudo.yml"
|
|
||||||
- include: "{{ tasks }}/koji/releng_config.yml"
|
- include: "{{ tasks }}/koji/releng_config.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
- rkhunter
|
- rkhunter
|
||||||
- denyhosts
|
- denyhosts
|
||||||
- nagios_client
|
- nagios_client
|
||||||
|
- sudo
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
# this is how you include other task lists
|
# this is how you include other task lists
|
||||||
|
@ -24,7 +25,6 @@
|
||||||
- include: "{{ tasks }}/2fa_client.yml"
|
- include: "{{ tasks }}/2fa_client.yml"
|
||||||
- include: "{{ tasks }}/motd.yml"
|
- include: "{{ tasks }}/motd.yml"
|
||||||
- include: "{{ tasks }}/common_scripts.yml"
|
- include: "{{ tasks }}/common_scripts.yml"
|
||||||
- include: "{{ tasks }}/sudo.yml"
|
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- include: "{{ handlers }}/restart_services.yml"
|
- include: "{{ handlers }}/restart_services.yml"
|
||||||
|
|
|
@ -37,13 +37,13 @@
|
||||||
- ask
|
- ask
|
||||||
- fedmsg/base
|
- fedmsg/base
|
||||||
- rsyncd
|
- rsyncd
|
||||||
|
- sudo
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include: "{{ tasks }}/hosts.yml"
|
- include: "{{ tasks }}/hosts.yml"
|
||||||
- include: "{{ tasks }}/yumrepos.yml"
|
- include: "{{ tasks }}/yumrepos.yml"
|
||||||
- include: "{{ tasks }}/2fa_client.yml"
|
- include: "{{ tasks }}/2fa_client.yml"
|
||||||
- include: "{{ tasks }}/motd.yml"
|
- include: "{{ tasks }}/motd.yml"
|
||||||
- include: "{{ tasks }}/sudo.yml"
|
|
||||||
- include: "{{ tasks }}/openvpn_client.yml"
|
- include: "{{ tasks }}/openvpn_client.yml"
|
||||||
when: env != "staging"
|
when: env != "staging"
|
||||||
- include: "{{ tasks }}/apache.yml"
|
- include: "{{ tasks }}/apache.yml"
|
||||||
|
|
|
@ -15,13 +15,13 @@
|
||||||
roles:
|
roles:
|
||||||
- base
|
- base
|
||||||
- fas_client
|
- fas_client
|
||||||
|
- sudo
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include: "{{ tasks }}/hosts.yml"
|
- include: "{{ tasks }}/hosts.yml"
|
||||||
- include: "{{ tasks }}/yumrepos.yml"
|
- include: "{{ tasks }}/yumrepos.yml"
|
||||||
- include: "{{ tasks }}/2fa_client.yml"
|
- include: "{{ tasks }}/2fa_client.yml"
|
||||||
- include: "{{ tasks }}/motd.yml"
|
- include: "{{ tasks }}/motd.yml"
|
||||||
- include: "{{ tasks }}/sudo.yml"
|
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- include: "{{ handlers }}/restart_services.yml"
|
- include: "{{ handlers }}/restart_services.yml"
|
||||||
|
|
|
@ -39,13 +39,13 @@
|
||||||
- fas_client
|
- fas_client
|
||||||
- collectd/base
|
- collectd/base
|
||||||
- autosigner
|
- autosigner
|
||||||
|
- sudo
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include: "{{ tasks }}/hosts.yml"
|
- include: "{{ tasks }}/hosts.yml"
|
||||||
- include: "{{ tasks }}/yumrepos.yml"
|
- include: "{{ tasks }}/yumrepos.yml"
|
||||||
- include: "{{ tasks }}/2fa_client.yml"
|
- include: "{{ tasks }}/2fa_client.yml"
|
||||||
- include: "{{ tasks }}/motd.yml"
|
- include: "{{ tasks }}/motd.yml"
|
||||||
- include: "{{ tasks }}/sudo.yml"
|
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- include: "{{ handlers }}/restart_services.yml"
|
- include: "{{ handlers }}/restart_services.yml"
|
||||||
|
|
|
@ -20,13 +20,13 @@
|
||||||
- denyhosts
|
- denyhosts
|
||||||
- nagios_client
|
- nagios_client
|
||||||
- fas_client
|
- fas_client
|
||||||
|
- sudo
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include: "{{ tasks }}/hosts.yml"
|
- include: "{{ tasks }}/hosts.yml"
|
||||||
- include: "{{ tasks }}/yumrepos.yml"
|
- include: "{{ tasks }}/yumrepos.yml"
|
||||||
- include: "{{ tasks }}/2fa_client.yml"
|
- include: "{{ tasks }}/2fa_client.yml"
|
||||||
- include: "{{ tasks }}/motd.yml"
|
- include: "{{ tasks }}/motd.yml"
|
||||||
- include: "{{ tasks }}/sudo.yml"
|
|
||||||
- include: "{{ tasks }}/rdiff_backup_server.yml"
|
- include: "{{ tasks }}/rdiff_backup_server.yml"
|
||||||
|
|
||||||
- name: Create GNOME backup user
|
- name: Create GNOME backup user
|
||||||
|
|
|
@ -39,13 +39,13 @@
|
||||||
- fas_client
|
- fas_client
|
||||||
- collectd/base
|
- collectd/base
|
||||||
- fedmsg/base
|
- fedmsg/base
|
||||||
|
- sudo
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include: "{{ tasks }}/hosts.yml"
|
- include: "{{ tasks }}/hosts.yml"
|
||||||
- include: "{{ tasks }}/yumrepos.yml"
|
- include: "{{ tasks }}/yumrepos.yml"
|
||||||
- include: "{{ tasks }}/2fa_client.yml"
|
- include: "{{ tasks }}/2fa_client.yml"
|
||||||
- include: "{{ tasks }}/motd.yml"
|
- include: "{{ tasks }}/motd.yml"
|
||||||
- include: "{{ tasks }}/sudo.yml"
|
|
||||||
- include: "{{ tasks }}/openvpn_client.yml"
|
- include: "{{ tasks }}/openvpn_client.yml"
|
||||||
when: env != "staging"
|
when: env != "staging"
|
||||||
|
|
||||||
|
|
|
@ -41,13 +41,13 @@
|
||||||
- badges/frontend
|
- badges/frontend
|
||||||
- fedmsg/base
|
- fedmsg/base
|
||||||
- rsyncd
|
- rsyncd
|
||||||
|
- sudo
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include: "{{ tasks }}/hosts.yml"
|
- include: "{{ tasks }}/hosts.yml"
|
||||||
- include: "{{ tasks }}/yumrepos.yml"
|
- include: "{{ tasks }}/yumrepos.yml"
|
||||||
- include: "{{ tasks }}/2fa_client.yml"
|
- include: "{{ tasks }}/2fa_client.yml"
|
||||||
- include: "{{ tasks }}/motd.yml"
|
- include: "{{ tasks }}/motd.yml"
|
||||||
- include: "{{ tasks }}/sudo.yml"
|
|
||||||
- include: "{{ tasks }}/openvpn_client.yml"
|
- include: "{{ tasks }}/openvpn_client.yml"
|
||||||
when: env != "staging"
|
when: env != "staging"
|
||||||
- include: "{{ tasks }}/apache.yml"
|
- include: "{{ tasks }}/apache.yml"
|
||||||
|
|
|
@ -35,6 +35,7 @@
|
||||||
- nagios_client
|
- nagios_client
|
||||||
- fas_client
|
- fas_client
|
||||||
- collectd/base
|
- collectd/base
|
||||||
|
- sudo
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
# this is how you include other task lists
|
# this is how you include other task lists
|
||||||
|
@ -42,7 +43,6 @@
|
||||||
- include: "{{ tasks }}/yumrepos.yml"
|
- include: "{{ tasks }}/yumrepos.yml"
|
||||||
- include: "{{ tasks }}/2fa_client.yml"
|
- include: "{{ tasks }}/2fa_client.yml"
|
||||||
- include: "{{ tasks }}/motd.yml"
|
- include: "{{ tasks }}/motd.yml"
|
||||||
- include: "{{ tasks }}/sudo.yml"
|
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- include: "{{ handlers }}/restart_services.yml"
|
- include: "{{ handlers }}/restart_services.yml"
|
||||||
|
|
|
@ -37,13 +37,13 @@
|
||||||
- { role: bodhi/masher, epelmasher: true, when: "inventory_hostname.startswith('relepel01')" }
|
- { role: bodhi/masher, epelmasher: true, when: "inventory_hostname.startswith('relepel01')" }
|
||||||
- fedmsg/base
|
- fedmsg/base
|
||||||
- rsyncd
|
- rsyncd
|
||||||
|
- sudo
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include: "{{ tasks }}/hosts.yml"
|
- include: "{{ tasks }}/hosts.yml"
|
||||||
- include: "{{ tasks }}/yumrepos.yml"
|
- include: "{{ tasks }}/yumrepos.yml"
|
||||||
- include: "{{ tasks }}/2fa_client.yml"
|
- include: "{{ tasks }}/2fa_client.yml"
|
||||||
- include: "{{ tasks }}/motd.yml"
|
- include: "{{ tasks }}/motd.yml"
|
||||||
- include: "{{ tasks }}/sudo.yml"
|
|
||||||
- include: "{{ tasks }}/apache.yml"
|
- include: "{{ tasks }}/apache.yml"
|
||||||
- include: "{{ tasks }}/openvpn_client.yml"
|
- include: "{{ tasks }}/openvpn_client.yml"
|
||||||
when: env != "staging"
|
when: env != "staging"
|
||||||
|
|
|
@ -34,6 +34,7 @@
|
||||||
- fas_client
|
- fas_client
|
||||||
- collectd/base
|
- collectd/base
|
||||||
- yum-cron
|
- yum-cron
|
||||||
|
- sudo
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
# this is how you include other task lists
|
# this is how you include other task lists
|
||||||
|
@ -41,7 +42,6 @@
|
||||||
- include: "{{ tasks }}/yumrepos.yml"
|
- include: "{{ tasks }}/yumrepos.yml"
|
||||||
- include: "{{ tasks }}/2fa_client.yml"
|
- include: "{{ tasks }}/2fa_client.yml"
|
||||||
- include: "{{ tasks }}/motd.yml"
|
- include: "{{ tasks }}/motd.yml"
|
||||||
- include: "{{ tasks }}/sudo.yml"
|
|
||||||
- include: "{{ tasks }}/openvpn_client.yml"
|
- include: "{{ tasks }}/openvpn_client.yml"
|
||||||
when: env != "staging"
|
when: env != "staging"
|
||||||
# we want httpd for now, to examine the product directly
|
# we want httpd for now, to examine the product directly
|
||||||
|
|
|
@ -58,13 +58,13 @@
|
||||||
- rsyncd
|
- rsyncd
|
||||||
- { role: nfs/client, when: datacenter == "phx2", mnt_dir: '/srv/pub', nfs_src_dir: 'fedora_ftp/fedora.redhat.com/pub' }
|
- { role: nfs/client, when: datacenter == "phx2", mnt_dir: '/srv/pub', nfs_src_dir: 'fedora_ftp/fedora.redhat.com/pub' }
|
||||||
- { role: nfs/client, when: datacenter == "rdu", mnt_dir: '/srv/pub', nfs_src_dir: 'fedora_ftp/fedora.redhat.com/pub' }
|
- { role: nfs/client, when: datacenter == "rdu", mnt_dir: '/srv/pub', nfs_src_dir: 'fedora_ftp/fedora.redhat.com/pub' }
|
||||||
|
- sudo
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include: "{{ tasks }}/hosts.yml"
|
- include: "{{ tasks }}/hosts.yml"
|
||||||
- include: "{{ tasks }}/yumrepos.yml"
|
- include: "{{ tasks }}/yumrepos.yml"
|
||||||
- include: "{{ tasks }}/2fa_client.yml"
|
- include: "{{ tasks }}/2fa_client.yml"
|
||||||
- include: "{{ tasks }}/motd.yml"
|
- include: "{{ tasks }}/motd.yml"
|
||||||
- include: "{{ tasks }}/sudo.yml"
|
|
||||||
when: env != "staging"
|
when: env != "staging"
|
||||||
- include: "{{ tasks }}/apache.yml"
|
- include: "{{ tasks }}/apache.yml"
|
||||||
- include: "{{ tasks }}/openvpn_client.yml"
|
- include: "{{ tasks }}/openvpn_client.yml"
|
||||||
|
|
|
@ -33,13 +33,13 @@
|
||||||
- nagios_client
|
- nagios_client
|
||||||
- fas_client
|
- fas_client
|
||||||
- rsyncd
|
- rsyncd
|
||||||
|
- sudo
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include: "{{ tasks }}/hosts.yml"
|
- include: "{{ tasks }}/hosts.yml"
|
||||||
- include: "{{ tasks }}/yumrepos.yml"
|
- include: "{{ tasks }}/yumrepos.yml"
|
||||||
- include: "{{ tasks }}/2fa_client.yml"
|
- include: "{{ tasks }}/2fa_client.yml"
|
||||||
- include: "{{ tasks }}/motd.yml"
|
- include: "{{ tasks }}/motd.yml"
|
||||||
- include: "{{ tasks }}/sudo.yml"
|
|
||||||
- include: "{{ tasks }}/openvpn_client.yml"
|
- include: "{{ tasks }}/openvpn_client.yml"
|
||||||
when: env != "staging"
|
when: env != "staging"
|
||||||
- include: "{{ tasks }}/apache.yml"
|
- include: "{{ tasks }}/apache.yml"
|
||||||
|
|
|
@ -38,13 +38,13 @@
|
||||||
- nagios_client
|
- nagios_client
|
||||||
- fas_client
|
- fas_client
|
||||||
- rsyncd
|
- rsyncd
|
||||||
|
- sudo
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include: "{{ tasks }}/hosts.yml"
|
- include: "{{ tasks }}/hosts.yml"
|
||||||
- include: "{{ tasks }}/yumrepos.yml"
|
- include: "{{ tasks }}/yumrepos.yml"
|
||||||
- include: "{{ tasks }}/2fa_client.yml"
|
- include: "{{ tasks }}/2fa_client.yml"
|
||||||
- include: "{{ tasks }}/motd.yml"
|
- include: "{{ tasks }}/motd.yml"
|
||||||
- include: "{{ tasks }}/sudo.yml"
|
|
||||||
- include: "{{ tasks }}/openvpn_client.yml"
|
- include: "{{ tasks }}/openvpn_client.yml"
|
||||||
when: env != "staging"
|
when: env != "staging"
|
||||||
- include: "{{ tasks }}/apache.yml"
|
- include: "{{ tasks }}/apache.yml"
|
||||||
|
|
|
@ -38,13 +38,13 @@
|
||||||
- nagios_client
|
- nagios_client
|
||||||
- fas_client
|
- fas_client
|
||||||
- rsyncd
|
- rsyncd
|
||||||
|
- sudo
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include: "{{ tasks }}/hosts.yml"
|
- include: "{{ tasks }}/hosts.yml"
|
||||||
- include: "{{ tasks }}/yumrepos.yml"
|
- include: "{{ tasks }}/yumrepos.yml"
|
||||||
- include: "{{ tasks }}/2fa_client.yml"
|
- include: "{{ tasks }}/2fa_client.yml"
|
||||||
- include: "{{ tasks }}/motd.yml"
|
- include: "{{ tasks }}/motd.yml"
|
||||||
- include: "{{ tasks }}/sudo.yml"
|
|
||||||
- include: "{{ tasks }}/openvpn_client.yml"
|
- include: "{{ tasks }}/openvpn_client.yml"
|
||||||
when: env != "staging"
|
when: env != "staging"
|
||||||
- include: "{{ tasks }}/apache.yml"
|
- include: "{{ tasks }}/apache.yml"
|
||||||
|
|
|
@ -38,13 +38,13 @@
|
||||||
- nagios_client
|
- nagios_client
|
||||||
- fas_client
|
- fas_client
|
||||||
- fedmsg/base
|
- fedmsg/base
|
||||||
|
- sudo
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include: "{{ tasks }}/hosts.yml"
|
- include: "{{ tasks }}/hosts.yml"
|
||||||
- include: "{{ tasks }}/yumrepos.yml"
|
- include: "{{ tasks }}/yumrepos.yml"
|
||||||
- include: "{{ tasks }}/2fa_client.yml"
|
- include: "{{ tasks }}/2fa_client.yml"
|
||||||
- include: "{{ tasks }}/motd.yml"
|
- include: "{{ tasks }}/motd.yml"
|
||||||
- include: "{{ tasks }}/sudo.yml"
|
|
||||||
- include: "{{ tasks }}/apache.yml"
|
- include: "{{ tasks }}/apache.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
|
|
|
@ -39,6 +39,7 @@
|
||||||
- fas_client
|
- fas_client
|
||||||
- fedmsg/base
|
- fedmsg/base
|
||||||
- keyserver
|
- keyserver
|
||||||
|
- sudo
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include: "{{ tasks }}/hosts.yml"
|
- include: "{{ tasks }}/hosts.yml"
|
||||||
|
@ -46,7 +47,6 @@
|
||||||
- include: "{{ tasks }}/2fa_client.yml"
|
- include: "{{ tasks }}/2fa_client.yml"
|
||||||
- include: "{{ tasks }}/openvpn_client.yml"
|
- include: "{{ tasks }}/openvpn_client.yml"
|
||||||
- include: "{{ tasks }}/motd.yml"
|
- include: "{{ tasks }}/motd.yml"
|
||||||
- include: "{{ tasks }}/sudo.yml"
|
|
||||||
- include: "{{ tasks }}/apache.yml"
|
- include: "{{ tasks }}/apache.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
|
|
|
@ -41,13 +41,13 @@
|
||||||
- { role: koji_builder, when: env == "staging" }
|
- { role: koji_builder, when: env == "staging" }
|
||||||
- { role: nfs/server, when: env == "staging" }
|
- { role: nfs/server, when: env == "staging" }
|
||||||
- koji_hub
|
- koji_hub
|
||||||
|
- sudo
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include: "{{ tasks }}/hosts.yml"
|
- include: "{{ tasks }}/hosts.yml"
|
||||||
- include: "{{ tasks }}/yumrepos.yml"
|
- include: "{{ tasks }}/yumrepos.yml"
|
||||||
- include: "{{ tasks }}/2fa_client.yml"
|
- include: "{{ tasks }}/2fa_client.yml"
|
||||||
- include: "{{ tasks }}/motd.yml"
|
- include: "{{ tasks }}/motd.yml"
|
||||||
- include: "{{ tasks }}/sudo.yml"
|
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- include: "{{ handlers }}/restart_services.yml"
|
- include: "{{ handlers }}/restart_services.yml"
|
||||||
|
|
|
@ -31,13 +31,13 @@
|
||||||
- nagios_client
|
- nagios_client
|
||||||
- fas_client
|
- fas_client
|
||||||
- ansible-server
|
- ansible-server
|
||||||
|
- sudo
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include: "{{ tasks }}/hosts.yml"
|
- include: "{{ tasks }}/hosts.yml"
|
||||||
- include: "{{ tasks }}/yumrepos.yml"
|
- include: "{{ tasks }}/yumrepos.yml"
|
||||||
- include: "{{ tasks }}/2fa_client.yml"
|
- include: "{{ tasks }}/2fa_client.yml"
|
||||||
- include: "{{ tasks }}/motd.yml"
|
- include: "{{ tasks }}/motd.yml"
|
||||||
- include: "{{ tasks }}/sudo.yml"
|
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- include: "{{ handlers }}/restart_services.yml"
|
- include: "{{ handlers }}/restart_services.yml"
|
||||||
|
|
|
@ -39,6 +39,7 @@
|
||||||
- fas_client
|
- fas_client
|
||||||
- collectd/base
|
- collectd/base
|
||||||
- yum-cron
|
- yum-cron
|
||||||
|
- sudo
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
# this is how you include other task lists
|
# this is how you include other task lists
|
||||||
|
@ -46,7 +47,6 @@
|
||||||
- include: "{{ tasks }}/yumrepos.yml"
|
- include: "{{ tasks }}/yumrepos.yml"
|
||||||
- include: "{{ tasks }}/2fa_client.yml"
|
- include: "{{ tasks }}/2fa_client.yml"
|
||||||
- include: "{{ tasks }}/motd.yml"
|
- include: "{{ tasks }}/motd.yml"
|
||||||
- include: "{{ tasks }}/sudo.yml"
|
|
||||||
- include: "{{ tasks }}/apache.yml"
|
- include: "{{ tasks }}/apache.yml"
|
||||||
- include: "{{ tasks }}/mod_wsgi.yml"
|
- include: "{{ tasks }}/mod_wsgi.yml"
|
||||||
- include: "{{ tasks }}/openvpn_client.yml"
|
- include: "{{ tasks }}/openvpn_client.yml"
|
||||||
|
|
|
@ -40,6 +40,7 @@
|
||||||
- fas_client
|
- fas_client
|
||||||
- collectd/base
|
- collectd/base
|
||||||
- mirrorlist
|
- mirrorlist
|
||||||
|
- sudo
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
# this is how you include other task lists
|
# this is how you include other task lists
|
||||||
|
@ -48,7 +49,6 @@
|
||||||
- include: "{{ tasks }}/2fa_client.yml"
|
- include: "{{ tasks }}/2fa_client.yml"
|
||||||
- include: "{{ tasks }}/openvpn_client.yml"
|
- include: "{{ tasks }}/openvpn_client.yml"
|
||||||
- include: "{{ tasks }}/motd.yml"
|
- include: "{{ tasks }}/motd.yml"
|
||||||
- include: "{{ tasks }}/sudo.yml"
|
|
||||||
- include: "{{ tasks }}/apache.yml"
|
- include: "{{ tasks }}/apache.yml"
|
||||||
- include: "{{ tasks }}/mod_wsgi.yml"
|
- include: "{{ tasks }}/mod_wsgi.yml"
|
||||||
|
|
||||||
|
|
|
@ -39,13 +39,13 @@
|
||||||
- fas_client
|
- fas_client
|
||||||
- collectd/base
|
- collectd/base
|
||||||
- fedmsg/base
|
- fedmsg/base
|
||||||
|
- sudo
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include: "{{ tasks }}/hosts.yml"
|
- include: "{{ tasks }}/hosts.yml"
|
||||||
- include: "{{ tasks }}/yumrepos.yml"
|
- include: "{{ tasks }}/yumrepos.yml"
|
||||||
- include: "{{ tasks }}/2fa_client.yml"
|
- include: "{{ tasks }}/2fa_client.yml"
|
||||||
- include: "{{ tasks }}/motd.yml"
|
- include: "{{ tasks }}/motd.yml"
|
||||||
- include: "{{ tasks }}/sudo.yml"
|
|
||||||
# The proxies don't actually need to talk to these hosts so we won't bother
|
# The proxies don't actually need to talk to these hosts so we won't bother
|
||||||
# putting them on the vpn.
|
# putting them on the vpn.
|
||||||
#- include: "{{ tasks }}/openvpn_client.yml"
|
#- include: "{{ tasks }}/openvpn_client.yml"
|
||||||
|
|
|
@ -40,13 +40,13 @@
|
||||||
- collectd/base
|
- collectd/base
|
||||||
- fedmsg/base
|
- fedmsg/base
|
||||||
- notifs/frontend
|
- notifs/frontend
|
||||||
|
- sudo
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include: "{{ tasks }}/hosts.yml"
|
- include: "{{ tasks }}/hosts.yml"
|
||||||
- include: "{{ tasks }}/yumrepos.yml"
|
- include: "{{ tasks }}/yumrepos.yml"
|
||||||
- include: "{{ tasks }}/2fa_client.yml"
|
- include: "{{ tasks }}/2fa_client.yml"
|
||||||
- include: "{{ tasks }}/motd.yml"
|
- include: "{{ tasks }}/motd.yml"
|
||||||
- include: "{{ tasks }}/sudo.yml"
|
|
||||||
- include: "{{ tasks }}/openvpn_client.yml"
|
- include: "{{ tasks }}/openvpn_client.yml"
|
||||||
when: env != "staging"
|
when: env != "staging"
|
||||||
- include: "{{ tasks }}/apache.yml"
|
- include: "{{ tasks }}/apache.yml"
|
||||||
|
|
|
@ -38,13 +38,13 @@
|
||||||
- nagios_client
|
- nagios_client
|
||||||
- fas_client
|
- fas_client
|
||||||
- collectd/base
|
- collectd/base
|
||||||
|
- sudo
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include: "{{ tasks }}/hosts.yml"
|
- include: "{{ tasks }}/hosts.yml"
|
||||||
- include: "{{ tasks }}/yumrepos.yml"
|
- include: "{{ tasks }}/yumrepos.yml"
|
||||||
- include: "{{ tasks }}/2fa_client.yml"
|
- include: "{{ tasks }}/2fa_client.yml"
|
||||||
- include: "{{ tasks }}/motd.yml"
|
- include: "{{ tasks }}/motd.yml"
|
||||||
- include: "{{ tasks }}/sudo.yml"
|
|
||||||
- include: "{{ tasks }}/openvpn_client.yml"
|
- include: "{{ tasks }}/openvpn_client.yml"
|
||||||
when: env != "staging"
|
when: env != "staging"
|
||||||
- include: "{{ tasks }}/apache.yml"
|
- include: "{{ tasks }}/apache.yml"
|
||||||
|
|
|
@ -39,13 +39,13 @@
|
||||||
- fas_client
|
- fas_client
|
||||||
- collectd/base
|
- collectd/base
|
||||||
- rsyncd
|
- rsyncd
|
||||||
|
- sudo
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include: "{{ tasks }}/hosts.yml"
|
- include: "{{ tasks }}/hosts.yml"
|
||||||
- include: "{{ tasks }}/yumrepos.yml"
|
- include: "{{ tasks }}/yumrepos.yml"
|
||||||
- include: "{{ tasks }}/2fa_client.yml"
|
- include: "{{ tasks }}/2fa_client.yml"
|
||||||
- include: "{{ tasks }}/motd.yml"
|
- include: "{{ tasks }}/motd.yml"
|
||||||
- include: "{{ tasks }}/sudo.yml"
|
|
||||||
- include: "{{ tasks }}/openvpn_client.yml"
|
- include: "{{ tasks }}/openvpn_client.yml"
|
||||||
when: env != "staging"
|
when: env != "staging"
|
||||||
- include: "{{ tasks }}/apache.yml"
|
- include: "{{ tasks }}/apache.yml"
|
||||||
|
|
|
@ -36,13 +36,13 @@
|
||||||
- collectd/base
|
- collectd/base
|
||||||
- paste
|
- paste
|
||||||
- rsyncd
|
- rsyncd
|
||||||
|
- sudo
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include: "{{ tasks }}/hosts.yml"
|
- include: "{{ tasks }}/hosts.yml"
|
||||||
- include: "{{ tasks }}/yumrepos.yml"
|
- include: "{{ tasks }}/yumrepos.yml"
|
||||||
- include: "{{ tasks }}/2fa_client.yml"
|
- include: "{{ tasks }}/2fa_client.yml"
|
||||||
- include: "{{ tasks }}/motd.yml"
|
- include: "{{ tasks }}/motd.yml"
|
||||||
- include: "{{ tasks }}/sudo.yml"
|
|
||||||
- include: "{{ tasks }}/openvpn_client.yml"
|
- include: "{{ tasks }}/openvpn_client.yml"
|
||||||
when: env != "staging"
|
when: env != "staging"
|
||||||
- include: "{{ tasks }}/apache.yml"
|
- include: "{{ tasks }}/apache.yml"
|
||||||
|
|
|
@ -38,13 +38,13 @@
|
||||||
- nagios_client
|
- nagios_client
|
||||||
- fas_client
|
- fas_client
|
||||||
- collectd/base
|
- collectd/base
|
||||||
|
- sudo
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include: "{{ tasks }}/hosts.yml"
|
- include: "{{ tasks }}/hosts.yml"
|
||||||
- include: "{{ tasks }}/yumrepos.yml"
|
- include: "{{ tasks }}/yumrepos.yml"
|
||||||
- include: "{{ tasks }}/2fa_client.yml"
|
- include: "{{ tasks }}/2fa_client.yml"
|
||||||
- include: "{{ tasks }}/motd.yml"
|
- include: "{{ tasks }}/motd.yml"
|
||||||
- include: "{{ tasks }}/sudo.yml"
|
|
||||||
- include: "{{ tasks }}/openvpn_client.yml"
|
- include: "{{ tasks }}/openvpn_client.yml"
|
||||||
when: env != "staging"
|
when: env != "staging"
|
||||||
- include: "{{ tasks }}/apache.yml"
|
- include: "{{ tasks }}/apache.yml"
|
||||||
|
|
|
@ -41,13 +41,13 @@
|
||||||
- postgresql_server
|
- postgresql_server
|
||||||
- collectd/base
|
- collectd/base
|
||||||
- collectd/postgres # This requires a 'databases' var to be set in host_vars
|
- collectd/postgres # This requires a 'databases' var to be set in host_vars
|
||||||
|
- sudo
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include: "{{ tasks }}/hosts.yml"
|
- include: "{{ tasks }}/hosts.yml"
|
||||||
- include: "{{ tasks }}/yumrepos.yml"
|
- include: "{{ tasks }}/yumrepos.yml"
|
||||||
- include: "{{ tasks }}/2fa_client.yml"
|
- include: "{{ tasks }}/2fa_client.yml"
|
||||||
- include: "{{ tasks }}/motd.yml"
|
- include: "{{ tasks }}/motd.yml"
|
||||||
- include: "{{ tasks }}/sudo.yml"
|
|
||||||
|
|
||||||
# TODO: add iscsi task
|
# TODO: add iscsi task
|
||||||
|
|
||||||
|
|
|
@ -38,6 +38,7 @@
|
||||||
- { role: fas_client, tags:['fas_client'] }
|
- { role: fas_client, tags:['fas_client'] }
|
||||||
- { role: collectd/base, tags:['collectd_base'] }
|
- { role: collectd/base, tags:['collectd_base'] }
|
||||||
- { role: yum-cron, tags:['yumcron'] }
|
- { role: yum-cron, tags:['yumcron'] }
|
||||||
|
- { role: sudo, tags:['sudo'] }
|
||||||
- { role: taskotron/resultsdb-backend, tags: ['resultsdb-be'] }
|
- { role: taskotron/resultsdb-backend, tags: ['resultsdb-be'] }
|
||||||
- { role: taskotron/resultsdb-frontend, tags: ['resultsdb-fe'] }
|
- { role: taskotron/resultsdb-frontend, tags: ['resultsdb-fe'] }
|
||||||
|
|
||||||
|
@ -47,7 +48,6 @@
|
||||||
- include: "{{ tasks }}/yumrepos.yml"
|
- include: "{{ tasks }}/yumrepos.yml"
|
||||||
- include: "{{ tasks }}/2fa_client.yml"
|
- include: "{{ tasks }}/2fa_client.yml"
|
||||||
- include: "{{ tasks }}/motd.yml"
|
- include: "{{ tasks }}/motd.yml"
|
||||||
- include: "{{ tasks }}/sudo.yml"
|
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- include: "{{ handlers }}/restart_services.yml"
|
- include: "{{ handlers }}/restart_services.yml"
|
||||||
|
|
|
@ -34,13 +34,13 @@
|
||||||
- nagios_client
|
- nagios_client
|
||||||
- fas_client
|
- fas_client
|
||||||
- collectd/base
|
- collectd/base
|
||||||
|
- sudo
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include: "{{ tasks }}/hosts.yml"
|
- include: "{{ tasks }}/hosts.yml"
|
||||||
- include: "{{ tasks }}/yumrepos.yml"
|
- include: "{{ tasks }}/yumrepos.yml"
|
||||||
- include: "{{ tasks }}/2fa_client.yml"
|
- include: "{{ tasks }}/2fa_client.yml"
|
||||||
- include: "{{ tasks }}/motd.yml"
|
- include: "{{ tasks }}/motd.yml"
|
||||||
- include: "{{ tasks }}/sudo.yml"
|
|
||||||
- include: "{{ tasks }}/openvpn_client.yml"
|
- include: "{{ tasks }}/openvpn_client.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
|
|
|
@ -38,13 +38,13 @@
|
||||||
- nagios_client
|
- nagios_client
|
||||||
- collectd/base
|
- collectd/base
|
||||||
- fas_client
|
- fas_client
|
||||||
|
- sudo
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include: "{{ tasks }}/hosts.yml"
|
- include: "{{ tasks }}/hosts.yml"
|
||||||
- include: "{{ tasks }}/yumrepos.yml"
|
- include: "{{ tasks }}/yumrepos.yml"
|
||||||
- include: "{{ tasks }}/2fa_client.yml"
|
- include: "{{ tasks }}/2fa_client.yml"
|
||||||
- include: "{{ tasks }}/motd.yml"
|
- include: "{{ tasks }}/motd.yml"
|
||||||
- include: "{{ tasks }}/sudo.yml"
|
|
||||||
# The proxies don't actually need to talk to these hosts so we won't bother
|
# The proxies don't actually need to talk to these hosts so we won't bother
|
||||||
# putting them on the vpn.
|
# putting them on the vpn.
|
||||||
#- include: "{{ tasks }}/openvpn_client.yml"
|
#- include: "{{ tasks }}/openvpn_client.yml"
|
||||||
|
|
|
@ -49,13 +49,13 @@
|
||||||
- rsyncd
|
- rsyncd
|
||||||
- mirrormanager/frontend
|
- mirrormanager/frontend
|
||||||
- freemedia
|
- freemedia
|
||||||
|
- sudo
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include: "{{ tasks }}/hosts.yml"
|
- include: "{{ tasks }}/hosts.yml"
|
||||||
- include: "{{ tasks }}/yumrepos.yml"
|
- include: "{{ tasks }}/yumrepos.yml"
|
||||||
- include: "{{ tasks }}/2fa_client.yml"
|
- include: "{{ tasks }}/2fa_client.yml"
|
||||||
- include: "{{ tasks }}/motd.yml"
|
- include: "{{ tasks }}/motd.yml"
|
||||||
- include: "{{ tasks }}/sudo.yml"
|
|
||||||
- include: "{{ tasks }}/apache.yml"
|
- include: "{{ tasks }}/apache.yml"
|
||||||
- include: "{{ tasks }}/mod_wsgi.yml"
|
- include: "{{ tasks }}/mod_wsgi.yml"
|
||||||
- include: "{{ tasks }}/openvpn_client.yml"
|
- include: "{{ tasks }}/openvpn_client.yml"
|
||||||
|
|
|
@ -40,13 +40,13 @@
|
||||||
- fas_client
|
- fas_client
|
||||||
- collectd/base
|
- collectd/base
|
||||||
- rsyncd
|
- rsyncd
|
||||||
|
- sudo
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include: "{{ tasks }}/hosts.yml"
|
- include: "{{ tasks }}/hosts.yml"
|
||||||
- include: "{{ tasks }}/yumrepos.yml"
|
- include: "{{ tasks }}/yumrepos.yml"
|
||||||
- include: "{{ tasks }}/2fa_client.yml"
|
- include: "{{ tasks }}/2fa_client.yml"
|
||||||
- include: "{{ tasks }}/motd.yml"
|
- include: "{{ tasks }}/motd.yml"
|
||||||
- include: "{{ tasks }}/sudo.yml"
|
|
||||||
- include: "{{ tasks }}/openvpn_client.yml"
|
- include: "{{ tasks }}/openvpn_client.yml"
|
||||||
when: env != "staging"
|
when: env != "staging"
|
||||||
- include: "{{ tasks }}/apache.yml"
|
- include: "{{ tasks }}/apache.yml"
|
||||||
|
|
|
@ -37,6 +37,7 @@
|
||||||
- fas_client
|
- fas_client
|
||||||
- collectd/base
|
- collectd/base
|
||||||
- yum-cron
|
- yum-cron
|
||||||
|
- sudo
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
# this is how you include other task lists
|
# this is how you include other task lists
|
||||||
|
@ -44,7 +45,6 @@
|
||||||
- include: "{{ tasks }}/yumrepos.yml"
|
- include: "{{ tasks }}/yumrepos.yml"
|
||||||
- include: "{{ tasks }}/2fa_client.yml"
|
- include: "{{ tasks }}/2fa_client.yml"
|
||||||
- include: "{{ tasks }}/motd.yml"
|
- include: "{{ tasks }}/motd.yml"
|
||||||
- include: "{{ tasks }}/sudo.yml"
|
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- include: "{{ handlers }}/restart_services.yml"
|
- include: "{{ handlers }}/restart_services.yml"
|
||||||
|
|
|
@ -35,13 +35,13 @@
|
||||||
- fas_client
|
- fas_client
|
||||||
- collectd/base
|
- collectd/base
|
||||||
- unbound
|
- unbound
|
||||||
|
- sudo
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include: "{{ tasks }}/hosts.yml"
|
- include: "{{ tasks }}/hosts.yml"
|
||||||
- include: "{{ tasks }}/yumrepos.yml"
|
- include: "{{ tasks }}/yumrepos.yml"
|
||||||
- include: "{{ tasks }}/2fa_client.yml"
|
- include: "{{ tasks }}/2fa_client.yml"
|
||||||
- include: "{{ tasks }}/motd.yml"
|
- include: "{{ tasks }}/motd.yml"
|
||||||
- include: "{{ tasks }}/sudo.yml"
|
|
||||||
- include: "{{ tasks }}/openvpn_client.yml"
|
- include: "{{ tasks }}/openvpn_client.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
|
|
|
@ -37,13 +37,13 @@
|
||||||
- fedmsg/base
|
- fedmsg/base
|
||||||
- fedmsg/irc
|
- fedmsg/irc
|
||||||
- supybot
|
- supybot
|
||||||
|
- sudo
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include: "{{ tasks }}/hosts.yml"
|
- include: "{{ tasks }}/hosts.yml"
|
||||||
- include: "{{ tasks }}/yumrepos.yml"
|
- include: "{{ tasks }}/yumrepos.yml"
|
||||||
- include: "{{ tasks }}/2fa_client.yml"
|
- include: "{{ tasks }}/2fa_client.yml"
|
||||||
- include: "{{ tasks }}/motd.yml"
|
- include: "{{ tasks }}/motd.yml"
|
||||||
- include: "{{ tasks }}/sudo.yml"
|
|
||||||
- include: "{{ tasks }}/openvpn_client.yml"
|
- include: "{{ tasks }}/openvpn_client.yml"
|
||||||
when: env != "staging"
|
when: env != "staging"
|
||||||
- include: "{{ tasks }}/apache.yml"
|
- include: "{{ tasks }}/apache.yml"
|
||||||
|
|
|
@ -21,13 +21,13 @@
|
||||||
- fas_client
|
- fas_client
|
||||||
- collectd/base
|
- collectd/base
|
||||||
- { role: iscsi_client, when: datacenter == "phx2" }
|
- { role: iscsi_client, when: datacenter == "phx2" }
|
||||||
|
- sudo
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include: "{{ tasks }}/hosts.yml"
|
- include: "{{ tasks }}/hosts.yml"
|
||||||
- include: "{{ tasks }}/yumrepos.yml"
|
- include: "{{ tasks }}/yumrepos.yml"
|
||||||
- include: "{{ tasks }}/2fa_client.yml"
|
- include: "{{ tasks }}/2fa_client.yml"
|
||||||
- include: "{{ tasks }}/motd.yml"
|
- include: "{{ tasks }}/motd.yml"
|
||||||
- include: "{{ tasks }}/sudo.yml"
|
|
||||||
- include: "{{ tasks }}/openvpn_client.yml"
|
- include: "{{ tasks }}/openvpn_client.yml"
|
||||||
when: datacenter != 'phx2'
|
when: datacenter != 'phx2'
|
||||||
- include: "{{ tasks }}/virthost.yml"
|
- include: "{{ tasks }}/virthost.yml"
|
||||||
|
|
|
@ -42,13 +42,13 @@
|
||||||
- { role: nfs/client, when: env == "staging", mnt_dir: '/mnt/web/attachments', nfs_src_dir: 'fedora_app_staging/app/attachments' }
|
- { role: nfs/client, when: env == "staging", mnt_dir: '/mnt/web/attachments', nfs_src_dir: 'fedora_app_staging/app/attachments' }
|
||||||
- { role: nfs/client, when: env != "staging", mnt_dir: '/mnt/web/attachments', nfs_src_dir: 'fedora_app/app/attachments' }
|
- { role: nfs/client, when: env != "staging", mnt_dir: '/mnt/web/attachments', nfs_src_dir: 'fedora_app/app/attachments' }
|
||||||
- mediawiki
|
- mediawiki
|
||||||
|
- sudo
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include: "{{ tasks }}/hosts.yml"
|
- include: "{{ tasks }}/hosts.yml"
|
||||||
- include: "{{ tasks }}/yumrepos.yml"
|
- include: "{{ tasks }}/yumrepos.yml"
|
||||||
- include: "{{ tasks }}/2fa_client.yml"
|
- include: "{{ tasks }}/2fa_client.yml"
|
||||||
- include: "{{ tasks }}/motd.yml"
|
- include: "{{ tasks }}/motd.yml"
|
||||||
- include: "{{ tasks }}/sudo.yml"
|
|
||||||
- include: "{{ tasks }}/apache.yml"
|
- include: "{{ tasks }}/apache.yml"
|
||||||
- include: "{{ tasks }}/openvpn_client.yml"
|
- include: "{{ tasks }}/openvpn_client.yml"
|
||||||
when: env != "staging"
|
when: env != "staging"
|
||||||
|
|
|
@ -22,13 +22,15 @@
|
||||||
vars:
|
vars:
|
||||||
- mailman_vardir: /srv/persist/mailman
|
- mailman_vardir: /srv/persist/mailman
|
||||||
|
|
||||||
|
roles:
|
||||||
|
- sudo
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include: "{{ tasks }}/cloud_setup_basic.yml"
|
- include: "{{ tasks }}/cloud_setup_basic.yml"
|
||||||
- include: "{{ tasks }}/postfix_basic.yml"
|
- include: "{{ tasks }}/postfix_basic.yml"
|
||||||
- include: "{{ tasks }}/hosts.yml"
|
- include: "{{ tasks }}/hosts.yml"
|
||||||
- include: "{{ tasks }}/yumrepos.yml"
|
- include: "{{ tasks }}/yumrepos.yml"
|
||||||
- include: "{{ tasks }}/motd.yml"
|
- include: "{{ tasks }}/motd.yml"
|
||||||
- include: "{{ tasks }}/sudo.yml"
|
|
||||||
- include: "{{ tasks }}/apache.yml"
|
- include: "{{ tasks }}/apache.yml"
|
||||||
- include: "{{ tasks }}/mod_wsgi.yml"
|
- include: "{{ tasks }}/mod_wsgi.yml"
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,7 @@
|
||||||
- denyhosts
|
- denyhosts
|
||||||
- nagios_client
|
- nagios_client
|
||||||
- fas_client
|
- fas_client
|
||||||
|
- sudo
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
# this is how you include other task lists
|
# this is how you include other task lists
|
||||||
|
@ -25,7 +26,6 @@
|
||||||
- include: "{{ tasks }}/yumrepos.yml"
|
- include: "{{ tasks }}/yumrepos.yml"
|
||||||
- include: "{{ tasks }}/2fa_client.yml"
|
- include: "{{ tasks }}/2fa_client.yml"
|
||||||
- include: "{{ tasks }}/motd.yml"
|
- include: "{{ tasks }}/motd.yml"
|
||||||
- include: "{{ tasks }}/sudo.yml"
|
|
||||||
|
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
|
|
|
@ -37,13 +37,13 @@
|
||||||
- nagios_client
|
- nagios_client
|
||||||
- fas_client
|
- fas_client
|
||||||
- collectd/base
|
- collectd/base
|
||||||
|
- sudo
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include: "{{ tasks }}/hosts.yml"
|
- include: "{{ tasks }}/hosts.yml"
|
||||||
- include: "{{ tasks }}/yumrepos.yml"
|
- include: "{{ tasks }}/yumrepos.yml"
|
||||||
- include: "{{ tasks }}/2fa_client.yml"
|
- include: "{{ tasks }}/2fa_client.yml"
|
||||||
- include: "{{ tasks }}/motd.yml"
|
- include: "{{ tasks }}/motd.yml"
|
||||||
- include: "{{ tasks }}/sudo.yml"
|
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- include: "{{ handlers }}/restart_services.yml"
|
- include: "{{ handlers }}/restart_services.yml"
|
||||||
|
|
|
@ -37,13 +37,13 @@
|
||||||
- nagios_client
|
- nagios_client
|
||||||
- fas_client
|
- fas_client
|
||||||
- collectd/base
|
- collectd/base
|
||||||
|
- sudo
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include: "{{ tasks }}/hosts.yml"
|
- include: "{{ tasks }}/hosts.yml"
|
||||||
- include: "{{ tasks }}/yumrepos.yml"
|
- include: "{{ tasks }}/yumrepos.yml"
|
||||||
- include: "{{ tasks }}/2fa_client.yml"
|
- include: "{{ tasks }}/2fa_client.yml"
|
||||||
- include: "{{ tasks }}/motd.yml"
|
- include: "{{ tasks }}/motd.yml"
|
||||||
- include: "{{ tasks }}/sudo.yml"
|
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- include: "{{ handlers }}/restart_services.yml"
|
- include: "{{ handlers }}/restart_services.yml"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue