Fixing error in configuration: dhcp range has to be assigned to internal, not external, interface.

This commit is contained in:
Emiliano Vavassori 2015-09-06 23:15:13 +02:00
parent 731386813d
commit d622369ccc
1 changed files with 2 additions and 2 deletions

View File

@ -46,13 +46,13 @@
when: chk_passstr|changed
- name: Verifica configurazione DHCP
shell: /sbin/e-smith/db dhcp getprop {{ extnic }} DhcpRangeStart
shell: /sbin/e-smith/db dhcp getprop {{ intnic }} DhcpRangeStart
sudo: yes
ignore_errors: true
register: chk_dhcp
- name: Configurazione servizio DHCP
shell: /sbin/e-smith/db dhcp set {{ extnic }} range DhcpRangeStart {{ ansible_local.domain.dhcprange_start }} DhcpRangeEnd {{ ansible_local.domain.dhcprange_end }} status enabled
shell: /sbin/e-smith/db dhcp set {{ intnic }} range DhcpRangeStart {{ ansible_local.domain.dhcprange_start }} DhcpRangeEnd {{ ansible_local.domain.dhcprange_end }} status enabled
sudo: yes
when: chk_dhcp|failed