Hi,
I wrote playbook that should assign static port mappings in 130 EPG for 25
interfaces and it took about 1 hour to execute.
Playbook :
- name: Do static port mapping
include: do_static_binding.yaml
with_items: "{{ new_interfaces }}"
vars:
subnets: "{{ subnets_data }}"
*do_static_binding.yaml* - simple playbook which is using module:
aci_static_binding_to_epg
Where *new_interfaces* - list of interfaces that should be added to EPGs
*subnets_data* - list of dicts containing Tenant, AP, EPG
Is there is a way to speed up playbook execution ? As we want to use
Ansible for all automation tasks, not Python scripts.
P.S
Simple python script that is doing API requests do same work for about 1-2
minutes.
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/5d27f218-c535-4ba4-8546-704765e533can%40googlegroups.com.