mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
dhcpd move stock disable
This commit is contained in:
parent
90020a25ba
commit
0143cea2dd
2 changed files with 7 additions and 7 deletions
|
@ -17,7 +17,13 @@
|
|||
createhome=no
|
||||
when: is_debuntu
|
||||
|
||||
- name: Configure dhcpd
|
||||
- name: Disable stock dhcp_service
|
||||
service: name={{ dhcp_service }}
|
||||
enabled=no
|
||||
state=stopped
|
||||
when: is_debuntu
|
||||
|
||||
- name: Install systemd unit file to /etc/systemd/system/dhcpd.service
|
||||
template: src={{ item.src }}
|
||||
dest={{ item.dest }}
|
||||
owner=root
|
||||
|
|
|
@ -1,9 +1,3 @@
|
|||
- name: Disable stock dhcp_service
|
||||
service: name={{ dhcp_service }}
|
||||
enabled=no
|
||||
state=stopped
|
||||
when: dhcpd_install and first_run and is_debuntu
|
||||
|
||||
- name: Disable dhcpd service
|
||||
service: name=dhcpd
|
||||
enabled=no
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue