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'