Re: [ansible-project] Running Ansible playbook using AWS Systems Manager (skipping: no hosts matched)

2022-06-13 Thread Prasanth S Nair
Hi Racke, Thank you for your reply. Looks like that causes the issue. Let me do some troubleshooting and will get back to you. Kind regards, Prasanth On Fri, Jun 10, 2022 at 12:40 PM Stefan Hornburg (Racke) wrote: > On 10/06/2022 12:40, Prasanth S Nair wrote: > > Hi Racke, > > > > It is

Re: [ansible-project] Running Ansible playbook using AWS Systems Manager (skipping: no hosts matched)

2022-06-10 Thread Stefan Hornburg (Racke)
On 10/06/2022 12:40, Prasanth S Nair wrote: Hi Racke, It is defined under hosts file. Please see the links below: https://github.com/prasanthcambridge/ansible https://stackoverflow.com/questions/72547240/running-ansible-playbook-using-aws-systems-manager-skipping-no-hosts-matched Kind

Re: [ansible-project] Running Ansible playbook using AWS Systems Manager (skipping: no hosts matched)

2022-06-10 Thread Prasanth S Nair
Hi Racke, It is defined under hosts file. Please see the links below: https://github.com/prasanthcambridge/ansible https://stackoverflow.com/questions/72547240/running-ansible-playbook-using-aws-systems-manager-skipping-no-hosts-matched Kind regards, Prasanth On Fri, Jun 10, 2022 at 9:53 AM

Re: [ansible-project] Running Ansible playbook using AWS Systems Manager (skipping: no hosts matched)

2022-06-10 Thread Dick Visser
On Wed, 8 Jun 2022 at 17:13, Prasanth S Nair wrote: > Hi All, > > I'm not sure this is the right place to ask this question. > > I'm trying to run an ansible playbook from Github using AWS Systems > Manager. My repo has a hosts (ini format) file as shown below: > *[dev] server.example.com

Re: [ansible-project] Running Ansible playbook using AWS Systems Manager (skipping: no hosts matched)

2022-06-10 Thread Stefan Hornburg (Racke)
On 10/06/2022 10:49, Prasanth S Nair wrote: Hi Dick. I also get the below warning message: [WARNING]: Could not match supplied host pattern, ignoring: dev Where did you define that host group? Regards     Racke On Thu, Jun 9, 2022 at 3:14 PM Prasanth S Nair wrote: Hi

Re: [ansible-project] Running Ansible playbook using AWS Systems Manager (skipping: no hosts matched)

2022-06-10 Thread Prasanth S Nair
Hi Dick. I also get the below warning message: [WARNING]: Could not match supplied host pattern, ignoring: dev On Thu, Jun 9, 2022 at 3:14 PM Prasanth S Nair wrote: > Hi Dick, > > Thank you for your reply. This is the Git repo > https://github.com/prasanthcambridge/ansible > > Basically,

Re: [ansible-project] Running Ansible playbook using AWS Systems Manager (skipping: no hosts matched)

2022-06-09 Thread Prasanth S Nair
Hi Dick, Thank you for your reply. This is the Git repo https://github.com/prasanthcambridge/ansible Basically, I'm running the Ansible playbook from the AWS Systems Manager Console --> Run command --> AWS-ApplyAnsiblePlaybooks --> Specify the Github repo location --> Choose the target instances

Re: [ansible-project] Running Ansible playbook using AWS Systems Manager (skipping: no hosts matched)

2022-06-08 Thread Dick Visser
On Wed, 8 Jun 2022 at 17:13, Prasanth S Nair wrote: > Hi All, > > I'm not sure this is the right place to ask this question. > > I'm trying to run an ansible playbook from Github using AWS Systems > Manager. My repo has a hosts (ini format) file as shown below: > *[dev] server.example.com

[ansible-project] Running Ansible playbook using AWS Systems Manager (skipping: no hosts matched)

2022-06-08 Thread Prasanth S Nair
Hi All, I'm not sure this is the right place to ask this question. I'm trying to run an ansible playbook from Github using AWS Systems Manager. My repo has a hosts (ini format) file as shown below: *[dev] server.example.com * And my playbook looks like below: *--- - name: test run * *