06da49c6e2
Similar to the pinning introduced in Ic465efb637c0a1eb475f04b0b0e356d8797ecdeb, use the "latest" openstacksdk package and allow for passing of pinned versions if required. Update the devel test to also use the master of opensatcksdk Change-Id: I4b437ca9024c87903bdd3569c8309cde725ce28e
25 lines
1016 B
YAML
25 lines
1016 B
YAML
- hosts: bridge.openstack.org
|
|
name: "Bridge: configure the bastion host"
|
|
become: true
|
|
roles:
|
|
- pip3
|
|
# Note for production use we expect to take the defaults; unit
|
|
# test jobs override this to test with latest upstream ansible.
|
|
- role: install-ansible
|
|
install_ansible_name: '{{ bridge_ansible_name | default("ansible") }}'
|
|
install_ansible_version: '{{ bridge_ansible_version | default("2.7.0") }}'
|
|
install_openstacksdk_name: '{{ bridge_openstacksdk_name | default("openstacksdk") }}'
|
|
install_openstacksdk_version: '{{ bridge_openstacksdk_verison | default("latest") }}'
|
|
- root-keys
|
|
- ansible-cron
|
|
- cloud-launcher-cron
|
|
tasks:
|
|
- name: Allow Zuul to trigger Ansible
|
|
authorized_key:
|
|
state: present
|
|
user: root
|
|
key: "{{ item }}"
|
|
loop:
|
|
- "https://zuul.openstack.org/api/project-ssh-key/openstack-infra/system-config.pub"
|
|
- "https://zuul.openstack.org/api/project-ssh-key/openstack-infra/project-config.pub"
|