Fixing Ansible lint once and for all #14
3 changed files with 5 additions and 6 deletions
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
- name: force run dhcp re2o-service
|
- name: force run dhcp re2o-service
|
||||||
shell: /var/local/re2o-services/dhcp/main.py --force
|
command: /var/local/re2o-services/dhcp/main.py --force
|
||||||
become_user: re2o-services
|
become_user: re2o-services
|
||||||
|
|
||||||
- name: restart dhcpd
|
- name: restart dhcpd
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
owner: re2o-services
|
owner: re2o-services
|
||||||
group: nogroup
|
group: nogroup
|
||||||
recurse: true
|
recurse: true
|
||||||
mode: 755
|
mode: 0755
|
||||||
|
|
||||||
- name: Install isc-dhcp-server
|
- name: Install isc-dhcp-server
|
||||||
apt:
|
apt:
|
||||||
|
|
|
@ -106,12 +106,11 @@
|
||||||
|
|
||||||
- name: Install radius requirements (except freeradius-python3)
|
- name: Install radius requirements (except freeradius-python3)
|
||||||
shell:
|
shell:
|
||||||
cmd: "{{ item }}"
|
cmd: "cat apt_requirements_radius.txt | grep -v freeradius-python3 | xargs apt-get -y install"
|
||||||
chdir: /var/www/re2o/
|
chdir: /var/www/re2o/
|
||||||
loop:
|
|
||||||
- "cat apt_requirements_radius.txt | grep -v freeradius-python3 | xargs apt-get -y install"
|
|
||||||
- "pip3 install -r pip_requirements.txt"
|
|
||||||
|
|
||||||
|
- name: Install PyPi requirements for radius
|
||||||
|
command: "pip3 install -r /var/www/re2o/pip_requirements.txt"
|
||||||
|
|
||||||
# End of hideousness (hopefully).
|
# End of hideousness (hopefully).
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue