Playbook
Create simple playbook that calls this role (10) at a single host test_14.example.com (2)
1shell> cat playbook.yml
2- hosts: test_14.example.com
3 gather_facts: true
4 connection: ssh
5 remote_user: admin
6 become: true
7 become_user: root
8 become_method: sudo
9 roles:
10 - vbotka.freebsd_postinstall
Note
Enable gather_facts: true
(3) to collect facts.
See also
For details see Connection Plugins (4-5)
See also Understanding Privilege Escalation (6-8)