Forum Discussion
Ankur_Mathur
Nimbostratus
Oct 26, 2018How to issue shell command from tmsh?
I am trying to automate f5 using ansible and need way to fetch and put back the masterkey. The master key fetching is done by command "f5mku -K" which gets executed on native shell. How can i execute this command from tmsh? Ansible command modules by default use tmsh hence the requirement.
- Ankur_Mathur
Nimbostratus
Alternatively, way to fetch and apply the master key from the tmsh will also help.
- Ankur_Mathur
Nimbostratus
We can use the following option:
run /util bash -c "f5mku -K"
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects