Use shell when deploying FreeIPA
Using command works but we get no logs of the deployment command because the command module masks away the redirection operators. https://blog.confirm.ch/ansible-modules-shell-vs-command/ Change-Id: Ib5fb3a76e0bd205791c6264cd3c2151618153108
This commit is contained in:
parent
6d9fdaa2c8
commit
ffa0d7cc35
@ -21,4 +21,4 @@
|
||||
|
||||
- name: Deploy FreeIPA
|
||||
become: true
|
||||
command: "~{{ supplemental_user }}/deploy_freeipa.sh &> ~{{ supplemental_user }}/deploy_freeipa.log"
|
||||
shell: "~{{ supplemental_user }}/deploy_freeipa.sh &> ~{{ supplemental_user }}/deploy_freeipa.log"
|
||||
|
Loading…
Reference in New Issue
Block a user