Playbook

Create playbook.yml that calls this role (9) at a single host, for example, 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). See Discovering variables. The discovered variables are needed to customize the role. Consider Cache Plugins to speedup the play.

See also