Run dnsmasq as the dnsmasq user

There is a task that checks whether the dnsmasq user exists.
However, dnsmasq is configured to run as user "nobody" instead.
This change lets dnsmasq run as user "dnsmasq".
This commit is contained in:
Fabian Foerg 2018-07-18 22:01:25 -07:00
parent e6281bc7df
commit dce552f42c
2 changed files with 2 additions and 2 deletions

View file

@ -8,7 +8,7 @@
- name: Dnsmasq installed
package: name=dnsmasq
- name: Ensure that the dnsmasq user exist
- name: Ensure that the dnsmasq user exists
user: name=dnsmasq groups=nogroup append=yes state=present
- name: The dnsmasq directory created

View file

@ -103,7 +103,7 @@ server={{ host }}
# If you want dnsmasq to change uid and gid to something other
# than the default, edit the following lines.
user=nobody
user=dnsmasq
group=nogroup
# If you want dnsmasq to listen for DHCP and DNS requests only on