Re: [ansible-project] Molecule : basic documentation

2022-09-18 Thread Sudheer S
I made some progress by adding a task in tasks.yml. It was empty before. Also edited molecule.yml. tasks.main: --- # tasks file for my_new_role - name: install   apt:     name:   - apache2   update_cache: "yes" molecule/default/molecule.yml: --- dependency:   name: galaxy driver:   name:

[ansible-project] Ansible Tower 3.8.6 - Workflow Survey - Updating choices on one question

2022-09-18 Thread glenc2...@comcast.net
Hello all! I have been racking my brain on how to update one field in the survey spec to one survey question. I'm unable to write the code to actually get this done while still maintaining the survey flow as is so when it's executed the questions will stay in the same place every time. Or I mak

Re: [ansible-project] GitHub Webhook not working

2022-09-18 Thread 'Maik Brauer' via Ansible Project
POST for https://docs.ansible.com/ansible-tower/latest/html/towerapi/api_ref.html#/Job_Templates/Job_Templates_job_templates_github_create https://{{my_url}}/api/v2/job_templates/33/github/ For HTTP Header I choose: Authorization: Bearer {Token from AWX job template }} Content-Type: application

Re: [ansible-project] GitHub Webhook not working

2022-09-18 Thread Kevin Shumaker
You can substitute w.x.y.z for the ip address or name of the web server, and change words or passwords and usernames to something else. It's hard to diagnose an issue if you don't know what the format of the command is you are using. I know, from personal experience, that just the number of spa

Re: [ansible-project] GitHub Webhook not working

2022-09-18 Thread 'Maik Brauer' via Ansible Project
I tried to POST that via POSTMAN. Also there I got a HTTP403 Forbidden. Due to sensitive data I can't really post my example here as it contains company data. But according to the HowTo guide it should be straight forward. kevin.s...@gmail.com schrieb am Sonntag, 18. September 2022 um 18:56:10

Re: [ansible-project] GitHub Webhook not working

2022-09-18 Thread Kevin Shumaker
Out of curiosity, what command is being used to call the github when you get the error? Can you give a sample / example? Does the command work at a command line level? On Sunday, September 18, 2022 at 12:23:47 PM UTC-4 maik@googlemail.com wrote: > I just followed the following guide > ht

Re: [ansible-project] GitHub Webhook not working

2022-09-18 Thread 'Maik Brauer' via Ansible Project
I just followed the following guide https://docs.ansible.com/ansible-tower/latest/html/userguide/webhooks.html Should be straight forward. But GitHub reports that with an 403 permission denied. So my question is, do i need to configure something else? Maik Brauer via Outlook

Re: [ansible-project] GitHub Webhook not working

2022-09-18 Thread Wei-Yen Tan
What's in your step that triggers the awx web hook? Get Outlook for iOS From: 'Maik Brauer' via Ansible Project Sent: Sunday, September 18, 2022 4:00:42 PM To: ansible-project@googlegroups.com Subject: Re: [ansible-project] GitHub Webhook n

Re: [ansible-project] GitHub Webhook not working

2022-09-18 Thread m . nelson
This looks like a question for the AWX team, since you mentioned "job template". On 18/09/2022 10:00, "'Maik Brauer' via Ansible Project" wrote: Because Ansible throws the error, that this request is denied. GitHub sends a webhook to Ansible and ansible denied. So I do also not get your state

Re: [ansible-project] Molecule : basic documentation

2022-09-18 Thread Michael Nelson
Hi, In my experience, the molecule commands need to be executed at the root of the role, therefore you should omit the second cd command: cd my_new_role/ molecule test should work Regards, Hello, I am trying to make a hello world type testing with Molecule. But it seems that the Molecul

[ansible-project] Molecule : basic documentation

2022-09-18 Thread Sudheer S
Hello, I am trying to make a hello world type testing with Molecule. But it seems that the Molecule documentation is outdated. https://molecule.readthedocs.io/en/latest/ https://molecule.readthedocs.io/en/latest/installation.html has instructions from Ubuntu 16.x. But not 20.x or 22.x. "pi

Re: [ansible-project] GitHub Webhook not working

2022-09-18 Thread 'Maik Brauer' via Ansible Project
Because Ansible throws the error, that this request is denied. GitHub sends a webhook to Ansible and ansible denied. So I do also not get your statement. Whtnis wrong on my question in asking this as webhook integration is very well know with GitLab and GitHub. Maik Brauer via Outlook