diff --git a/roles/playbook.yml b/roles/playbook.yml index b8a8d0c..978170f 100644 --- a/roles/playbook.yml +++ b/roles/playbook.yml @@ -18,4 +18,5 @@ hosts: "routers" become: "yes" roles: - - { role: "bird", tags: "bird" } \ No newline at end of file + - { role: "bird", tags: "bird" } + - "wireguard-tools" \ No newline at end of file diff --git a/roles/wireguard-tools/tasks/main.yml b/roles/wireguard-tools/tasks/main.yml new file mode 100644 index 0000000..ce0acc7 --- /dev/null +++ b/roles/wireguard-tools/tasks/main.yml @@ -0,0 +1,2 @@ +--- +- include_tasks: "wireguard-tools.yml" \ No newline at end of file diff --git a/roles/wireguard-tools/tasks/wireguard-tools.yml b/roles/wireguard-tools/tasks/wireguard-tools.yml new file mode 100644 index 0000000..605696d --- /dev/null +++ b/roles/wireguard-tools/tasks/wireguard-tools.yml @@ -0,0 +1,5 @@ +--- +- name: "Install wireguard tools" + pacman: + name: "wireguard-tools" + state: "installed"