ceb6e2bbdb
This adds an initial container-based test. We use the "siblings" containers, which thus makes this job roughly equate to the extant non-container "-src" jobs that install dependencies from source (a follow-on If510238c6ab2b8f6570848f76e84383925c73d87 will add jobs based on released dependencies). Change-Id: I0b8c309fe3284a2824a38d343fca168441f20471
31 lines
811 B
YAML
31 lines
811 B
YAML
- name: Load clouds.yaml
|
|
become: true
|
|
slurp:
|
|
path: /etc/openstack/clouds.yaml
|
|
register: clouds_yaml
|
|
- name: Parse clouds.yaml
|
|
set_fact:
|
|
clouds_yaml: "{{ clouds_yaml.content | b64decode | from_yaml }}"
|
|
- name: Update clouds.yaml
|
|
vars:
|
|
new_config:
|
|
# cache:
|
|
# max_age: 3600
|
|
# class: dogpile.cache.dbm
|
|
# arguments:
|
|
# filename: .cache/openstack/shade.dbm
|
|
# expiration:
|
|
# floating-ip: 5
|
|
# server: 5
|
|
# port: 5
|
|
# TODO(pabelanger): Remove once glean fully supports IPv6.
|
|
client:
|
|
force_ipv4: True
|
|
set_fact:
|
|
clouds_yaml: "{{ clouds_yaml | combine(new_config) }}"
|
|
- name: Save clouds.yaml
|
|
become: true
|
|
copy:
|
|
content: "{{ clouds_yaml | to_nice_yaml }}"
|
|
dest: /etc/openstack/clouds.yaml
|