From b41b46593e84a2ecf5d1d085697c97b42318bf58 Mon Sep 17 00:00:00 2001 From: Anatoly Pugachev Date: Wed, 20 May 2020 13:59:35 +0300 Subject: [PATCH] Use 'xargs -r' in pipe, instead of plain 'xargs' (#383) --- tests/integration/targets/setup_openldap/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/targets/setup_openldap/tasks/main.yml b/tests/integration/targets/setup_openldap/tasks/main.yml index 58cc5769b1..ffa111a867 100644 --- a/tests/integration/targets/setup_openldap/tasks/main.yml +++ b/tests/integration/targets/setup_openldap/tasks/main.yml @@ -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'