Merge "Added tags to control execution of tasks"

This commit is contained in:
Zuul 2021-01-29 01:33:43 +00:00 committed by Gerrit Code Review
commit 6fa68eb746
8 changed files with 9 additions and 2 deletions

View File

@ -27,4 +27,5 @@
src: "{{ airshipctl_config_dir }}"
dest: "{{ zuul.executor.log_root }}/{{ inventory_hostname }}"
mode: pull
when: config_dir_stats.stat.exists
when: config_dir_stats.stat.exists
tags: [zuul]

View File

@ -49,3 +49,4 @@
dest: "{{ zuul.executor.log_root }}/{{ inventory_hostname }}"
mode: pull
ignore_errors: True
tags: [zuul]

View File

@ -109,3 +109,4 @@
src: "{{ libvirt_log_dir }}"
dest: "{{ zuul.executor.log_root }}/{{ inventory_hostname }}"
mode: pull
tags: [zuul]

View File

@ -27,3 +27,4 @@
dest: "{{ zuul.executor.log_root }}/{{ inventory_hostname }}"
mode: pull
ignore_errors: True
tags: [zuul]

View File

@ -43,3 +43,4 @@
src: "{{ runtime_logs_dir }}"
dest: "{{ zuul.executor.log_root }}/{{ inventory_hostname }}"
mode: pull
tags: [zuul]

View File

@ -81,4 +81,5 @@
dest: "{{ zuul.executor.log_root }}/{{ inventory_hostname }}"
mode: pull
ignore_errors: True
tags: [zuul]
...

View File

@ -39,3 +39,4 @@
dest: "{{ zuul.executor.log_root }}/{{ inventory_hostname }}"
mode: pull
ignore_errors: True
tags: [zuul]

View File

@ -25,4 +25,4 @@ PLAYBOOK_CONFIG=${PLAYBOOK_CONFIG:-"${TMP_DIR}/config.yaml"}
sudo ansible-playbook -i "$ANSIBLE_HOSTS" \
playbooks/airship-collect-logs.yaml \
-e @"$PLAYBOOK_CONFIG"
-e @"$PLAYBOOK_CONFIG" --skip-tags zuul