vars is reserved, use vars_path for variable path

This commit is contained in:
Kevin Fenzi 2014-01-06 17:49:22 +00:00
parent 86fff66e19
commit 67bc3b4920
48 changed files with 103 additions and 106 deletions

View file

@ -4,7 +4,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
tasks:
- include: "{{ tasks }}/cloud_setup_basic.yml"

View file

@ -27,7 +27,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
tasks:
- include: "{{ tasks }}/growroot_cloud.yml"

View file

@ -26,7 +26,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
tasks:
- name: growpart /dev/vda1 partition (/) to full size

View file

@ -26,7 +26,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
tasks:
- include: "{{ tasks }}/growroot_cloud.yml"

View file

@ -9,7 +9,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
roles:
- /srv/web/infra/ansible/roles/base

View file

@ -9,7 +9,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
roles:
- /srv/web/infra/ansible/roles/base

View file

@ -9,7 +9,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
roles:
- /srv/web/infra/ansible/roles/base

View file

@ -1,7 +1,7 @@
# create a new backup server system
# NOTE: should be used with --limit most of the time
# NOTE: make sure there is room/space for this instance on the buildvmhost
# NOTE: most of these vars come from group_vars/backup_server or from hostvars
# NOTE: most of these vars_path come from group_vars/backup_server or from hostvars
- name: make backup server system
hosts: backup03.phx2.fedoraproject.org
@ -12,7 +12,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
roles:
- /srv/web/infra/ansible/roles/base

View file

@ -1,7 +1,7 @@
# create a new badges-backend server
# NOTE: should be used with --limit most of the time
# NOTE: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars come from group_vars/mirrorlist or from hostvars
# NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars
- name: make badges-backend server
hosts: badges-backend;badges-backend-stg
@ -11,7 +11,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
@ -29,7 +29,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
roles:
- /srv/web/infra/ansible/roles/base
@ -64,4 +64,4 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"

View file

@ -1,7 +1,7 @@
# create a new badges-web server
# NOTE: should be used with --limit most of the time
# NOTE: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars come from group_vars/badges-web* or from hostvars
# NOTE: most of these vars_path come from group_vars/badges-web* or from hostvars
- name: make badges-web server
hosts: badges-web;badges-web-stg
@ -11,7 +11,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
@ -29,7 +29,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
roles:
- /srv/web/infra/ansible/roles/base

View file

@ -1,6 +1,6 @@
# create a new beaker server
# NOTE: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars come from group_vars/mirrorlist or from hostvars
# NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars
- name: make beaker server
hosts: beaker
@ -10,7 +10,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
@ -26,7 +26,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
roles:
- /srv/web/infra/ansible/roles/base

View file

@ -1,6 +1,6 @@
# provision a new koji bkernel
# NOTE: this assumes the bkernel boxes are already up and are accessible
# NOTE: most of these vars come from group_vars/bkernel or from hostvars
# NOTE: most of these vars_path come from group_vars/bkernel or from hostvars
- name: make koji bkernel
hosts: bkernel
@ -10,7 +10,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
roles:
- /srv/web/infra/ansible/roles/base

View file

@ -1,16 +1,17 @@
# create a new koji builder on raw hw
# NOTE: should be used with --limit most of the time
# NOTE: most of these vars come from group_vars/buildhw or from hostvars
# NOTE: most of these vars_path come from group_vars/buildhw or from hostvars
- name: make koji builder(s) on raw hw
hosts: buildhw;buildppc;buildarm
user: root
gather_facts: True
accellerate: True
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
roles:
- /srv/web/infra/ansible/roles/base
@ -26,17 +27,16 @@
- name: restart kojid
action: service name=kojid state=restarted
- name: make koji builder(s) on raw hw
hosts: buildhw
user: root
gather_facts: True
accellerate: True
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
roles:
- /srv/web/infra/ansible/roles/base
@ -50,5 +50,3 @@
- name: restart kojid
action: service name=kojid state=restarted

View file

@ -1,7 +1,7 @@
# create a new koji builder
# NOTE: should be used with --limit most of the time
# NOTE: make sure there is room/space for this builder on the buildvmhost
# NOTE: most of these vars come from group_vars/buildvm or from hostvars
# NOTE: most of these vars_path come from group_vars/buildvm or from hostvars
- name: make buildvm
hosts: buildvm
@ -12,7 +12,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
@ -29,7 +29,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
roles:
- /srv/web/infra/ansible/roles/base

View file

@ -6,7 +6,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
@ -22,7 +22,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
roles:
- /srv/web/infra/ansible/roles/base

View file

@ -1,7 +1,7 @@
# create a new fedocal server
# NOTE: should be used with --limit most of the time
# NOTE: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars come from group_vars/fedocal* or from hostvars
# NOTE: most of these vars_path come from group_vars/fedocal* or from hostvars
- name: make fedocal
hosts: fedocal-stg;fedocal
@ -11,7 +11,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
@ -29,7 +29,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
roles:
- /srv/web/infra/ansible/roles/base
@ -61,7 +61,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
roles:
- /srv/web/infra/ansible/roles/fedmsg_base
@ -78,7 +78,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
roles:
- /srv/web/infra/ansible/roles/fedocal

