> - 2
> - *1*
> - - alpha: a
> numbers:
> - 1
> - *2*
> - *2*- - alpha: b
> numbers:
> - *3*
> - 4
> - *3*
> - - alpha: b
> numbers:
> -
"us-east-1": [
{
"byte_match_statement": {
"field_to_match": {
"single_header": {
"name": "accountmoid"
}
- 5c46e3-eu-central-1-1a7c
> region: eu-central-1
>
> After that, it isn't particularly clear to me how the region is supposed
> to play into the following tasks. But perhaps this will help get past the
> first problem.
> --
> Todd
>
>
> On 9/1/23 2:54
Hi Team,
I'm having issues with looping in Ansible. The background of what I'm
trying to do is -
I have 2 regions in aws_cloud_regions and their respective
waf_blocked_accounts list, which looks like the one below.
I want to create regional_account_rules in waf for both the regions (as in
arn:aws:wafv2:us-east-1:<>:regional/webacl/QAtest-ALB/11dd2e60-7d87-4827-8be6-6b2660b759ee",
"ALB ARN:
arn:aws:elasticloadbalancing:us-east-1:<>:loadbalancer/app/Service-QAtest/1c8cde570dbc2c98,",
"WAF ARN:
arn:aws:wafv2:us-east-1:<>:regional/webacl/QA
> Hii
>
> You left out important information. For instance the output of the
> "Display ALB ARNs" debug task.
> That is used in your shell command at " for alb_arn in {{
> alb_map_arns[item] }}; do", so that is important.
> Post that debug output.
&
Hi Team,
I'm trying the below code to attach region-specific waf to region-specific
alb's. But the below code doesn't seem to be working for associating the
waf to alb's. The last shell module is having issues, "$alb_arn" value is
not getting interpreted and getting the error mentioned below.
com wrote:
> Impossible without knowing what your variables look like. Provide those
> and we may be able to help
>
> On Mon, 16 Jan 2023 at 19:35, Shivani Arora wrote:
>
>> Hi All,
>>
>> I need help with writing an ansible playbook, where it loops over a few
>
Hi All,
I need help with writing an ansible playbook, where it loops over a few
pods and checks if any pod is not running, does a describe on it, and
prints the events (we get when we describe pods).
I'm stuck on the 2nd task here, where I can fetch 'stdout' but cannot
filter the pod name from
Hi All,
I'm trying to take snapshots of aws ebs volumes using ansible. But my
playbook fails when the volume size is big ( >1024 GB) with the below
error. Unable to figure out if it is an async issue or if something else
causing it. Looking forward to any suggestions or alternatives to achieve
> Please share the complete playbook and variables.
>
>
>
> On Tue, 14 Jun 2022 at 15:35, Shivani Arora wrote:
> >
> > Hi,
> >
> > I'm trying to append new key-value pair in the existing yml
> (subcluster_to_subnet_map.yml) file using combine. New valu
Hi Team,
Looking forward to any input.
Thanks
On Tuesday, June 14, 2022 at 7:04:56 PM UTC+5:30 Shivani Arora wrote:
> Hi,
>
> I'm trying to append new key-value pair in the existing yml (
> *subcluster_to_subnet_map.yml) * file using combine. New values are
> getting ap
Hi,
I'm trying to append new key-value pair in the existing yml (
*subcluster_to_subnet_map.yml) * file using combine. New values are
getting appended correctly but it's getting added without spaces.
I need help with adding 2 spaces in starting so that the indentation is
maintained. Please su
aybook exits if input
validation is failed.
Thanks,
Shivani
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to ansible-project+unsubscr...@googl
ss this in shell module within ansible?
Thanks
On Wednesday, February 23, 2022 at 11:02:58 PM UTC+5:30 dick@geant.org
wrote:
> Can you confirm that the exact same command (without single quotes around
> it) actually works from an interactive shell?
>
> On Wed, 23 Feb 2022 at 18:13,
Hi All,
I need help with passing JSON in the shell module in ansible.
*Playbook - *
- hosts: localhost
name: refresh asg
connection: local
gather_facts: True
tasks:
- name: refresh instances
shell: 'aws autoscaling start-instance-refresh --region=us-east-1
--auto-scaling-group-na
Hi All,
I need help with passing JSON in the shell module in ansible.
*Playbook - *
- hosts: localhost
name: refresh asg
connection: local
gather_facts: True
tasks:
- name: refresh instances
shell: 'aws autoscaling start-instance-refresh --region=us-east-1
--auto-scaling-group-na
Hi All,
I need help with passing JSON in the shell module in ansible.
*Playbook - *
- hosts: localhost
name: refresh asg
connection: local
gather_facts: True
tasks:
- name: refresh instances
shell: 'aws autoscaling start-instance-refresh --region=us-east-1
--auto-scaling-group-na
Hi All,
I need help with passing JSON in the shell module in ansible.
*Playbook - *
- hosts: localhost
name: refresh asg
connection: local
gather_facts: True
tasks:
- name: refresh instances
shell: 'aws autoscaling start-instance-refresh --region=us-east-1
--auto-scaling-group-na
Hi All,
I'm using aws launch configurations with autoscaling groups to launch ec2
instances using ansible playbooks. I have to migrate the existing instances
to use a launch template instead of a launch configuration in a rolling
fashion. Can anyone suggest what could be the approach for this i
Hi All,
Looking for suggestions for above query.
Thanks
On Wednesday, February 2, 2022 at 4:52:35 PM UTC+5:30 Shivani Arora wrote:
> Hi,
>
> I'm trying to create aws launch template using ansible module - "
> community.aws.ec2_launch_template". I have different ty
Hi,
I'm trying to create aws launch template using ansible module - "
community.aws.ec2_launch_template". I have different types of nodes and
want to map different volumes (according to node type) in the launch
template.
For Core node - I'm trying to map 2 volumes (sdf and sdh) for which I'm
ld
> start with a newer ansible version.
>
> What does the playbook look like?
> And also, did your playbook work before and started failing? Or has it
> never worked?
>
>
>
> On Fri, 3 Dec 2021 at 07:51, Shivani Arora wrote:
> >
> > -bash-4.2$ ansible --version
e location = /usr/bin/ansible
python version = 2.7.5 (default, Oct 30 2018, 23:45:53) [GCC 4.8.5
20150623 (Red Hat 4.8.5-36)]
On Friday, December 3, 2021 at 12:14:13 PM UTC+5:30 dick@geant.org
wrote:
> What is the output of 'ansible --version' ?
>
> On Fri, 3 Dec 2021 a
er:/usr/lib/python2.7/site-packages/ansible/modules/cloud/amazon/lambda_facts.py\",
line 389, in main\nAttributeError: 'module' object has no attribute
'config_details'\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee
stdout/st
Thank you so much
On Thu, May 27, 2021 at 2:23 PM Abhijeet Kasurde
wrote:
> Hi Shivani,
>
> Welcome to the community.
>
> There are a lot of ways you can contribute to. This is true for Ansible
> project as well as every Open Source Project.
>
> For example,
> 1. J
Hello everyone,
I want to start my journey with open source and right now I am taking a
devops course and I want to start contributing to the community while
learning but there are so many thing happening in the community i feel a
little overwhelmed with the information and I don't know where to
Hi I am facing an issue with ec2_asg module when I use target group arn it
does not spin or replace instances. I I use classic load balancer it works
fine replaces the instances.
When new asg is created it spins up the instances. If existing asg is
modified to use new launch configuration then i
28 matches
Mail list logo