mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
Use 'xargs -r' in pipe, instead of plain 'xargs' (#383)
This commit is contained in:
@@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
- name: Make sure OpenLDAP service is stopped
|
- name: Make sure OpenLDAP service is stopped
|
||||||
become: True
|
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
|
- name: Debconf
|
||||||
shell: 'echo "slapd {{ item.question }} {{ item.vtype }} {{ item.value }}" >> /root/debconf-slapd.conf'
|
shell: 'echo "slapd {{ item.question }} {{ item.vtype }} {{ item.value }}" >> /root/debconf-slapd.conf'
|
||||||
|
|||||||
Reference in New Issue
Block a user