All Questions
Tagged with ansible permissions
5
questions
0
votes
1
answer
2k
views
Linux RHEL 7 - Ansible - Execute command in shell is normal but got file not found/permission denied when run via script
I have an Ansible body as follow
- name: install
command: sh /installScript.sh
args:
chdir: /home/cust/
then I execute my playbook using this
ansible-playbook -i my_inventory....
0
votes
1
answer
266
views
Ansible debug permissions of ansible scripts
I have a user AAA, and set my remote path (successfully) to /home/AAA/.ansible_tmp/, and ansible successfully ssh'ed into the box with AAA, and I still get permission denied on the python scripts of ...
4
votes
3
answers
21k
views
Ansible Copy module & become - Permission denied
I am running an ansible script on localhost to copy a folder to another location.
However,
- name: Copy Network
become: yes
become_user: root
copy:
src: /d/
dest: "/dest/d/"
mode: ...
4
votes
3
answers
27k
views
How to fix: "listen tcp :443: bind: permission denied" on mattermost using ansible
I am deploying Mattermost in my AWS environment using ansible. I am trying to set a secure https connection, but I keep getting this error when I go into the logs:
{:"commands/server.go:112"...
3
votes
2
answers
16k
views
Permission denied in Ansible synchronize module
I'm using Ansible, among other things, for backing up purposes. I run ansible-playbook with a non-root user (let's say it is user) and ssh as user. After that, I set up privilege escalation to become ...