Molecule tests failed
steinbrueckri opened this issue · 0 comments
steinbrueckri commented
Molecule tests failed, I guess that's a bigger thing. Maybee I have next week a bit of time to take a look at it.
See https://github.com/steinbrueckri/ansible-role-tenable-agent/actions/runs/3645152373/jobs/6157475371
TASK [ansible-role-tenable-agent : Check Nessus Agent] *************************
fatal: [instance]: FAILED! => {"changed": false, "cmd": ["/opt/nessus_agent/sbin/nessuscli", "agent", "status"], "delta": "0:00:00.698882", "end": "2022-12-08 08:06:53.897606", "msg": "non-zero return code", "rc": 2, "start": "2022-12-08 08:06:53.198724", "stderr": "", "stderr_lines": [], "stdout": "[info] [agent] Failed to open global database.\n[info] [agent] Data may be incomplete.\nRunning: No\nLinked to: None\nLink status: Not linked to a manager\nProxy: None\nPlugin set: (null)\nScanning: No (0 jobs pending, 0 smart scan configs) \nScans run today: 0 of 10 limit\nLast scanned: Never\nLast connect: Never\nLast connection attempt: Never", "stdout_lines": ["[info] [agent] Failed to open global database.", "[info] [agent] Data may be incomplete.", "Running: No", "Linked to: None", "Link status: Not linked to a manager", "Proxy: None", "Plugin set: (null)", "Scanning: No (0 jobs pending, 0 smart scan configs) ", "Scans run today: 0 of 10 limit", "Last scanned: Never", "Last connect: Never", "Last connection attempt: Never"]}
...ignoring
TASK [ansible-role-tenable-agent : Make sure a service is running] *************
fatal: [instance]: FAILED! => {"changed": false, "cmd": "/bin/systemctl", "msg": "Failed to get D-Bus connection: No such file or directory", "rc": 1, "stderr": "Failed to get D-Bus connection: No such file or directory\n", "stderr_lines": ["Failed to get D-Bus connection: No such file or directory"], "stdout": "", "stdout_lines": []}