Ansible-navigator role calling issue #1613
Unanswered
ahm3dbajw3
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi.
I have some issues with ansible-navigator during role calling below the output of issue.
[devops@control ansible]$ ansible-navigator run -m stdout --syntax-check timesync.yml
ERROR! the role '/usr/share/ansible/roles/linux-system-roles.timesync' was not found in /home/devops/ansible/roles:/home/devops/ansible/myroles:/usr/share/ansible/roles:/home/devops/ansible
The error appears to be in '/home/devops/ansible/timesync.yml': line 13, column 7, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
roles:
- /usr/share/ansible/roles/linux-system-roles.timesync
^ here
Ansible log
2023-09-24T12:39:17.387492+00:00 CRITICAL 'ansible_navigator.actions.run_playbook._handle_message' Unhandled message from runner queue, discarded: {'event': 'verbose', 'uuid': '8e5dea89-661e-4b02-a08d-9879c8fb84c3', 'counter': 7, 'stdout': '\x1b[0;31m\x1b[0m', 'start_line': 6, 'end_line': 7, 'runner_ident': '1a9af9d2-ac34-4034-8e63-e40511b0d463', 'created': '2023-09-24T12:39:17.381982'}
2023-09-24T12:39:17.388320+00:00 CRITICAL 'ansible_navigator.actions.run_playbook._handle_message' Unhandled message from runner queue, discarded: {'event': 'verbose', 'uuid': 'e5f5a273-55a6-4d17-a8ae-9b6d569e5203', 'counter': 8, 'stdout': '\x1b[0;31m roles:\x1b[0m', 'start_line': 7, 'end_line': 8, 'runner_ident': '1a9af9d2-ac34-4034-8e63-e40511b0d463', 'created': '2023-09-24T12:39:17.382247'}
2023-09-24T12:39:17.389179+00:00 CRITICAL 'ansible_navigator.actions.run_playbook._handle_message' Unhandled message from runner queue, discarded: {'event': 'verbose', 'uuid': '53d45583-4417-4016-9f5c-20665067019c', 'counter': 9, 'stdout': '\x1b[0;31m - /usr/share/ansible/roles/linux-system-roles.timesync\x1b[0m', 'start_line': 8, 'end_line': 9, 'runner_ident': '1a9af9d2-ac34-4034-8e63-e40511b0d463', 'created': '2023-09-24T12:39:17.382414'}
2023-09-24T12:39:17.390083+00:00 CRITICAL 'ansible_navigator.actions.run_playbook._handle_message' Unhandled message from runner queue, discarded: {'event': 'verbose', 'uuid': '7b29685e-142c-4a61-b85a-0789f9a1494b', 'counter': 10, 'stdout': '\x1b[0;31m ^ here\x1b[0m', 'start_line': 9, 'end_line': 10, 'runner_ident': '1a9af9d2-ac34-4034-8e63-e40511b0d463', 'created': '2023-09-24T12:39:17.382569'}
2023-09-24T14:48:05.909594+00:00 CRITICAL 'ansible_navigator.actions.run_playbook._handle_message' Unhandled message from runner queue, discarded: {'event': 'verbose', 'uuid': 'ccb68bca-9f26-43a4-839a-c8a6998e241a', 'counter': 1, 'stdout': "\x1b[0;31mERROR! the role '/usr/share/ansible/roles/linux-system-roles.timesync' was not found in /home/devops/ansible/roles:/home/devops/ansible/myroles:/usr/share/ansible/roles:/home/devops/ansible\x1b[0m", 'start_line': 0, 'end_line': 1, 'runner_ident': 'b5605e77-69dc-48cb-992e-b2db84977fd9', 'created': '2023-09-24T14:48:05.889308'}
2023-09-24T14:48:05.924739+00:00 CRITICAL 'ansible_navigator.actions.run_playbook._handle_message' Unhandled message from runner queue, discarded: {'event': 'verbose', 'uuid': '62dab4d5-5940-4c32-9011-9a8a49cab39f', 'counter': 2, 'stdout': '\x1b[0;31m\x1b[0m', 'start_line': 1, 'end_line': 2, 'runner_ident': 'b5605e77-69dc-48cb-992e-b2db84977fd9', 'created': '2023-09-24T14:48:05.899108'}
2023-09-24T14:48:05.930049+00:00 CRITICAL 'ansible_navigator.actions.run_playbook._handle_message' Unhandled message from runner queue, discarded: {'event': 'verbose', 'uuid': 'e9001023-1daf-4c56-b327-948115aab680', 'counter': 3, 'stdout': "\x1b[0;31mThe error appears to be in '/home/devops/ansible/timesync.yml': line 13, column 7, but may\x1b[0m", 'start_line': 2, 'end_line': 3, 'runner_ident': 'b5605e77-69dc-48cb-992e-b2db84977fd9', 'created': '2023-09-24T14:48:05.900656'}
2023-09-24T14:48:05.931270+00:00 CRITICAL 'ansible_navigator.actions.run_playbook._handle_message' Unhandled message from runner queue, discarded: {'event': 'verbose', 'uuid': 'c81a59bf-e550-47d8-b520-e37076b05bc3', 'counter': 4, 'stdout': '\x1b[0;31mbe elsewhere in the file depending on the exact syntax problem.\x1b[0m', 'start_line': 3, 'end_line': 4, 'runner_ident': 'b5605e77-69dc-48cb-992e-b2db84977fd9', 'created': '2023-09-24T14:48:05.901768'}
2023-09-24T14:48:05.932659+00:00 CRITICAL 'ansible_navigator.actions.run_playbook._handle_message' Unhandled message from runner queue, discarded: {'event': 'verbose', 'uuid': 'd4dd1825-619a-472c-bd4c-dd5b0bd4ee96', 'counter': 5, 'stdout': '\x1b[0;31m\x1b[0m', 'start_line': 4, 'end_line': 5, 'runner_ident': 'b5605e77-69dc-48cb-992e-b2db84977fd9', 'created': '2023-09-24T14:48:05.902089'}
2023-09-24T14:48:05.933693+00:00 CRITICAL 'ansible_navigator.actions.run_playbook._handle_message' Unhandled message from runner queue, discarded: {'event': 'verbose', 'uuid': '186e2e3e-8362-4703-9765-d7bba15665d3', 'counter': 6, 'stdout': '\x1b[0;31mThe offending line appears to be:\x1b[0m', 'start_line': 5, 'end_line': 6, 'runner_ident': 'b5605e77-69dc-48cb-992e-b2db84977fd9', 'created': '2023-09-24T14:48:05.917519'}
2023-09-24T14:48:05.934586+00:00 CRITICAL 'ansible_navigator.actions.run_playbook._handle_message' Unhandled message from runner queue, discarded: {'event': 'verbose', 'uuid': '56b2af87-50fc-40ec-872a-7073cb83f6a2', 'counter': 7, 'stdout': '\x1b[0;31m\x1b[0m', 'start_line': 6, 'end_line': 7, 'runner_ident': 'b5605e77-69dc-48cb-992e-b2db84977fd9', 'created': '2023-09-24T14:48:05.918027'}
2023-09-24T14:48:05.935522+00:00 CRITICAL 'ansible_navigator.actions.run_playbook._handle_message' Unhandled message from runner queue, discarded: {'event': 'verbose', 'uuid': '1d8dc48a-428d-48ed-99b5-4a6f937e08c4', 'counter': 8, 'stdout': '\x1b[0;31m roles:\x1b[0m', 'start_line': 7, 'end_line': 8, 'runner_ident': 'b5605e77-69dc-48cb-992e-b2db84977fd9', 'created': '2023-09-24T14:48:05.918307'}
2023-09-24T14:48:05.936329+00:00 CRITICAL 'ansible_navigator.actions.run_playbook._handle_message' Unhandled message from runner queue, discarded: {'event': 'verbose', 'uuid': '8fbdd1d3-6cc8-4cc6-a7c1-6b3c104230b4', 'counter': 9, 'stdout': '\x1b[0;31m - /usr/share/ansible/roles/linux-system-roles.timesync\x1b[0m', 'start_line': 8, 'end_line': 9, 'runner_ident': 'b5605e77-69dc-48cb-992e-b2db84977fd9', 'created': '2023-09-24T14:48:05.918996'}
2023-09-24T14:48:05.937211+00:00 CRITICAL 'ansible_navigator.actions.run_playbook._handle_message' Unhandled message from runner queue, discarded: {'event': 'verbose', 'uuid': 'f3619ed8-dead-4365-b3aa-c4be987b4f6b', 'counter': 10, 'stdout': '\x1b[0;31m ^ here\x1b[0m', 'start_line': 9, 'end_line': 10, 'runner_ident': 'b5605e77-69dc-48cb-992e-b2db84977fd9', 'created': '2023-09-24T14:48:05.919221'}
Beta Was this translation helpful? Give feedback.
All reactions