mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-02 01:27:27 -04:00
tweaking
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user