infra-ansible/README.md
Arie Bregman 1dedd44700 Add keypairs to infra_config sample and option to use key file
At the moment 'keypairs' isn't defined anywhere. It was added
to infra_config.yml.sample to help users define it.

Also, key_public_file variable was added to 'Create keypairs'
task, to allow users specify key_public_file instead of key
content.

Change-Id: I414aeeaee9c38bdbfe7e5607cb756f08335ac42c
2016-03-21 12:12:56 +02:00

579 B

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.