How to update a distribution comment by distribution id using Ansible Playbook?

0 votes

Hi Guys,

I have created a distribution in AWS. I want to update the distribution. How can I do that?

Sep 30 in Ansible by akhtar
• 29,320 points
32 views

1 answer to this question.

0 votes

Hi@akhtar,

You can update your distribution with the help of ID. You Ansible will connect to the distribution with the help of the ID. You can see the below example.

- cloudfront_distribution:
    state: present
    distribution_id: E1RP5A2MJ8073O
    comment: modified by ansible cloudfront.py
answered Sep 30 by MD
• 67,840 points

Related Questions In Ansible

0 votes
0 answers

How to pull a docker image using Ansible playbook?

Hi Guys, I am new in Ansible. I ...READ MORE

Aug 4 in Ansible by akhtar
• 29,320 points
539 views
0 votes
1 answer

How to create a key pair on AWS using Ansible-Playbook?

Hi@akhtar, You can find the ec2_key module in ...READ MORE

answered Aug 12 in Ansible by MD
• 67,840 points
67 views
0 votes
1 answer

How to create a security group in AWS using Ansible-Playbook?

Hi@akhtar, You can use the ec2_group module in ...READ MORE

answered Aug 13 in Ansible by MD
• 67,840 points
252 views
0 votes
2 answers

How to create a directory in remote nodes using Ansible-Playbook?

You can read install and setup apache ...READ MORE

answered Aug 23 in Ansible by anonymous
• 160 points
86 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
740 views
+2 votes
1 answer
0 votes
1 answer

How to overwrite the content of a file in remote systems using Ansible playbook?

Hi@akhtar, You can find one argument in the ...READ MORE

answered Aug 2 in Ansible by MD
• 67,840 points
491 views
0 votes
1 answer

How to create a docker container using Ansible playbook?

Hi@akhtar, You can use the docker_container module in ...READ MORE

answered Aug 7 in Ansible by MD
• 67,840 points
479 views