Last question.
How can I do that correctly?
---
- name: Playing VLAN Configuration
hosts: POC_ENV
connection: local
vars:
vlan_id: 999
vlan_name: TEST_VLAN_TEST
tasks:
- include_role:
name: vlan_creation
tasks_from: show_vlan.yml
tasks_from: add_vlan.yml
# Final result = run show_vlan on requested predefined group
My goal is to run multiple tasks that located inside vlan_creation. One is
show_vlan.yml and second is add_vlan.yml
Currently this is not working and its ignoring show_vlan.yml task and
performs only the last task which is add_vlan.yml.
--
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/c580443a-29e5-412e-aa50-80858864f3e7%40googlegroups.com.