ansible-network / config_manager

Ansible Network Config Manager Role
GNU General Public License v3.0
23 stars 17 forks source link

variable inconsistency between config_manager and cisco_ios #17

Closed IPvSean closed 5 years ago

IPvSean commented 6 years ago

In the dos for config_manager->

    - name: get active configuration from device
      include_role:
        name: ansible-network.config_manager
        tasks_from: get

    - name: display the device configuration to stdout
      debug:
        var: config_manager.config.split('\n')

but in the cisco_ios role the actual task is registering to configuration->

- name: run command and return configuration
  cli:
    command: "{{ ios_config_source[source | default('running')] }}"
  register: configuration
trishnaguha commented 5 years ago

resolved_by_pr https://github.com/ansible-network/config_manager/pull/15