View file

@ -1,7 +1,7 @@
# create a new gallery server
# NOTE: should be used with --limit most of the time
# NOTE: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars come from group_vars/gallery-web* or from hostvars
# NOTE: most of these vars_path come from group_vars/gallery-web* or from hostvars
- name: make gallery server
hosts: gallery-stg
@ -12,7 +12,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
@ -29,7 +29,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
roles:
- /srv/web/infra/ansible/roles/base
@ -59,7 +59,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
roles:
- /srv/web/infra/ansible/roles/gallery

View file

@ -23,7 +23,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
vars:
- resolvconf: resolv.conf/jenkins-cloud
@ -168,7 +168,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
tasks:
- include: "{{ tasks }}/cloud_setup_basic.yml"

View file

@ -1,6 +1,6 @@
# provision a new kernel-qa system
# NOTE: this assumes the kernel-qa boxes are already up and are accessible
# NOTE: most of these vars come from group_vars/kernel-qa or from hostvars
# NOTE: most of these vars_path come from group_vars/kernel-qa or from hostvars
- name: make kernel-qa
hosts: kernel-qa
@ -10,7 +10,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
roles:
- /srv/web/infra/ansible/roles/base

View file

@ -1,7 +1,7 @@
# create a new sks keyserver
# NOTE: should be used with --limit most of the time
# NOTE: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars come from group_vars/gallery-web* or from hostvars
# NOTE: most of these vars_path come from group_vars/gallery-web* or from hostvars
- name: make sks keyserver
hosts: keys01.fedoraproject.org
@ -12,7 +12,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
@ -29,7 +29,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
roles:
- /srv/web/infra/ansible/roles/base

View file

@ -1,6 +1,6 @@
# create a new koji hub server system
# NOTE: should be used with --limit most of the time
# NOTE: most of these vars come from group_vars/koji-hub or from hostvars
# NOTE: most of these vars_path come from group_vars/koji-hub or from hostvars
- name: make koji hub
hosts: koji-hub-secondary
@ -10,7 +10,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
@ -28,7 +28,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
roles:
- /srv/web/infra/ansible/roles/base

View file

@ -1,6 +1,6 @@
# create a new mailman server
# NOTE: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars come from group_vars/mirrorlist or from hostvars
# NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars
- name: make mailman server
hosts: mailman-stg
@ -11,7 +11,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
@ -29,7 +29,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
roles:
- /srv/web/infra/ansible/roles/base
@ -63,7 +63,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
tasks:
# mailman auto-updates its schema, there can only be one admin user
@ -94,7 +94,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
roles:
- /srv/web/infra/ansible/roles/mailman

View file

@ -1,7 +1,7 @@
# create a new mirrorlist server
# NOTE: should be used with --limit most of the time
# NOTE: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars come from group_vars/mirrorlist or from hostvars
# NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars
- name: make mirrorlist app server
hosts: mirrorlist
@ -12,7 +12,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
@ -29,7 +29,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
roles:
- /srv/web/infra/ansible/roles/base

View file

@ -1,7 +1,7 @@
# create a new notifs-backend server
# NOTE: should be used with --limit most of the time
# NOTE: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars come from group_vars/mirrorlist or from hostvars
# NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars
- name: make notifs-backend server
hosts: notifs-backend;notifs-backend-stg
@ -11,7 +11,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
@ -29,7 +29,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
roles:
- /srv/web/infra/ansible/roles/base
@ -64,4 +64,4 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"

View file

@ -1,7 +1,7 @@
# create a new notifs-web server
# NOTE: should be used with --limit most of the time
# NOTE: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars come from group_vars/notifs-web* or from hostvars
# NOTE: most of these vars_path come from group_vars/notifs-web* or from hostvars
- name: make notifs-web server
hosts: notifs-web;notifs-web-stg
@ -11,7 +11,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
@ -29,7 +29,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
roles:
- /srv/web/infra/ansible/roles/base

View file

@ -1,7 +1,7 @@
# create a new nuancier server
# NOTE: should be used with --limit most of the time
# NOTE: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars come from group_vars/nuancier* or from hostvars
# NOTE: most of these vars_path come from group_vars/nuancier* or from hostvars
- name: make nuancier
hosts: nuancier;nuancier-stg
@ -11,7 +11,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
@ -29,7 +29,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
roles:
- /srv/web/infra/ansible/roles/base
@ -61,7 +61,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
roles:
- /srv/web/infra/ansible/roles/fedmsg_base
@ -78,7 +78,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
roles:
- /srv/web/infra/ansible/roles/nuancier

View file

