ansible-collection-infomaniak/molecule/public_cloud_config_info/converge.yml

15 lines
395 B
YAML

---
- name: Converge
hosts: all
become: true
tasks:
- name: "Run module"
ednz_cloud.infomaniak.public_cloud_config_info:
api_token: "{{ lookup('ansible.builtin.env', 'IK_API_TOKEN') }}"
account_id: "{{ lookup('ansible.builtin.env', 'IK_ACCOUNT_ID') }}"
register: _result
- name: "Print result"
ansible.builtin.debug:
msg: "{{ _result }}"