cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
812
Views
5
Helpful
2
Replies

How to RUN ansible playbooks from NSO

cabottch@cisco.com
Cisco Employee
Cisco Employee

Dear Community,

 

Do you have any info about hot to run Ansible playbooks from NSO?

Thanks for your help. BR!

2 Replies 2

perander
Cisco Employee
Cisco Employee
Would it work creating a YANG model with actions or operations that execute the wanted Ansible playbooks?

cnasten
Cisco Employee
Cisco Employee

There is Proof of Concept level NED for interacting with Ansible Tower with a rather limited set of actions but allows for starting jobs i.e. running playbooks and manage hosts.

 

If Ansible Tower is not an option it is possible to start Ansible from NSO using actions in a number of different ways but as far as i know you are on your own here. Do keep in mind to keep track of concurrent invocations, resource usage, increasing action timeouts etc.