@ -1,6 +1,6 @@
# create a new database server system
# NOTE: should be used with --limit most of the time
# NOTE: most of these vars come from group_vars/backup_server or from hostvars
# NOTE: most of these vars_path come from group_vars/backup_server or from hostvars
- name: make postgresql-server
hosts: dbserver-secondary
@ -10,7 +10,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
@ -28,7 +28,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
roles:
- /srv/web/infra/ansible/roles/base
@ -55,7 +55,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
roles:
- /srv/web/infra/ansible/roles/koji_db

View file

@ -1,7 +1,7 @@
# create a new releng system
# NOTE: should be used with --limit most of the time
# NOTE: make sure there is room/space for this instance on the buildvmhost
# NOTE: most of these vars come from group_vars/releng or from hostvars
# NOTE: most of these vars_path come from group_vars/releng or from hostvars
- name: make releng systems
hosts: releng01.phx2.fedoraproject.org:releng02.phx2.fedoraproject.org
@ -12,7 +12,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
@ -31,7 +31,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
roles:
- /srv/web/infra/ansible/roles/base

View file

@ -1,6 +1,6 @@
# provision a new sign server.
# NOTE: this assumes the boxes are already up and are accessible
# NOTE: most of these vars come from group_vars/sign or from hostvars
# NOTE: most of these vars_path come from group_vars/sign or from hostvars
#
# FURTHER NOTE: some of These machines run day to day with sshd disabled/off.
# Access is via management interface only. This playbook does initial setup.
@ -14,7 +14,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
roles:
- /srv/web/infra/ansible/roles/base

View file

@ -1,6 +1,6 @@
# create a new taskbot server
# NOTE: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars come from group_vars/mirrorlist or from hostvars
# NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars
- name: make taskbot server
hosts: taskbot
@ -10,7 +10,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
@ -26,7 +26,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
roles:
- /srv/web/infra/ansible/roles/base

View file

@ -1,6 +1,6 @@
# create a new virthost server system
# NOTE: should be used with --limit most of the time
# NOTE: most of these vars come from group_vars/backup_server or from hostvars
# NOTE: most of these vars_path come from group_vars/backup_server or from hostvars
- name: make virthost server system
hosts: virthost15.phx2.fedoraproject.org:bvirthost07.phx2.fedoraproject.org:buildvmhost-10.phx2.fedoraproject.org:buildvmhost-11.phx2.fedoraproject.org:buildvmhost-12.phx2.fedoraproject.org
@ -11,7 +11,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
roles:
- /srv/web/infra/ansible/roles/base

View file

@ -19,7 +19,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
tasks:
- include: "{{ tasks }}/cloud_setup_basic.yml"

View file

@ -22,7 +22,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
tasks:
- include: "{{ tasks }}/cloud_setup_basic.yml"

View file

@ -19,7 +19,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
tasks:
- include: "{{ tasks }}/cloud_setup_basic.yml"

View file

@ -19,7 +19,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
# Roles are run first, before tasks, regardless of where you place them here.
roles:

View file

@ -19,7 +19,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
tasks:
- include: "{{ tasks }}/cloud_setup_basic.yml"

View file

@ -19,7 +19,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
tasks:
- include: "{{ tasks }}/cloud_setup_basic.yml"

View file

@ -19,7 +19,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
tasks:
- include: "{{ tasks }}/cloud_setup_basic.yml"

View file

@ -22,7 +22,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
tasks:
- include: "{{ tasks }}/cloud_setup_basic.yml"

View file

@ -18,7 +18,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
tasks:
- include: "{{ tasks }}/cloud_setup_basic.yml"
@ -34,7 +34,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
tasks:
- name: install deps

View file

@ -18,7 +18,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
vars:
- mailman_vardir: /srv/persist/mailman
@ -106,7 +106,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
vars:
- mailman_vardir: /srv/persist/mailman
@ -134,7 +134,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
vars:
- mailman_vardir: /srv/persist/mailman

View file

@ -19,7 +19,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
tasks:
- include: "{{ tasks }}/cloud_setup_basic.yml"

View file

@ -19,7 +19,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
tasks:
- include: "{{ tasks }}/cloud_setup_basic.yml"

View file

@ -11,7 +11,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
tasks:
- include: "{{ tasks }}/restart_unbound.yml"

View file

@ -7,7 +7,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
vars:
- root_auth_users: ''

View file

@ -15,7 +15,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
tasks:
- include: "{{ tasks }}/growroot_cloud.yml"

View file

@ -104,7 +104,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ vars }}/{{ ansible_distribution }}.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
tasks:
- include: "{{ tasks }}/restart_unbound.yml"

View file

@ -7,7 +7,6 @@ files: /srv/web/infra/ansible/files
roles: /srv/web/infra/ansible/roles
handlers: /srv/web/infra/ansible/handlers
tasks: /srv/web/infra/ansible/tasks
vars: /srv/web/infra/ansible/vars
vars_path: /srv/web/infra/ansible/vars
is_fedora: "'{{ ansible_distribution }}' == 'Fedora'"
is_rhel: "'{{ ansible_distribution }}' == 'RedHat'"