switch all the include tasks to import tasks
This commit is contained in:
parent
b70d78b318
commit
afef097a3d
208 changed files with 612 additions and 612 deletions
playbooks
check-host.ymlcloud_prep.yml
groups
anitya.ymlarm-qa.ymlask.ymlautocloud-backend.ymlautocloud-web.ymlbackup-server.ymlbadges-backend.ymlbadges-web.ymlbasset.ymlbastion.ymlbatcave.ymlbeaker-virthosts.ymlbeaker.ymlblockerbugs.ymlbodhi-backend.ymlbodhi2.ymlbugyou.ymlbugzilla2fedmsg.ymlbuildhw.ymlbuildvm.ymlbusgateway.ymlcertgetter.ymlci.ymlcopr-backend.ymlcopr-dist-git.ymlcopr-frontend.ymlcopr-keygen.ymldarkserver-backend.ymldarkserver-web.ymldarkserver.ymldatagrepper.ymldhcp.ymldns.ymldocker-registry.ymldownload.ymlelections.ymlfas.ymlfas3.ymlfedimg.ymlfedocal.ymlfreshmaker.ymlgithub2fedmsg.ymlgnome-backups.ymlhotness.ymlinfinote.ymlipa.ymlipsilon.ymljenkins-master.ymljenkins-slave.ymlkerneltest.ymlkeyserver.ymlkoji-hub.ymlkojipkgs.ymlkoschei-backend.ymlkoschei-web.ymllogserver.ymlloopabull.ymlmailman.ymlmaintainer-test.ymlmariadb-server.ymlmbs.ymlmdapi.ymlmemcached.ymlmirrorlist2.ymlmirrormanager.ymlmodernpaste.ymlnoc.ymlnotifs-backend.ymlnotifs-web.ymlnuancier.ymlodcs.ymlopenqa-workers.ymlopenqa.ymlopenstack-compute-nodes.ymlos-cluster.ymlosbs-cluster.ymlosbs-orchestrator-cluster.ymlpackages.ymlpagure.ymlpdc.ymlpeople.ymlpiwik.ymlpkgdb.ymlpkgs.ymlpostgresql-server-bdr.ymlpostgresql-server.ymlproxies.ymlqa.ymlreleng-compose.ymlresultsdb-dev.ymlresultsdb-prod.ymlresultsdb-stg.ymlretrace.ymlsecondary.ymlsign-bridge.ymlsmtp-mm.ymlstatscache.ymlsummershum.yml
|
@ -266,4 +266,4 @@
|
||||||
|
|
||||||
# handlers:
|
# handlers:
|
||||||
# - import_tasks: "{{ handlers_path }}/restart_services.yml"
|
# - import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
# - include_tasks: "restart_services.yml"
|
# - import_tasks: "restart_services.yml"
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/cloud_setup_basic.yml"
|
- import_tasks: "{{ tasks_path }}/cloud_setup_basic.yml"
|
||||||
|
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
|
|
|
@ -22,9 +22,9 @@
|
||||||
- openvpn/client
|
- openvpn/client
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||||
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- base
|
- base
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
# this is how you include other task lists
|
# this is how you include other task lists
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -26,9 +26,9 @@
|
||||||
when: env != "staging" }
|
when: env != "staging" }
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||||
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- base
|
- base
|
||||||
|
@ -24,8 +24,8 @@
|
||||||
- sudo
|
- sudo
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||||
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- base
|
- base
|
||||||
|
@ -27,8 +27,8 @@
|
||||||
when: env != "staging"
|
when: env != "staging"
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -29,10 +29,10 @@
|
||||||
- grokmirror_mirror
|
- grokmirror_mirror
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/rdiff_backup_server.yml"
|
- import_tasks: "{{ tasks_path }}/rdiff_backup_server.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -28,9 +28,9 @@
|
||||||
when: env != "staging" }
|
when: env != "staging" }
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -39,9 +39,9 @@
|
||||||
interval: 10
|
interval: 10
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -30,9 +30,9 @@
|
||||||
- basset/worker
|
- basset/worker
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -23,9 +23,9 @@
|
||||||
- opendkim
|
- opendkim
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -34,9 +34,9 @@
|
||||||
- { role: nfs/client, mnt_dir: '/mnt/fedora/app', nfs_src_dir: 'fedora_app/app' }
|
- { role: nfs/client, mnt_dir: '/mnt/fedora/app', nfs_src_dir: 'fedora_app/app' }
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -27,9 +27,9 @@
|
||||||
- { role: beaker/virthost, tags: ['beakervirthost'] }
|
- { role: beaker/virthost, tags: ['beakervirthost'] }
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -28,9 +28,9 @@
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
# this is how you include other task lists
|
# this is how you include other task lists
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -26,9 +26,9 @@
|
||||||
- blockerbugs
|
- blockerbugs
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -77,9 +77,9 @@
|
||||||
file: src=/mnt/fedora_koji_prod/koji dest=/mnt/koji/vol/prod state=link
|
file: src=/mnt/fedora_koji_prod/koji dest=/mnt/koji/vol/prod state=link
|
||||||
tags: bodhi
|
tags: bodhi
|
||||||
when: env == 'staging'
|
when: env == 'staging'
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -41,9 +41,9 @@
|
||||||
when: env == "staging"
|
when: env == "staging"
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -25,9 +25,9 @@
|
||||||
- sudo
|
- sudo
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -26,9 +26,9 @@
|
||||||
- fedmsg/base
|
- fedmsg/base
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -13,8 +13,8 @@
|
||||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||||
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/osbs_certs.yml"
|
- import_tasks: "{{ tasks_path }}/osbs_certs.yml"
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- base
|
- base
|
||||||
|
@ -29,9 +29,9 @@
|
||||||
service: compile
|
service: compile
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
when: not inventory_hostname.startswith('bkernel')
|
when: not inventory_hostname.startswith('bkernel')
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
when: not inventory_hostname.startswith('bkernel')
|
when: not inventory_hostname.startswith('bkernel')
|
||||||
|
|
||||||
- name: make sure kojid is running
|
- name: make sure kojid is running
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||||
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- base
|
- base
|
||||||
|
@ -42,9 +42,9 @@
|
||||||
when: env == "staging"
|
when: env == "staging"
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
when: not inventory_hostname.startswith('bkernel')
|
when: not inventory_hostname.startswith('bkernel')
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
when: not inventory_hostname.startswith('bkernel')
|
when: not inventory_hostname.startswith('bkernel')
|
||||||
|
|
||||||
- name: make sure kojid is running
|
- name: make sure kojid is running
|
||||||
|
@ -66,8 +66,8 @@
|
||||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||||
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/osbs_certs.yml"
|
- import_tasks: "{{ tasks_path }}/osbs_certs.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/osbs_repos.yml"
|
- import_tasks: "{{ tasks_path }}/osbs_repos.yml"
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- {
|
- {
|
||||||
|
|
|
@ -23,9 +23,9 @@
|
||||||
when: env != "staging" }
|
when: env != "staging" }
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -22,9 +22,9 @@
|
||||||
when: env != "staging" }
|
when: env != "staging" }
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -32,9 +32,9 @@
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
# this is how you include other task lists
|
# this is how you include other task lists
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
- /srv/web/infra/ansible/vars/fedora-cloud.yml
|
- /srv/web/infra/ansible/vars/fedora-cloud.yml
|
||||||
- /srv/private/ansible/files/openstack/passwords.yml
|
- /srv/private/ansible/files/openstack/passwords.yml
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/persistent_cloud.yml"
|
- import_tasks: "{{ tasks_path }}/persistent_cloud.yml"
|
||||||
|
|
||||||
- name: cloud basic setup
|
- name: cloud basic setup
|
||||||
hosts: copr-back:copr-back-stg
|
hosts: copr-back:copr-back-stg
|
||||||
|
@ -21,8 +21,8 @@
|
||||||
- /srv/private/ansible/vars.yml
|
- /srv/private/ansible/vars.yml
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/cloud_setup_basic.yml"
|
- import_tasks: "{{ tasks_path }}/cloud_setup_basic.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
|
|
||||||
- name: set hostname (required by some services, at least postfix need it)
|
- name: set hostname (required by some services, at least postfix need it)
|
||||||
hostname: name="{{copr_hostbase}}.cloud.fedoraproject.org"
|
hostname: name="{{copr_hostbase}}.cloud.fedoraproject.org"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
- /srv/private/ansible/files/openstack/passwords.yml
|
- /srv/private/ansible/files/openstack/passwords.yml
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/persistent_cloud.yml"
|
- import_tasks: "{{ tasks_path }}/persistent_cloud.yml"
|
||||||
|
|
||||||
- name: cloud basic setup
|
- name: cloud basic setup
|
||||||
hosts: copr-dist-git-stg:copr-dist-git
|
hosts: copr-dist-git-stg:copr-dist-git
|
||||||
|
@ -21,8 +21,8 @@
|
||||||
- "/srv/private/ansible/vars.yml"
|
- "/srv/private/ansible/vars.yml"
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/cloud_setup_basic.yml"
|
- import_tasks: "{{ tasks_path }}/cloud_setup_basic.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- name: set hostname (required by some services, at least postfix need it)
|
- name: set hostname (required by some services, at least postfix need it)
|
||||||
hostname: name="{{copr_hostbase}}.cloud.fedoraproject.org"
|
hostname: name="{{copr_hostbase}}.cloud.fedoraproject.org"
|
||||||
|
|
||||||
|
@ -41,4 +41,4 @@
|
||||||
- copr/dist_git
|
- copr/dist_git
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- include_tasks: "../../handlers/restart_services.yml"
|
- import_tasks: "../../handlers/restart_services.yml"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
- /srv/private/ansible/files/openstack/passwords.yml
|
- /srv/private/ansible/files/openstack/passwords.yml
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/persistent_cloud.yml"
|
- import_tasks: "{{ tasks_path }}/persistent_cloud.yml"
|
||||||
|
|
||||||
- name: cloud basic setup
|
- name: cloud basic setup
|
||||||
hosts: copr-front-stg:copr-front
|
hosts: copr-front-stg:copr-front
|
||||||
|
@ -21,8 +21,8 @@
|
||||||
- "/srv/private/ansible/vars.yml"
|
- "/srv/private/ansible/vars.yml"
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/cloud_setup_basic.yml"
|
- import_tasks: "{{ tasks_path }}/cloud_setup_basic.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- name: set hostname (required by some services, at least postfix need it)
|
- name: set hostname (required by some services, at least postfix need it)
|
||||||
hostname: name="{{copr_hostbase}}.cloud.fedoraproject.org"
|
hostname: name="{{copr_hostbase}}.cloud.fedoraproject.org"
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
- /srv/private/ansible/files/openstack/passwords.yml
|
- /srv/private/ansible/files/openstack/passwords.yml
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/persistent_cloud.yml"
|
- import_tasks: "{{ tasks_path }}/persistent_cloud.yml"
|
||||||
- name: gather facts
|
- name: gather facts
|
||||||
setup:
|
setup:
|
||||||
check_mode: no
|
check_mode: no
|
||||||
|
@ -29,8 +29,8 @@
|
||||||
- "/srv/private/ansible/vars.yml"
|
- "/srv/private/ansible/vars.yml"
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/cloud_setup_basic.yml"
|
- import_tasks: "{{ tasks_path }}/cloud_setup_basic.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- name: set hostname (required by some services, at least postfix need it)
|
- name: set hostname (required by some services, at least postfix need it)
|
||||||
hostname: name="{{copr_hostbase}}.cloud.fedoraproject.org"
|
hostname: name="{{copr_hostbase}}.cloud.fedoraproject.org"
|
||||||
|
|
||||||
|
|
|
@ -31,9 +31,9 @@
|
||||||
- role: apache
|
- role: apache
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -31,9 +31,9 @@
|
||||||
- darkserver/web
|
- darkserver/web
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -32,9 +32,9 @@
|
||||||
- darkserver
|
- darkserver
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -27,9 +27,9 @@
|
||||||
- mod_wsgi
|
- mod_wsgi
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -22,9 +22,9 @@
|
||||||
- tftp_server
|
- tftp_server
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -26,9 +26,9 @@
|
||||||
- dns
|
- dns
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -24,9 +24,9 @@
|
||||||
when: env != "staging" }
|
when: env != "staging" }
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -44,9 +44,9 @@
|
||||||
- { role: openvpn/client, when: datacenter != "phx2" }
|
- { role: openvpn/client, when: datacenter != "phx2" }
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
- name: put in script for syncing on download-ib01
|
- name: put in script for syncing on download-ib01
|
||||||
copy: src="{{ files }}/download/sync-up-downloads.sh.ib01" dest=/usr/local/bin/sync-up-downloads owner=root group=root mode=755
|
copy: src="{{ files }}/download/sync-up-downloads.sh.ib01" dest=/usr/local/bin/sync-up-downloads owner=root group=root mode=755
|
||||||
|
|
|
@ -24,9 +24,9 @@
|
||||||
- collectd/base
|
- collectd/base
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -30,9 +30,9 @@
|
||||||
- { role: openvpn/client, when: env != "staging" }
|
- { role: openvpn/client, when: env != "staging" }
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -30,9 +30,9 @@
|
||||||
#- { role: openvpn/client, when: env != "staging" }
|
#- { role: openvpn/client, when: env != "staging" }
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -28,9 +28,9 @@
|
||||||
# when: env != "staging" }
|
# when: env != "staging" }
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -24,9 +24,9 @@
|
||||||
- collectd/base
|
- collectd/base
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||||
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- base
|
- base
|
||||||
|
@ -24,8 +24,8 @@
|
||||||
- collectd/base
|
- collectd/base
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -29,9 +29,9 @@
|
||||||
- mod_wsgi
|
- mod_wsgi
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -25,9 +25,9 @@
|
||||||
nfs_src_dir: 'gnome_backups' }
|
nfs_src_dir: 'gnome_backups' }
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -32,9 +32,9 @@
|
||||||
# when: env != "staging" }
|
# when: env != "staging" }
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -29,9 +29,9 @@
|
||||||
- infinote
|
- infinote
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -23,9 +23,9 @@
|
||||||
- mod_wsgi
|
- mod_wsgi
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -40,9 +40,9 @@
|
||||||
when: env == "production"
|
when: env == "production"
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
- /srv/private/ansible/files/openstack/passwords.yml
|
- /srv/private/ansible/files/openstack/passwords.yml
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/persistent_cloud.yml"
|
- import_tasks: "{{ tasks_path }}/persistent_cloud.yml"
|
||||||
|
|
||||||
- name: setup all the things
|
- name: setup all the things
|
||||||
hosts: jenkins-master
|
hosts: jenkins-master
|
||||||
|
@ -21,10 +21,10 @@
|
||||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||||
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/cloud_setup_basic.yml"
|
- import_tasks: "{{ tasks_path }}/cloud_setup_basic.yml"
|
||||||
- name: set hostname (required by some services, at least postfix need it)
|
- name: set hostname (required by some services, at least postfix need it)
|
||||||
hostname: name="{{inventory_hostname}}"
|
hostname: name="{{inventory_hostname}}"
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
|
|
||||||
- name: provision instance
|
- name: provision instance
|
||||||
hosts: jenkins-master
|
hosts: jenkins-master
|
||||||
|
@ -41,8 +41,8 @@
|
||||||
- certbot
|
- certbot
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
- /srv/private/ansible/files/openstack/passwords.yml
|
- /srv/private/ansible/files/openstack/passwords.yml
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/persistent_cloud.yml"
|
- import_tasks: "{{ tasks_path }}/persistent_cloud.yml"
|
||||||
|
|
||||||
- name: setup all the things
|
- name: setup all the things
|
||||||
hosts: jenkins-slave
|
hosts: jenkins-slave
|
||||||
|
@ -21,10 +21,10 @@
|
||||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||||
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/cloud_setup_basic.yml"
|
- import_tasks: "{{ tasks_path }}/cloud_setup_basic.yml"
|
||||||
- name: set hostname (required by some services, at least postfix need it)
|
- name: set hostname (required by some services, at least postfix need it)
|
||||||
hostname: name="{{inventory_hostname}}"
|
hostname: name="{{inventory_hostname}}"
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
|
|
||||||
- name: provision instance
|
- name: provision instance
|
||||||
hosts: jenkins-slave
|
hosts: jenkins-slave
|
||||||
|
@ -39,9 +39,9 @@
|
||||||
- jenkins/slave
|
- jenkins/slave
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
# - include_tasks: "{{ tasks_path }}/growroot_cloud.yml"
|
# - import_tasks: "{{ tasks_path }}/growroot_cloud.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -29,9 +29,9 @@
|
||||||
- mod_wsgi
|
- mod_wsgi
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -30,9 +30,9 @@
|
||||||
- keyserver
|
- keyserver
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -17,8 +17,8 @@
|
||||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||||
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/osbs_certs.yml"
|
- import_tasks: "{{ tasks_path }}/osbs_certs.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/osbs_repos.yml"
|
- import_tasks: "{{ tasks_path }}/osbs_repos.yml"
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- base
|
- base
|
||||||
|
@ -82,9 +82,9 @@
|
||||||
file: src=/mnt/fedora_koji_prod/koji dest=/mnt/koji/vol/prod state=link
|
file: src=/mnt/fedora_koji_prod/koji dest=/mnt/koji/vol/prod state=link
|
||||||
tags: koji_hub
|
tags: koji_hub
|
||||||
when: env == 'staging'
|
when: env == 'staging'
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -32,9 +32,9 @@
|
||||||
- role: varnish
|
- role: varnish
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||||
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- base
|
- base
|
||||||
|
@ -31,8 +31,8 @@
|
||||||
- fedmsg/base
|
- fedmsg/base
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -24,9 +24,9 @@
|
||||||
- koschei/frontend
|
- koschei/frontend
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -31,9 +31,9 @@
|
||||||
when: env == "production"
|
when: env == "production"
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
#
|
#
|
||||||
# We exclude some dirs from restorecon on updates on logservers as they are very large
|
# We exclude some dirs from restorecon on updates on logservers as they are very large
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
- "/srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml"
|
- "/srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml"
|
||||||
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- base
|
- base
|
||||||
|
@ -24,8 +24,8 @@
|
||||||
- sudo
|
- sudo
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -29,9 +29,9 @@
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
# this is how you include other task lists
|
# this is how you include other task lists
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
- /srv/private/ansible/files/openstack/passwords.yml
|
- /srv/private/ansible/files/openstack/passwords.yml
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/persistent_cloud.yml"
|
- import_tasks: "{{ tasks_path }}/persistent_cloud.yml"
|
||||||
|
|
||||||
- name: Do some basic cloud setup on them
|
- name: Do some basic cloud setup on them
|
||||||
hosts: maintainer-test
|
hosts: maintainer-test
|
||||||
|
@ -21,7 +21,7 @@
|
||||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||||
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/cloud_setup_basic.yml"
|
- import_tasks: "{{ tasks_path }}/cloud_setup_basic.yml"
|
||||||
- name: set hostname (required by some services, at least postfix need it)
|
- name: set hostname (required by some services, at least postfix need it)
|
||||||
hostname: name="{{inventory_hostname}}"
|
hostname: name="{{inventory_hostname}}"
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@
|
||||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||||
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- base
|
- base
|
||||||
|
@ -48,7 +48,7 @@
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
# this is how you include other task lists
|
# this is how you include other task lists
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
- name: install packager tools (dnf)
|
- name: install packager tools (dnf)
|
||||||
dnf: state=present pkg={{ item }}
|
dnf: state=present pkg={{ item }}
|
||||||
|
|
|
@ -27,9 +27,9 @@
|
||||||
- sudo
|
- sudo
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
# TODO: add iscsi task
|
# TODO: add iscsi task
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||||
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- base
|
- base
|
||||||
|
@ -24,8 +24,8 @@
|
||||||
- collectd/base
|
- collectd/base
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||||
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- base
|
- base
|
||||||
|
@ -27,8 +27,8 @@
|
||||||
- { role: mod_wsgi, when: env == "staging" }
|
- { role: mod_wsgi, when: env == "staging" }
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -22,9 +22,9 @@
|
||||||
- memcached
|
- memcached
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -64,9 +64,9 @@
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
# this is how you include other task lists
|
# this is how you include other task lists
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
|
|
|
@ -22,9 +22,9 @@
|
||||||
- { role: nfs/client, when: inventory_hostname.startswith('mm-backend01'), mnt_dir: '/srv/pub', nfs_src_dir: 'fedora_ftp/fedora.redhat.com/pub' }
|
- { role: nfs/client, when: inventory_hostname.startswith('mm-backend01'), mnt_dir: '/srv/pub', nfs_src_dir: 'fedora_ftp/fedora.redhat.com/pub' }
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -27,9 +27,9 @@
|
||||||
- { role: openvpn/client, when: env != "staging" }
|
- { role: openvpn/client, when: env != "staging" }
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||||
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- base
|
- base
|
||||||
|
@ -41,8 +41,8 @@
|
||||||
|
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -30,9 +30,9 @@
|
||||||
# when: env != "staging" }
|
# when: env != "staging" }
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -30,9 +30,9 @@
|
||||||
when: env != "staging" }
|
when: env != "staging" }
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -28,9 +28,9 @@
|
||||||
- mod_wsgi
|
- mod_wsgi
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||||
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- base
|
- base
|
||||||
|
@ -24,8 +24,8 @@
|
||||||
- collectd/base
|
- collectd/base
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -20,9 +20,9 @@
|
||||||
- apache
|
- apache
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -23,9 +23,9 @@
|
||||||
- apache
|
- apache
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -21,9 +21,9 @@
|
||||||
- cloud_compute
|
- cloud_compute
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -42,9 +42,9 @@
|
||||||
dest: "/etc/sysconfig/docker-storage-setup"
|
dest: "/etc/sysconfig/docker-storage-setup"
|
||||||
|
|
||||||
|
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -23,9 +23,9 @@
|
||||||
- sudo
|
- sudo
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -24,9 +24,9 @@
|
||||||
- sudo
|
- sudo
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||||
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- base
|
- base
|
||||||
|
@ -32,8 +32,8 @@
|
||||||
- mod_wsgi
|
- mod_wsgi
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -22,9 +22,9 @@
|
||||||
- postgresql_server
|
- postgresql_server
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -23,9 +23,9 @@
|
||||||
- sudo
|
- sudo
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
- name: stuff for the web nodes
|
- name: stuff for the web nodes
|
||||||
hosts: pdc-web:pdc-web-stg
|
hosts: pdc-web:pdc-web-stg
|
||||||
|
|
|
@ -81,9 +81,9 @@
|
||||||
- people
|
- people
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -25,9 +25,9 @@
|
||||||
- sudo
|
- sudo
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -27,9 +27,9 @@
|
||||||
- mod_wsgi
|
- mod_wsgi
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -50,9 +50,9 @@
|
||||||
tags:
|
tags:
|
||||||
- krb5
|
- krb5
|
||||||
|
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -29,9 +29,9 @@
|
||||||
- postgresql_server_bdr
|
- postgresql_server_bdr
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
# TODO: add iscsi task
|
# TODO: add iscsi task
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||||
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- base
|
- base
|
||||||
|
@ -32,8 +32,8 @@
|
||||||
- { role: openvpn/client, when: inventory_hostname == "db-fas01.phx2.fedoraproject.org" or inventory_hostname == "db01.phx2.fedoraproject.org" }
|
- { role: openvpn/client, when: inventory_hostname == "db-fas01.phx2.fedoraproject.org" or inventory_hostname == "db01.phx2.fedoraproject.org" }
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
# TODO: add iscsi task
|
# TODO: add iscsi task
|
||||||
|
|
||||||
|
|
|
@ -47,15 +47,15 @@
|
||||||
state=link
|
state=link
|
||||||
when: inventory_hostname == 'proxy01.phx2.fedoraproject.org'
|
when: inventory_hostname == 'proxy01.phx2.fedoraproject.org'
|
||||||
|
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
# You might think we would want these tasks_path on the proxy nodes, but they
|
# You might think we would want these tasks_path on the proxy nodes, but they
|
||||||
# actually deliver a configuration that our proxy-specific roles below then go
|
# actually deliver a configuration that our proxy-specific roles below then go
|
||||||
# and overwrite... so, let's just leave them out.
|
# and overwrite... so, let's just leave them out.
|
||||||
#- include_tasks: "{{ tasks_path }}/apache.yml"
|
#- import_tasks: "{{ tasks_path }}/apache.yml"
|
||||||
#- include_tasks: "{{ tasks_path }}/mod_wsgi.yml"
|
#- import_tasks: "{{ tasks_path }}/mod_wsgi.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -28,12 +28,12 @@
|
||||||
- apache
|
- apache
|
||||||
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
# this is how you include other task lists
|
# this is how you include other task lists
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||||
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- base
|
- base
|
||||||
|
@ -71,8 +71,8 @@
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
# this is how you include other task lists
|
# this is how you include other task lists
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
- name: install skopeo for container management
|
- name: install skopeo for container management
|
||||||
package:
|
package:
|
||||||
|
|
|
@ -28,9 +28,9 @@
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
# this is how you include other task lists
|
# this is how you include other task lists
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -29,9 +29,9 @@
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
# this is how you include other task lists
|
# this is how you include other task lists
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -28,9 +28,9 @@
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
# this is how you include other task lists
|
# this is how you include other task lists
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -20,9 +20,9 @@
|
||||||
- fedmsg/base
|
- fedmsg/base
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -47,9 +47,9 @@
|
||||||
- archive.fedoraproject.org
|
- archive.fedoraproject.org
|
||||||
- archives.fedoraproject.org
|
- archives.fedoraproject.org
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
- name: Install some misc packages needed for various tasks
|
- name: Install some misc packages needed for various tasks
|
||||||
package: name={{ item }} state=present
|
package: name={{ item }} state=present
|
||||||
|
|
|
@ -32,9 +32,9 @@
|
||||||
owner_group: sigul
|
owner_group: sigul
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -24,9 +24,9 @@
|
||||||
when: env != "staging" }
|
when: env != "staging" }
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -27,9 +27,9 @@
|
||||||
- sudo
|
- sudo
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
- name: Stuff just for the web frontend
|
- name: Stuff just for the web frontend
|
||||||
hosts: statscache-web:statscache-web-stg
|
hosts: statscache-web:statscache-web-stg
|
||||||
|
|
|
@ -29,9 +29,9 @@
|
||||||
# when: env != "staging" }
|
# when: env != "staging" }
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include_tasks: "{{ tasks_path }}/motd.yml"
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
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