1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test/legacy/roles/online_user_facts/tasks/main.yml
2018-08-31 14:02:40 -04:00

14 lines
340 B
YAML

# ONLINE_TOKEN='XXX' ansible-playbook ./test/legacy/online.yml --tags test_online_user_facts
- name: Get user information and register it in a variable
online_user_facts:
register: user
- name: Display user variable
debug:
var: user
- name: Ensure retrieval of user facts is success
assert:
that:
- user is success