Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running into an error during execution #1

Open
tux1980 opened this issue Nov 29, 2022 · 1 comment
Open

Running into an error during execution #1

tux1980 opened this issue Nov 29, 2022 · 1 comment

Comments

@tux1980
Copy link

tux1980 commented Nov 29, 2022

Hi,
I do have serveral WorkFlows on azure running on my AAP2.2. this one I could not get to run successfully. Using a "cloudy" ee including azure collections and the az client.

Do you have some idea? I cannot really comprehend the issue "Permission Denied" since I do have all the neccessarl permissions within my Azure Crediantials.

Thanks!

ok: [localhost]
TASK [Create resource group] ***************************************************
fatal: [localhost]: FAILED! => {"changed": true, "cmd": ["az", "group", "create", "--name", "aro", "--location", "eastus"], "delta": "0:00:00.493719", "end": "2022-11-29 09:28:12.536810", "msg": "non-zero return code", "rc": 1, "start": "2022-11-29 09:28:12.043091", "stderr": "Traceback (most recent call last):\n File "/usr/lib64/az/lib/python3.9/site-packages/azure/cli/core/_session.py", line 36, in load\n self.save()\n File "/usr/lib64/az/lib/python3.9/site-packages/azure/cli/core/_session.py", line 54, in save\n with open(self.filename, 'w', encoding=self._encoding) as f:\nPermissionError: [Errno 13] Permission denied: '/home/runner/.azure/az.sess'\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File "/usr/lib64/python3.9/runpy.py", line 197, in _run_module_as_main\n return _run_code(code, main_globals, None,\n File "/usr/lib64/python3.9/runpy.py", line 87, in _run_code\n exec(code, run_globals)\n File "/usr/li…
PLAY RECAP *********************************************************************
localhost : ok=1 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0

@ryannix123
Copy link
Owner

Hi @tux1980. Can you run the playbook successfully on your local system? I admit that I didn't test the playbook against AAP, but I probably should.

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

No branches or pull requests

2 participants