Guillaume Coré
2020-01-23 926a092587159ebcc816cbdbe39db71b1f5b702b
refs
author Guillaume Coré <gucore@redhat.com>
Thursday, January 23, 2020 18:47 +0100
committer Tony Kay <ankay@redhat.com>
Thursday, January 23, 2020 18:47 +0100
commit926a092587159ebcc816cbdbe39db71b1f5b702b
tree 5cd25c4413414d90c68c3224b764082f0c09d1f9 tree | zip | gz
parent 13cc1267ff4ca7664c4b11364c2958fb57e65b78 view | diff
Fix just some nodes osp (#1039)

* Fixes to just-some-nodes-example for OSP

- sample_vars_osp.yml
- support both instance.image and instance.image_id in default heat template
- support volumes[].name and volumes[].volume_name

* Add security group to the nodes

* Add CHANGEME comments

* key_name is not mandatory in OSP, add a default

fix this error:

TASK [infra-common-ssh-config-generate : Add bastion proxy config to workdir ssh config file] *************************************************************************************************
Thursday 23 January 2020 16:56:01 +0000 (0:00:00.178) 0:01:45.182 ******
fatal: [localhost]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'key_name' is undefined\n\nThe error appears to be in '/ansible/roles/infra-common-ssh-config-generate/tasks/main.yml': line 36, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Add bastion proxy config to workdir ssh config file\n ^ here\n"}

* add changeme comment
1 files added
4 files modified
99 ■■■■■ changed files
ansible/configs/just-some-nodes-example/destroy_env.yml 19 ●●●● diff | view | raw | blame | history
ansible/configs/just-some-nodes-example/env_vars.yml 18 ●●●●● diff | view | raw | blame | history
ansible/configs/just-some-nodes-example/sample_vars_osp.yml 54 ●●●●● diff | view | raw | blame | history
ansible/roles/infra-common-ssh-config-generate/defaults/main.yml 2 ●●● diff | view | raw | blame | history
ansible/roles/infra-osp-template-generate/templates/cloud_template_master.j2 6 ●●●● diff | view | raw | blame | history