mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Reloading DNSMasq when updating /etc/hosts.
This commit is contained in:
parent
540f7d3c45
commit
13fd328cfd
2 changed files with 5 additions and 1 deletions
|
@ -1,4 +1,7 @@
|
|||
---
|
||||
- name: restart nginx
|
||||
service: name=nginx state=restarted
|
||||
|
||||
|
||||
- name: reload dnsmasq
|
||||
become: yes
|
||||
service: name=dnsmasq state=reloaded
|
||||
|
|
|
@ -57,6 +57,7 @@
|
|||
src: /srv/secrets-newsblur/configs/hosts
|
||||
dest: /etc/hosts
|
||||
tags: hosts
|
||||
notify: reload dnsmasq
|
||||
|
||||
- name: "Add inventory_hostname to /etc/hosts"
|
||||
become: yes
|
||||
|
|
Loading…
Add table
Reference in a new issue