Use command instead of shell
This commit is contained in:
parent
4c8e05e08f
commit
0f9169284f
3 changed files with 4 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
- 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
|
||||
|
||||
- name: restart dhcpd
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
owner: re2o-services
|
||||
group: nogroup
|
||||
recurse: yes
|
||||
mode: u=rwX,g=rX,o=rX
|
||||
|
||||
- name: Install isc-dhcp-server
|
||||
apt:
|
||||
|
@ -101,7 +102,7 @@
|
|||
when: is_aurore_host
|
||||
|
||||
- name: force run dhcp re2o-service
|
||||
shell: /var/local/re2o-services/dhcp/main.py --force
|
||||
command: /var/local/re2o-services/dhcp/main.py --force
|
||||
|
||||
- name: Ensure dhcpd is running
|
||||
service:
|
||||
|
|
|
@ -102,7 +102,7 @@
|
|||
when: "'aurore_vm' in group_names"
|
||||
|
||||
- name: Install radius requirements (except freeradius-python3)
|
||||
shell:
|
||||
command:
|
||||
cmd: "{{ item }}"
|
||||
chdir: /var/www/re2o/
|
||||
loop:
|
||||
|
|
Loading…
Reference in a new issue