Fix facts gathering when run with tags

Currently facts are not gathered when role is run with tags
This patch fixes that behaviour and prevents role failure.

Change-Id: If27a6e57c56a0b294442b71aa777d759bc401868
This commit is contained in:
Dmitriy Rabotyagov 2021-04-23 10:48:25 +03:00
parent dac99008d5
commit 53db970168

View File

@ -19,6 +19,8 @@
delegate_to: "{{ item }}" delegate_to: "{{ item }}"
delegate_facts: true delegate_facts: true
with_items: "{{ groups['repo_all'] | default([inventory_hostname]) }}" with_items: "{{ groups['repo_all'] | default([inventory_hostname]) }}"
tags:
- always
- include_tasks: "python_venv_wheel_build.yml" - include_tasks: "python_venv_wheel_build.yml"
args: args: