Forum Discussion
Change crypto master key with ansible not possible?
- Mar 09, 2023
I finally got it to run, but the ansible module documentation is really lacking good examples.
Solution see here: https://community.f5.com/t5/technical-forum/ansible-running-bash-commands-with-bigip-command-module-how-it-s/td-p/311582
Have you tried making a bash script and using echo or the Linux yes to supply the data to the interactive prompt ?
https://www.howtogeek.com/415535/how-to-use-the-yes-command-on-linux/
You can trigger the script with the ansible command module for F5 and bash -c "<trigger script in Lunux>" from within the TMSH.
https://docs.ansible.com/ansible/latest/collections/f5networks/f5_modules/bigip_command_module.html
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com