2019-08-27 22:36:55 +02:00
|
|
|
# ONLINE_TOKEN='XXX' ansible-playbook ./test/legacy/online.yml --tags test_online_user_info
|
2018-08-31 20:02:40 +02:00
|
|
|
|
|
|
|
- name: Get user information and register it in a variable
|
2019-08-27 22:36:55 +02:00
|
|
|
online_user_info:
|
2018-08-31 20:02:40 +02:00
|
|
|
register: user
|
|
|
|
|
|
|
|
- name: Display user variable
|
|
|
|
debug:
|
|
|
|
var: user
|
|
|
|
|
2019-08-27 22:36:55 +02:00
|
|
|
- name: Ensure retrieval of user info is success
|
2018-08-31 20:02:40 +02:00
|
|
|
assert:
|
|
|
|
that:
|
|
|
|
- user is success
|