ansible-collections / community.yang

Ansible Community Collection to support Yang in network devices.
GNU General Public License v3.0
10 stars 14 forks source link

Allow configure to accept an ansible native data object #26

Closed cidrblock closed 4 years ago

cidrblock commented 4 years ago
  - name: Apply the config
    community.yang.configure:
      config: "{{ updated.interface_config.json_data }}"

If the variable is defined, seems like we shouldn't require the user to convert it to json