1
0
Fork 0
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:
Jerry Vonau 2018-06-01 11:16:30 -05:00
parent f6e16fea68
commit 1db445aacb
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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