I have the above simple show_run.yaml ansible playbook. While i run this playbook I am getting this error:
~/central-orchestration/csr-instance-ansible-poc > ansible-playbook show_run.yaml
ERROR! conflicting action statements: ios_config, name
The error appears to have been in '/Users/vishlpa4/central-orchestration/csr-instance-ansible-poc/show_run.yaml': line 6, column 6, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
tasks:
- name: test show run
^ here
The error appears to have been in '/Users/vishlpa4/central-orchestration/csr-instance-ansible-poc/show_run.yaml': line 6, column 6, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
tasks:
- name: test show run
^ here
exception type: <class 'ansible.errors.AnsibleParserError'>
exception: conflicting action statements: ios_config, name
The error appears to have been in '/Users/vishlpa4/central-orchestration/csr-instance-ansible-poc/show_run.yaml': line 6, column 6, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
tasks:
- name: test show run
^ here
~/central-orchestration/csr-instance-ansible-poc >