mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Use 'xargs -r' in pipe, instead of plain 'xargs' (#383)
This commit is contained in:
parent
7b2ad8a80c
commit
b41b46593e
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@
|
|||
|
||||
- name: Make sure OpenLDAP service is stopped
|
||||
become: True
|
||||
shell: 'cat /var/run/slapd/slapd.pid | xargs kill -9 '
|
||||
shell: 'cat /var/run/slapd/slapd.pid | xargs -r kill -9 '
|
||||
|
||||
- name: Debconf
|
||||
shell: 'echo "slapd {{ item.question }} {{ item.vtype }} {{ item.value }}" >> /root/debconf-slapd.conf'
|
||||
|
|
Loading…
Reference in a new issue