File tree Expand file tree Collapse file tree 3 files changed +11
-9
lines changed
Expand file tree Collapse file tree 3 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -440,6 +440,7 @@ This allows us to get the best compression ratio and faster decompression times.
440440
441441Thank you for your support!
442442
443+ [ ![ Munawwar] ( https://avatars.githubusercontent.com/Munawwar?size=100 )] ( https://github.com/munawwar )
443444[ ![ syntaxfm] ( https://avatars.githubusercontent.com/syntaxfm?size=100 )] ( https://github.com/syntaxfm )
444445[ ![ th3madhack3r] ( https://avatars.githubusercontent.com/th3madhack3r?size=100 )] ( https://github.com/th3madhack3r )
445446
@@ -449,7 +450,7 @@ Thank you for your support!
449450![ acchou] ( https://avatars.githubusercontent.com/acchou?size=30 )
450451![ infr] ( https://avatars.githubusercontent.com/infr?size=30 )
451452![ aarmora] ( https://avatars.githubusercontent.com/aarmora?size=30 )
452- [ ![ azymnis] ( https://avatars.githubusercontent.com/azymnis?size=30 )] ( https://github.com/azymnis )
453+ ![ azymnis] ( https://avatars.githubusercontent.com/azymnis?size=30 )
453454![ mushilabs] ( https://avatars.githubusercontent.com/mushilabs?size=30 )
454455![ omgovich] ( https://avatars.githubusercontent.com/omgovich?size=30 )
455456<img src =" https://avatars.githubusercontent.com/kuda1992 " width =" 30 " />
Original file line number Diff line number Diff line change 55ansible_connection =local
66ansible_python_interpreter =python
77image =ami-06c68f701d8090592
8- region =us-east-1
8+ aws_region =us-east-1
99instance_size =c7i.12xlarge
1010
1111[aws]
Original file line number Diff line number Diff line change 1616 amazon.aws.ec2_key :
1717 name : ansible
1818 state : present
19- region : " {{ region }}"
19+ region : " {{ aws_region }}"
2020 key_material : " {{ item }}"
2121 with_file : ../ansible.pem.pub
2222
2525 name : Chromium
2626 description : SSH Access
2727 state : present
28- region : " {{ region }}"
28+ region : " {{ aws_region }}"
2929 rules :
3030 - proto : tcp
3131 to_port : 22
4141 ebs_optimized : yes
4242 image :
4343 id : " {{ image }}"
44+ # id: "{{ lookup('amazon.aws.aws_ssm', '/aws/service/ami-amazon-linux-latest/al2023-ami-kernel-default-x86_64', region=aws_region) }}"
4445 instance_initiated_shutdown_behavior : terminate
4546 instance_type : " {{ instance_size }}"
4647 key_name : ansible
4748 network :
4849 assign_public_ip : yes
4950 delete_on_termination : yes
5051 groups : Chromium
51- region : " {{ region }}"
52+ region : " {{ aws_region }}"
5253 security_group : Chromium
5354 state : present
5455 tags :
8889 become : true
8990 become_user : root
9091 shell : |
91- dnf update --releasever=2022.0.20221207 -y
92+ dnf update --releasever=2023.6.20250211 -y
9293
9394 - name : Installing Packages
9495 become : true
334335 wait : yes
335336 state : absent
336337 instance_ids : " {{ ec2.instance_ids }}"
337- region : " {{ region }}"
338+ region : " {{ aws_region }}"
338339
339340 - name : Deleting Security Group
340341 amazon.aws.ec2_group :
341342 name : Chromium
342343 state : absent
343- region : " {{ region }}"
344+ region : " {{ aws_region }}"
344345
345346 - name : Deleting EC2 Key Pair
346347 amazon.aws.ec2_key :
347348 name : ansible
348349 state : absent
349- region : " {{ region }}"
350+ region : " {{ aws_region }}"
350351
351352 - name : Deleting SSH Key
352353 file :
You can’t perform that action at this time.
0 commit comments