Excluded configuration files from repository

This commit is contained in:
2020-12-25 11:55:46 +01:00
parent f7ca120f3c
commit 5fe95e71d3
4 changed files with 9 additions and 11 deletions

View File

@@ -2,5 +2,9 @@
pacman: name=wireguard-tools state=present
- name: create /etc/wireguard/wg0.conf
template: src={{ inventory_hostname }}.wg0.conf dest=/etc/wireguard/wg0.conf
copy:
src: "{{ inventory_dir }}/files/{{ inventory_hostname }}/etc/wireguard/wg0.conf"
dest: /etc/wireguard/wg0.conf
owner: root
group: root
notify: restart wireguard