Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

AIX setup module fails #1108

Closed
bigl0af opened this issue Apr 8, 2015 · 3 comments · Fixed by ansible/ansible#10643
Closed

AIX setup module fails #1108

bigl0af opened this issue Apr 8, 2015 · 3 comments · Fixed by ansible/ansible#10643

Comments

@bigl0af
Copy link

bigl0af commented Apr 8, 2015

Ansible Version: 1.9 from Github

ansible 1.9 (detached HEAD e82ba72) last updated 2015/04/06 13:25:47 (GMT -400)
lib/ansible/modules/core: (detached HEAD 04c34cf) last updated 2015/04/06 13:25:47 (GMT -400)
lib/ansible/modules/extras: (detached HEAD 21fce8a) last updated 2015/04/06 13:25:47 (GMT -400)
v2/ansible/modules/core: (detached HEAD 34784b7) last updated 2015/02/10 07:41:54 (GMT -400)
v2/ansible/modules/extras: (detached HEAD 21fce8a) last updated 2015/04/06 13:25:47 (GMT -400)
configured module search path = /usr/share/ansible

Environment:

OS RHEL 6.4, managed node AIX 6.1

Summary:
During collecting facts (executing setup module on AIX) as a non root user that has sudo privs, module fails with error:

Expected Results:

module setup should be able to collect facts.

Actual Results:
$ ansible host1 -m setup -i hosts

host | FAILED >> {
"cmd": "/usr/sbin/bootinfo -p",
"failed": true,
"msg": "[Errno 13] Permission denied",
"rc": 13
}

@bigl0af
Copy link
Author

bigl0af commented Apr 8, 2015

Looks like this same issue was reported here ansible/ansible#6458 but closed during code re-org...

@bcoca
Copy link
Member

bcoca commented Apr 8, 2015

I'm guessing you need root in both cases to succeed?

@bcoca
Copy link
Member

bcoca commented Apr 8, 2015

^ check if this PR fixes issues, the other issue with routes seems to have also been solved in previous commits.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants