Closed EdoardoMDP closed 5 years ago
Hi all,
I'm installing minemeld on Redhat 7. When i run this command:
sudo ansible-playbook -K -i 127.0.0.1, local.yml
i got this error: `PLAY [minemeld playbook] **
TASK [Gathering Facts] **** ok: [127.0.0.1]
TASK [infrastructure : debug] ***** ok: [127.0.0.1] => { "msg": "Loading vars for RedHat 7.2" }
TASK [infrastructure : include_vars] ** ok: [127.0.0.1] => (item=/root/minemeld-ansible/roles/infrastructure/vars/RedHat-7.yml)
TASK [infrastructure : create minemeld group] ***** ok: [127.0.0.1]
TASK [infrastructure : include task based on distribution] **** included: /root/minemeld-ansible/roles/infrastructure/tasks/RedHat-7.yml for 127.0.0.1
TASK [infrastructure : enable epel] *** ok: [127.0.0.1]
TASK [infrastructure : enable RedHat RHEL 7 Optional repo (AWS)] ** changed: [127.0.0.1]
TASK [infrastructure : enable RedHat RHEL 7 Optional repo] **** changed: [127.0.0.1]
TASK [infrastructure : Check for custom python] *** ok: [127.0.0.1]
TASK [infrastructure : Extract Python 2.7.15] ***** ok: [127.0.0.1]
TASK [infrastructure : Configure Python 2.7.15] *** fatal: [127.0.0.1]: FAILED! => {"changed": true, "cmd": "./configure --prefix=/usr/local", "delta": "0:00:00.004001", "end": "2019-10-07 19:42:36.961017", "msg": "non-zero return code", "rc": 126, "start": "2019-10-07 19:42:36.957016", "stderr": "/bin/sh: ./configure: Permission denied", "stderr_lines": ["/bin/sh: ./configure: Permission denied"], "stdout": "", "stdout_lines": []}
PLAY RECAP **** 127.0.0.1 : ok=10 changed=2 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0`
I have root privileges and i have disabled SELinux, so why does it happen? Thanks.
Hi all,
I'm installing minemeld on Redhat 7. When i run this command:
sudo ansible-playbook -K -i 127.0.0.1, local.yml
i got this error: `PLAY [minemeld playbook] **
TASK [Gathering Facts] **** ok: [127.0.0.1]
TASK [infrastructure : debug] ***** ok: [127.0.0.1] => { "msg": "Loading vars for RedHat 7.2" }
TASK [infrastructure : include_vars] ** ok: [127.0.0.1] => (item=/root/minemeld-ansible/roles/infrastructure/vars/RedHat-7.yml)
TASK [infrastructure : create minemeld group] ***** ok: [127.0.0.1]
TASK [infrastructure : include task based on distribution] **** included: /root/minemeld-ansible/roles/infrastructure/tasks/RedHat-7.yml for 127.0.0.1
TASK [infrastructure : enable epel] *** ok: [127.0.0.1]
TASK [infrastructure : enable RedHat RHEL 7 Optional repo (AWS)] ** changed: [127.0.0.1]
TASK [infrastructure : enable RedHat RHEL 7 Optional repo] **** changed: [127.0.0.1]
TASK [infrastructure : Check for custom python] *** ok: [127.0.0.1]
TASK [infrastructure : Extract Python 2.7.15] ***** ok: [127.0.0.1]
TASK [infrastructure : Configure Python 2.7.15] *** fatal: [127.0.0.1]: FAILED! => {"changed": true, "cmd": "./configure --prefix=/usr/local", "delta": "0:00:00.004001", "end": "2019-10-07 19:42:36.961017", "msg": "non-zero return code", "rc": 126, "start": "2019-10-07 19:42:36.957016", "stderr": "/bin/sh: ./configure: Permission denied", "stderr_lines": ["/bin/sh: ./configure: Permission denied"], "stdout": "", "stdout_lines": []}
PLAY RECAP **** 127.0.0.1 : ok=10 changed=2 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0`
I have root privileges and i have disabled SELinux, so why does it happen? Thanks.