Documentation for the collection.
ansible-galaxy collection build
ansible-galaxy collection install laurobmb-statusinvest-1.0.0.tar.gz
ansible-galaxy collection install git+https://github.com/laurobmb/ansible_statusinvest_collection.git,main
ansible-galaxy collection install laurobmb-statusinvest-1.0.4.tar.gz -p collections/
---
- name: STATUSINVEST
hosts: localhost
vars:
acoes: "itsa4"
fundos: "vghf11"
tasks:
- name: Import role
ansible.builtin.import_role:
name: laurobmb.statusinvest.getdata
- name: Get result
laurobmb.statusinvest.statusinvest:
statusinvest_acoes: "{{ acoes }}"
statusinvest_fundos: "{{ fundos }}"
register: greeting
- name: Debug
ansible.builtin.debug:
msg: "{{ greeting }}"