8a06d48c84
Testinfra works with Ansible 2.8.0 now, so we can update bridge.opendev.org to the latest version. This also needs an ARA update; bring it to the latest 0.16.4 release. Update test-requirements so that tox/ansible-lint use Ansible 2.8.0 too. See note inline about dependencies. Note we replace import_tasks with include_tasks in handlers to address this porting issue: https://docs.ansible.com/ansible/latest/porting_guides/porting_guide_2.8.html#imports-as-handlers Change-Id: I7ed75d253857f86b68f67023af6897af4e1b4f50
24 lines
1.3 KiB
YAML
24 lines
1.3 KiB
YAML
- hosts: bridge.openstack.org:!disabled
|
|
name: "Bridge: boostrap 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.
|
|
# For example, if there is a fix on the ansible stable branch we
|
|
# need that is unreleased, you could do the following:
|
|
#
|
|
# install_ansible_name: '{{ bridge_ansible_name | default("git+https://github.com/ansible/ansible.git@stable-2.7") }}'
|
|
# install_ansible_version: '{{ bridge_ansible_version | default(None) }}'
|
|
- role: install-ansible
|
|
install_ansible_name: '{{ bridge_ansible_name | default("ansible") }}'
|
|
install_ansible_version: '{{ bridge_ansible_version | default("2.8.0") }}'
|
|
install_ansible_openstacksdk_name: '{{ bridge_openstacksdk_name | default("openstacksdk") }}'
|
|
install_ansible_openstacksdk_version: '{{ bridge_openstacksdk_verison | default("latest") }}'
|
|
# NOTE(ianw): At 2018-12, ARA is only enabled during gate
|
|
# testing jobs as we decide if or how to store data on
|
|
# production bridge.o.o
|
|
install_ansible_ara_name: '{{ bridge_ara_name | default("ara") }}'
|
|
install_ansible_ara_version: '{{ bridge_ara_version | default("0.16.4") }}'
|
|
- root-keys
|