Skip to content

Commit

Permalink
Updating to ec2_instance_info from ec2_instance_facts (redhat-cop#6987)
Browse files Browse the repository at this point in the history
Updating to ec2_instance_info from ec2_instance_facts to resolve below fatal error.
ERROR! couldn't resolve module/action 'ec2_instance_facts'. This often indicates a misspelling, missing collection, or incorrect module path.
  • Loading branch information
bosebc authored Sep 6, 2023
1 parent b4f158e commit 874c3d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ansible/configs/ocp-workshop/post_software.yml
Original file line number Diff line number Diff line change
Expand Up @@ -676,7 +676,7 @@
register: ansible_agnostic_deployer_head

- name: Gather ec2 facts
ec2_instance_facts:
ec2_instance_info:
aws_access_key: "{{ aws_access_key_id }}"
aws_secret_key: "{{ aws_secret_access_key }}"
region: "{{ aws_region_final | default(aws_region) }}"
Expand Down

0 comments on commit 874c3d5

Please sign in to comment.