Using defaults to configure DHCP server, missing from previous tests.
This commit is contained in:
parent
f21268a509
commit
731386813d
@ -46,13 +46,13 @@
|
||||
when: chk_passstr|changed
|
||||
|
||||
- name: Verifica configurazione DHCP
|
||||
shell: /sbin/e-smith/db dhcp getprop eth1 DhcpRangeStart
|
||||
shell: /sbin/e-smith/db dhcp getprop {{ extnic }} DhcpRangeStart
|
||||
sudo: yes
|
||||
ignore_errors: true
|
||||
register: chk_dhcp
|
||||
|
||||
- name: Configurazione servizio DHCP
|
||||
shell: /sbin/e-smith/db dhcp set eth1 range DhcpRangeStart {{ ansible_local.domain.dhcprange_start }} DhcpRangeEnd {{ ansible_local.domain.dhcprange_end }} status enabled
|
||||
shell: /sbin/e-smith/db dhcp set {{ extnic }} range DhcpRangeStart {{ ansible_local.domain.dhcprange_start }} DhcpRangeEnd {{ ansible_local.domain.dhcprange_end }} status enabled
|
||||
sudo: yes
|
||||
when: chk_dhcp|failed
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user