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=.*'
|
regexp: '^.*DNSStubListener=.*'
|
||||||
line: 'DNSStubListener=no'
|
line: 'DNSStubListener=no'
|
||||||
state: present
|
state: present
|
||||||
notify: Restart Resolved
|
notify:
|
||||||
|
- Restart Resolved
|
||||||
|
- Restart Docker
|
||||||
when: ansible_distribution in ["Fedora", "Ubuntu"]
|
when: ansible_distribution in ["Fedora", "Ubuntu"]
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
|
- name: Restart Docker
|
||||||
|
service:
|
||||||
|
name: docker
|
||||||
|
state: restarted
|
||||||
|
enabled: true
|
||||||
|
when: ansible_distribution in ["Fedora", "Ubuntu"]
|
||||||
|
|
||||||
- name: Restart Resolved
|
- name: Restart Resolved
|
||||||
service:
|
service:
|
||||||
name: systemd-resolved
|
name: systemd-resolved
|
||||||
|
|
Loading…
Reference in a new issue