Ansible Networking drivers for ML2
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
576B

  1. ---
  2. # delegate task to localhost to avoid starting the device connection
  3. - name: "check for required fact: port_name"
  4. fail:
  5. msg: "missing required fact: port_name"
  6. when: not port_name
  7. delegate_to: localhost
  8. # delegate task to localhost to avoid starting the device connection
  9. - name: "check for required fact: port_description"
  10. fail:
  11. msg: "missing required fact: port_description"
  12. when: not port_description
  13. delegate_to: localhost
  14. - name: include and run device provider specific tasks
  15. include_tasks: run.yaml
  16. vars:
  17. ml2_resource: conf_trunk_port