Skip to content
Snippets Groups Projects
Commit 082f9c54 authored by Zuul's avatar Zuul Committed by Gerrit Code Review
Browse files

Merge "CI: test fact caching"

parents 06123b79 959bef67
No related branches found
No related tags found
No related merge requests found
...@@ -6,6 +6,24 @@ ...@@ -6,6 +6,24 @@
# Ensure that facts are referenced via ansible_facts.<fact>. # Ensure that facts are referenced via ansible_facts.<fact>.
inject_facts_as_vars = False inject_facts_as_vars = False
# Test with fact caching enabled
gathering = smart
fact_caching = jsonfile
fact_caching_connection = /tmp/kayobe-facts
[ssh_connection]
pipelining = True
retries = 3
ansible_cfg_kolla: |
[defaults]
# Ensure that facts are referenced via ansible_facts.<fact>.
inject_facts_as_vars = False
# Test with fact caching enabled
gathering = smart
fact_caching = jsonfile
fact_caching_connection = /tmp/kolla-ansible-facts
[ssh_connection] [ssh_connection]
pipelining = True pipelining = True
retries = 3 retries = 3
...@@ -31,11 +49,16 @@ ...@@ -31,11 +49,16 @@
line: "export KAYOBE_EXTRA_ARGS=-vvv" line: "export KAYOBE_EXTRA_ARGS=-vvv"
regexp: "^#export KAYOBE_EXTRA_ARGS=$" regexp: "^#export KAYOBE_EXTRA_ARGS=$"
- name: Ensure ansible.cfg exists - name: Ensure ansible.cfg exists for Kayobe
copy: copy:
content: "{{ ansible_cfg }}" content: "{{ ansible_cfg }}"
dest: "{{ kayobe_config_src_dir }}/etc/kayobe/ansible.cfg" dest: "{{ kayobe_config_src_dir }}/etc/kayobe/ansible.cfg"
- name: Ensure ansible.cfg exists for Kolla Ansible
copy:
content: "{{ ansible_cfg_kolla }}"
dest: "{{ kayobe_config_src_dir }}/etc/kayobe/kolla/ansible.cfg"
- name: Update kayobe requirements.yml - name: Update kayobe requirements.yml
include_role: include_role:
name: kayobe-galaxy-requirements name: kayobe-galaxy-requirements
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment