Reload systemd daemons only if unit file change.
This commit is contained in:
parent
eb93ff65f9
commit
0a909641b5
|
@ -1,4 +1,10 @@
|
|||
|
||||
## v1.3.1
|
||||
|
||||
### Fix
|
||||
|
||||
* Reload systemd daemons only if unit file change.
|
||||
|
||||
## v1.3
|
||||
|
||||
### Features
|
||||
|
|
|
@ -100,6 +100,8 @@
|
|||
- name: Reload systemd daemons
|
||||
command: systemctl daemon-reload
|
||||
notify: ['restart nftables service']
|
||||
when: (nft_service_manage and
|
||||
nftables__register_systemd_service|changed)
|
||||
|
||||
- name: SERVICE manage '{{ nft_service_name }}'
|
||||
service:
|
||||
|
|
Loading…
Reference in New Issue