parent
c46a08858d
commit
5b56f9cfc9
3 changed files with 4 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
- name: force run dhcp re2o-service
|
- name: force run dhcp re2o-service
|
||||||
command: /var/local/re2o-services/dhcp/main.py --force
|
shell: /var/local/re2o-services/dhcp/main.py --force
|
||||||
become_user: re2o-services
|
become_user: re2o-services
|
||||||
|
|
||||||
- name: restart dhcpd
|
- name: restart dhcpd
|
||||||
|
|
|
@ -17,8 +17,7 @@
|
||||||
state: directory
|
state: directory
|
||||||
owner: re2o-services
|
owner: re2o-services
|
||||||
group: nogroup
|
group: nogroup
|
||||||
recurse: true
|
recurse: yes
|
||||||
mode: u=rwX,g=rX,o=rX
|
|
||||||
|
|
||||||
- name: Install isc-dhcp-server
|
- name: Install isc-dhcp-server
|
||||||
apt:
|
apt:
|
||||||
|
@ -102,7 +101,7 @@
|
||||||
when: is_aurore_host
|
when: is_aurore_host
|
||||||
|
|
||||||
- name: force run dhcp re2o-service
|
- name: force run dhcp re2o-service
|
||||||
command: /var/local/re2o-services/dhcp/main.py --force
|
shell: /var/local/re2o-services/dhcp/main.py --force
|
||||||
|
|
||||||
- name: Ensure dhcpd is running
|
- name: Ensure dhcpd is running
|
||||||
service:
|
service:
|
||||||
|
|
|
@ -103,7 +103,7 @@
|
||||||
when: "'aurore_vm' in group_names"
|
when: "'aurore_vm' in group_names"
|
||||||
|
|
||||||
- name: Install radius requirements (except freeradius-python3)
|
- name: Install radius requirements (except freeradius-python3)
|
||||||
command:
|
shell:
|
||||||
cmd: "{{ item }}"
|
cmd: "{{ item }}"
|
||||||
chdir: /var/www/re2o/
|
chdir: /var/www/re2o/
|
||||||
loop:
|
loop:
|
||||||
|
|
Loading…
Reference in a new issue