Open resonator opened 6 years ago
Hi @resonator, please comment out this task and retry: https://github.com/PaloAltoNetworks/minemeld-ansible/blob/master/roles/minemeld/tasks/CentOS-7-post.yml#L1
I'm getting the same error. When you say comment out, what file is being edit and what is being comment out?
I'm running: Operating System: Red Hat Enterprise Linux redhat-release-server-7.6-4.el7.x86_64 CPE OS Name: cpe:/o:redhat:enterprise_linux:7.6:GA:server Kernel: Linux 3.10.0-957.10.1.el7.x86_64 Architecture: x86-64
I was having this problem as well.
fatal: [127.0.0.1]: FAILED! => {"changed": true, "cmd": ["setsebool", "-P", "httpd_can_network_connect", "1"], "delta": "0:00:00.006452", "end": "2019-09-26 17:03:39.459971", "msg": "non-zero return code", "rc": 1, "start": "2019-09-26 17:03:39.453519", "stderr": "setsebool: SELinux is disabled.", "stderr_lines": ["setsebool: SELinux is disabled."], "stdout": "", "stdout_lines": []}
It is because SELinux is disabled. Comment out the following lines so they will not be run.
- name: enable nginx connections to upstream
command: setsebool -P httpd_can_network_connect 1
CentOS Linux release 7.6.1810 (Core)
TASK [minemeld : enable nginx connections to upstream] ** fatal: [127.0.0.1]: FAILED! => {"changed": true, "cmd": ["setsebool", "-P", "httpd_can_network_connect", "1"], "delta": "0:00:00.004103", "end": "2018-09-18 19:11:44.522664", "msg": "non-zero return code", "rc": 1, "start": "2018-09-18 19:11:44.518561", "stderr": "setsebool: SELinux is disabled.", "stderr_lines": ["setsebool: SELinux is disabled."], "stdout": "", "stdout_lines": []} to retry, use: --limit @/home/xdrobox/minemeld-ansible/local.retry