Files
ansible/test/integration/targets/network_cli/passworded_user.yml
2020-05-29 15:45:33 -05:00

15 lines
272 B
YAML

- hosts: vyos
gather_facts: false
tasks:
- name: Run whoami
vyos.vyos.vyos_command:
commands:
- whoami
register: whoami
- assert:
that:
- whoami is successful
- whoami.stdout_lines[0][0] == 'atester'