Set hostnames before the common play

Servers should be able to resolv Internet and the infra hosts
before doing anything useful on them

Change-Id: If694f45235e8c49a6caaee45dbf6d21d79385f65
This commit is contained in:
Ricardo Carrillo Cruz 2016-06-24 12:57:35 +00:00
parent f859b1e47f
commit e750ccb869

View File

@ -2,9 +2,9 @@
# file: site.yml # file: site.yml
- include: generate_infra_dynamic_groups.yml - include: generate_infra_dynamic_groups.yml
- include: wait_for_servers.yml - include: wait_for_servers.yml
- include: set_hostnames.yml
- include: set_resolv_conf.yml - include: set_resolv_conf.yml
- include: common.yml - include: common.yml
- include: set_hostnames.yml
- include: bootstrap_puppetmaster.yml - include: bootstrap_puppetmaster.yml
- include: bootstrap_puppet_infra_nodes.yml - include: bootstrap_puppet_infra_nodes.yml
- include: bootstrap_gerrit.yml - include: bootstrap_gerrit.yml