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