mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
use full path otherwise .j2 is used - no need to supply systemd unit file
This commit is contained in:
parent
f6e16fea68
commit
1db445aacb
2 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@
|
|||
group=root
|
||||
mode={{ item.mode }}
|
||||
with_items:
|
||||
- { src: 'network/dnsmasq.service.rh', dest: '/etc/systemd/system/dnsmasq.service', mode: '0644' }
|
||||
# - { src: 'network/dnsmasq.service.rh', dest: '/etc/systemd/system/dnsmasq.service', mode: '0644' }
|
||||
- { src: 'network/dnsmasq.conf.j2' dest: '/etc/dnsmasq.conf' mode: '644' }
|
||||
|
||||
- name: Start dnsmasq
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
when: not dnsmasq_enabled and dnsmasq_install
|
||||
|
||||
- name: dnsmasq copy config file to /etc
|
||||
template: src=network/dnsmasq.conf.j2 dest=/etc/
|
||||
template: src=network/dnsmasq.conf.j2 dest=/etc/dnsmasq.conf
|
||||
when: dnsmasq_enabled and dnsmasq_install
|
||||
|
||||
- name: Enable dnsmasq
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue