diff --git a/roles/201_poll_config_data/tasks/main.yaml b/roles/201_poll_config_data/tasks/main.yaml deleted file mode 100644 index e73930d..0000000 --- a/roles/201_poll_config_data/tasks/main.yaml +++ /dev/null @@ -1,20 +0,0 @@ ---- -- name: 10. CREATE TEMPORARY DIRECTORY - delegate_to: localhost - ansible.builtin.file: - dest: "{{ output_directory.results }}" - state: directory - -- name: 20. COLLECT CONFIG - ansible.netcommon.netconf_get: - display: native - filter: - lock: never - register: output_info - -- name: 30. SAVING CONFIG - delegate_to: localhost - ansible.builtin.copy: - content: "{{ output_info.output | to_nice_json }}" - dest: "{{ output_directory.results }}/{{ inventory_hostname }}_config.json" -... \ No newline at end of file diff --git a/roles/202_poll_state_data/tasks/main.yaml b/roles/202_poll_state_data/tasks/main.yaml deleted file mode 100644 index d66fd04..0000000 --- a/roles/202_poll_state_data/tasks/main.yaml +++ /dev/null @@ -1,21 +0,0 @@ ---- -- name: 10. CREATE TEMPORARY DIRECTORY - delegate_to: localhost - ansible.builtin.file: - dest: "{{ output_directory.results }}" - state: directory - recurse: True - -- name: 20. COLLECT STATES - ansible.netcommon.netconf_get: - display: native - filter: - lock: never - register: output_info - -- name: 30. SAVING STATES - delegate_to: localhost - ansible.builtin.copy: - content: "{{ output_info.output | to_nice_json }}" - dest: "{{ output_directory.results }}/{{ inventory_hostname }}_state.json" -... \ No newline at end of file