mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-04-20 06:02:24 +00:00
tweaking
This commit is contained in:
parent
5a7c4b54e6
commit
df0581b491
1 changed files with 10 additions and 1 deletions
|
@ -290,10 +290,19 @@
|
|||
regexp: '^.*DNSStubListener=.*'
|
||||
line: 'DNSStubListener=no'
|
||||
state: present
|
||||
notify: Restart Resolved
|
||||
notify:
|
||||
- Restart Resolved
|
||||
- Restart Docker
|
||||
when: ansible_distribution in ["Fedora", "Ubuntu"]
|
||||
|
||||
handlers:
|
||||
- name: Restart Docker
|
||||
service:
|
||||
name: docker
|
||||
state: restarted
|
||||
enabled: true
|
||||
when: ansible_distribution in ["Fedora", "Ubuntu"]
|
||||
|
||||
- name: Restart Resolved
|
||||
service:
|
||||
name: systemd-resolved
|
||||
|
|
Loading…
Reference in a new issue