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
This commit is contained in:
Dmitriy Rabotyagov 2023-07-13 14:58:22 +02:00
parent 1f989219b4
commit bf912df1e3
1 changed files with 4 additions and 0 deletions

View File

@ -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 }}"