diff --git a/playbook.yaml b/playbook.yaml index c9e0690..dc39b6e 100644 --- a/playbook.yaml +++ b/playbook.yaml @@ -5,9 +5,5 @@ hosts: "all" serial: 1 become: true - tasks: - - # execute role - - name: "install and configure unbound dns" - ansible.builtin.include_role: - name: "." + roles: + - role: "dns" diff --git a/roles/requirements.yml b/roles/requirements.yml new file mode 100644 index 0000000..a96a4d2 --- /dev/null +++ b/roles/requirements.yml @@ -0,0 +1,6 @@ +--- + +roles: + - name: "dns" + src: "https://gitlab.simoncor.net/ansible/ans-unbound.git" + scm: "git"