- 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'
