Add systemd tags to include role
There are times when a deployer will need to reconfigure parts of an environment and having a general purpose tag to run said operation will be important especicially should the deployer be needing to reconfigure systemd unit files in a downtime event. This change adds a general purpose systemd tag where include_role and systemd is found which will assit operators with day2 operational tasks. Change-Id: I8a007c62e110c96fce4fc687258af0b4ef7b3ab1 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
This commit is contained in:
parent
9407b555b7
commit
286e4c80c2
|
@ -103,6 +103,7 @@
|
|||
state: started
|
||||
tags:
|
||||
- network-config
|
||||
- systemd-networkd
|
||||
|
||||
- name: Run the systemd-networkd role
|
||||
include_role:
|
||||
|
@ -155,6 +156,7 @@
|
|||
{{ _networks | sort(attribute='interface') }}
|
||||
tags:
|
||||
- network-config
|
||||
- systemd-networkd
|
||||
|
||||
- name: Create dnsmasq config(s)
|
||||
template:
|
||||
|
@ -214,3 +216,4 @@
|
|||
loop_var: dnsmasq_var
|
||||
tags:
|
||||
- network-config
|
||||
- systemd-service
|
||||
|
|
|
@ -75,6 +75,9 @@
|
|||
- "/lib/systemd/systemd-machined"
|
||||
enabled: yes
|
||||
state: started
|
||||
tags:
|
||||
- machines-config
|
||||
- systemd-service
|
||||
|
||||
- name: Run the systemd mount role
|
||||
include_role:
|
||||
|
@ -89,6 +92,7 @@
|
|||
state: 'started'
|
||||
enabled: true
|
||||
tags:
|
||||
- systemd-mount
|
||||
- machines-config
|
||||
when:
|
||||
- machinectl_mount.rc != 0
|
||||
|
|
Loading…
Reference in New Issue