infra-ansible/README.md

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.