Ricardo Carrillo Cruz dc6dcfb736 Fix the set_hostnames role when using default inventory behaviour
Some time ago, the openstack inventory would show have as hostvars
id the server name.
That behaviour changed, and now the id is the server uuid, which
breaks the set_hostnames logic.
This change fixes it.

Change-Id: Ie958a9d04fdfeabfab64100e43a4ead44b82a7b8
2016-06-06 14:22:17 +00:00
2015-08-27 17:36:51 -05:00
2015-08-27 10:34:55 +02:00
2016-01-15 09:15:19 +01:00
2015-10-07 11:02:59 +02:00

Instructions

  1. Run source setup_env.sh
  2. Source your OpenStack cloud environment variables rc file
  3. Run cp infra_config.yml.sample infra_config.yml
  4. Edit infra_config.yml and put your environment values
  5. Run bash run.sh

Notes

In infra_config.yml you may specify public key file instead of public key content, in the following way:

keypairs:
  - name: my_key_file
    public_key_file: /home/<my_user>/.ssh/<key_file>

Do not specify both 'public_key' and 'public_key_file', as they are mutual exclusive variables in Ansible.

Description
Collection of Ansible playbooks to bring up an OpenStack Infra
Readme 444 KiB
Languages
Jinja 44.3%
Shell 33.7%
Python 21.5%
Puppet 0.5%