You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/legacy/roles/online_user_facts/tasks/main.yml

15 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