Skip to content
Snippets Groups Projects
Commit 3ba48f6f authored by Théo - Le Filament's avatar Théo - Le Filament
Browse files

fix: apply tags to included tasks

parent d7a386b0
No related branches found
No related tags found
No related merge requests found
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
include_tasks: include_tasks:
file: instance.yml file: instance.yml
apply: apply:
tags: odoo_backup tags: backup_odoo
with_dict: "{{ odoo_instances }}" with_dict: "{{ odoo_instances }}"
loop_control: loop_control:
label: "{{ item.key }}" label: "{{ item.key }}"
...@@ -26,7 +26,10 @@ ...@@ -26,7 +26,10 @@
when: not (item.value.prod_instance | default(false) == item.key) and (odoo_instance is undefined or item.key == odoo_instance) when: not (item.value.prod_instance | default(false) == item.key) and (odoo_instance is undefined or item.key == odoo_instance)
- name: prod instance setup - name: prod instance setup
include_tasks: instance.yml include_tasks:
file: instance.yml
apply:
tags: backup_odoo
with_dict: "{{ odoo_instances }}" with_dict: "{{ odoo_instances }}"
loop_control: loop_control:
label: "{{ item.key }}" label: "{{ item.key }}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment