Skip to content

set_vars

Note

Always use the FQCN (Fully Qualified Collection Name) arista.avd.set_vars when using this plugin.

Set vars as ansible_facts.

Synopsis

Set vars as ansible_facts.

Ansible will copy these into vars in the global namespace as well.

Arguments are treated as one dict so all arguments will be set as vars.

Examples

- name: Remove avd_switch_facts
  arista.avd.set_vars:
    avd_switch_facts: null
  run_once: true
  check_mode: false

Authors

  • Arista Ansible Team (@aristanetworks)