
This is running on a cron right now, let's run it from zuul. This moves the contents from clouds_layouts into the hostvars for bridge and changes the playbook to run against bridge instead of localhost. This lets us not pass in the variables on the CLI, which we don't have support for in the apply job. It also is made possible by the lack of all-clouds.yaml. Change-Id: If0d2aacc49b599a0b51bf7d84f8367f56ed2d003
22 lines
593 B
YAML
22 lines
593 B
YAML
- hosts: bridge.openstack.org:!disabled
|
|
name: "Bridge: configure the bastion host"
|
|
roles:
|
|
- edit-secrets-script
|
|
- install-docker
|
|
- install-osc-container
|
|
- install-kubectl
|
|
- configure-kubectl
|
|
tasks:
|
|
- name: Remove cloud launcher cron
|
|
cron:
|
|
name: run_cloud_launcher.sh
|
|
state: absent
|
|
- include_role:
|
|
name: configure-openstacksdk
|
|
vars:
|
|
openstacksdk_config_template: clouds/bridge_all_clouds.yaml.j2
|
|
- name: Get rid of all-clouds.yaml
|
|
file:
|
|
state: absent
|
|
path: '/etc/openstack/all-clouds.yaml'
|