Bootstrap FreeKB - Ansible - List Amazon Web Services (AWS) Profile Configurations
Ansible - List Amazon Web Services (AWS) Profile Configurations

Updated:   |  Ansible articles

If you are not familiar with modules, check out Ansible - Getting Started with Modules.

Prerequisites

And then the aws_caller_info module can be used to display your Profile Configurations.

---
- name: main play
  hosts: all
  tasks:
  - name: register aws_caller_info   
    amazon.aws.aws_caller_info:
    register: caller_info

  - debug:
      var: caller_info
...

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter 5a67f5 in the box below so that we can be sure you are a human.