185a1fcb07
* Rename online _facts -> _info * Add changelog.
14 lines
337 B
YAML
14 lines
337 B
YAML
# ONLINE_TOKEN='XXX' ansible-playbook ./test/legacy/online.yml --tags test_online_user_info
|
|
|
|
- name: Get user information and register it in a variable
|
|
online_user_info:
|
|
register: user
|
|
|
|
- name: Display user variable
|
|
debug:
|
|
var: user
|
|
|
|
- name: Ensure retrieval of user info is success
|
|
assert:
|
|
that:
|
|
- user is success
|