From bf912df1e3df6a98958944954604fbcdc07f9311 Mon Sep 17 00:00:00 2001 From: Dmitriy Rabotyagov Date: Thu, 13 Jul 2023 14:58:22 +0200 Subject: [PATCH] Apply tags to systemd_service include In order to be able to use tags to run systemd_service role solely, they must be applied properly when role is included. Change-Id: I121167e87b7aa68a75af17cbde084de5b1961264 --- tasks/glance_install.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tasks/glance_install.yml b/tasks/glance_install.yml index c468401c..a45f82dd 100644 --- a/tasks/glance_install.yml +++ b/tasks/glance_install.yml @@ -140,6 +140,10 @@ - name: Run the systemd service role include_role: name: systemd_service + apply: + tags: + - glance-config + - systemd-service vars: systemd_user_name: "{{ glance_system_user_name }}" systemd_group_name: "{{ glance_system_group_name }}"