apenella
apenella
Hi @MohamedKHALILRouissi! Thank you for opening this issue! You're currently utilizing the `AnsiblePlaybookExecute`, which is a ready-to-go executor and doesn't offer much room for customization. To disable stdout, I suggest...
hi @MohamedKHALILRouissi! That won't be possible by configuring the writer, at least not straightforwardly, because the DefaultExecute's writer captures the entire command execution. Did you explore the [JSON stdout callback](https://docs.ansible.com/ansible/2.9/plugins/callback/json.html)?...
@MohamedKHALILRouissi let me know if any further assistance is required, otherwise, I will close the issue.
@MohamedKHALILRouissi I close the issue. If you have any questions, please, feel free open a new issue.
Hi @rhugga! Thanks for raising this! It seems like something changed if the behaviour is not the same you had. I need to reproduce the issue before providing a proper...
hi @rhugga ! I created the PR https://github.com/apenella/go-ansible/pull/161, which includes an example showing how to execute a playbook becoming root user and using the _ansible_sudo_pass_ variable to set the user...
Hi @rhugga! I have updated the example to choose the `ansible-core` version. I tested the code with `ansible-core 2.16.9`, which matches the version you used, and it worked successfully on...
Hi @rhugga! Did you have the chance to review the example [ansibleplaybook-ssh-become-root-with-password](https://github.com/apenella/go-ansible/pull/161/files#diff-825ae922e3300928c1a84e3cedeae135e05c78cb11aa6ceff0bd2661ac612e89)?
@rhugga I close this issue. If you need further help, please open a new issue or reopen this one.
Hi @prakasa1904 ! Thanks for opening this issue! Indeed, the `String` method in `AnsiblePlaybookOptions` does not cover all verbosity levels, and I will fix this. In the meantime, when generating...