Created
November 2, 2017 16:50
-
-
Save dmsimard/0335667e69539c1dd22a169cbd43e616 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: getting playbook id | |
hosts: localhost | |
gather_facts: no | |
tasks: | |
- name: Record something | |
ara_record: | |
key: key | |
value: something | |
register: recorded | |
- debug: | |
var: recorded |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PLAY [getting playbook id] ******************************************************************************************** | |
TASK [Record something] *********************************************************************************************** | |
ok: [localhost] | |
TASK [debug] ********************************************************************************************************** | |
ok: [localhost] => { | |
"recorded": { | |
"changed": false, | |
"failed": false, | |
"key": "key", | |
"msg": "Data recorded in ARA for this playbook.", | |
"playbook_id": "a4c9dff4-f4e9-47ac-9156-9aa523dfd4cd", | |
"type": "text", | |
"value": "something" | |
} | |
} | |
PLAY RECAP ************************************************************************************************************ | |
localhost : ok=2 changed=0 unreachable=0 failed=0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment