Implement better IP address/network notation.
This commit is contained in:
parent
3670bf6597
commit
2ff1354fe3
8 changed files with 9 additions and 10 deletions
|
@ -65,7 +65,7 @@
|
|||
- name: "make 'ldap' an alias hostname resolvable from the LAN"
|
||||
replace:
|
||||
path: /etc/hosts
|
||||
regexp: "^({{ ipaddr_lan }}\\s.+)$"
|
||||
regexp: "^({{ ipaddr_lan | ipaddr('address') }}\\s.+)$"
|
||||
replace: '\1 ldap'
|
||||
when: not slapd.stat.exists
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue