agent conf
This commit is contained in:
@@ -10,12 +10,15 @@
|
||||
- kea-ctrl-agent
|
||||
state: present
|
||||
|
||||
- name: genere ca.cnf dasn /etc/kea-ctrl-agent
|
||||
fetch:
|
||||
src: /etc/kea/kea-ctrl-agent.conf
|
||||
dest: .
|
||||
- name: change adresse IP dans /etc/kea/kea-ctrl-agent.conf
|
||||
ansible.builtin.replace:
|
||||
path: /etc/kea/kea-ctrl-agent.conf
|
||||
regexp: '"http-host": "127.0.0.1",'
|
||||
replace: '"http-host": "{{ srv_ip }}",'
|
||||
backup: yes
|
||||
|
||||
- name: genere ca.cnf dasn /etc/kea-ctrl-agent
|
||||
fetch:
|
||||
src: /etc/kea/kea-dhcp4-server.conf
|
||||
dest: ..
|
||||
src: /etc/kea/kea-dhcp4.conf
|
||||
dest: ./
|
||||
flat: yes
|
||||
|
Reference in New Issue
Block a user