Open 8secz-johndpope opened 4 years ago
I'm on centos -
TASK [ansible-role-awslogs : awslogs | install the daemon] *** fatal: [xxxxxx-southeast-2.compute.amazonaws.com]: FAILED! => {"changed": true, "cmd": "python /tmp/awslogs-agent-setup.py -n -r ap-southeast-2 -c /tmp/awslogs.conf", "delta": "0:00:00.053346", "end": "2020-03-18 06:49:04.069519", "msg": "non-zero return code", "rc": 3, "start": "2020-03-18 06:49:04.016173", "stderr": "", "stderr_lines": [], "stdout": "\u001b[91mERROR: Failed to determine linux distribution. Exiting.\u001b[0m", "stdout_lines": ["\u001b[91mERROR: Failed to determine linux distribution. Exiting.\u001b[0m"]}
related https://github.com/tartansandal/ansible-role-awslogs-setup/blob/5f8ea5a7b3fcccadf7f4fc980d5cfbd66357dafa/src/awslogs-agent-setup.py
I'm on centos -
TASK [ansible-role-awslogs : awslogs | install the daemon] *** fatal: [xxxxxx-southeast-2.compute.amazonaws.com]: FAILED! => {"changed": true, "cmd": "python /tmp/awslogs-agent-setup.py -n -r ap-southeast-2 -c /tmp/awslogs.conf", "delta": "0:00:00.053346", "end": "2020-03-18 06:49:04.069519", "msg": "non-zero return code", "rc": 3, "start": "2020-03-18 06:49:04.016173", "stderr": "", "stderr_lines": [], "stdout": "\u001b[91mERROR: Failed to determine linux distribution. Exiting.\u001b[0m", "stdout_lines": ["\u001b[91mERROR: Failed to determine linux distribution. Exiting.\u001b[0m"]}