Fix references to home dir
All checks were successful
/ terraform (push) Successful in 47s
/ ansible (push) Successful in 1m46s

This commit is contained in:
Jake Howard 2023-06-17 16:00:30 +01:00
parent 677c70618f
commit da55e3fb5f
Signed by: jake
GPG key ID: 57AFB45680EDD477
3 changed files with 4 additions and 4 deletions

View file

@ -43,7 +43,7 @@
- name: Install util scripts
copy:
src: ./files/docker-utils
dest: "{{ home }}"
dest: "{{ me.home }}"
mode: "755"
directory_mode: "755"

View file

@ -30,7 +30,7 @@
- name: Create wireguard client directory
file:
path: "{{ home }}/wireguard-clients"
path: "{{ me.home }}/wireguard-clients"
state: directory
owner: "{{ me.user }}"
mode: "700"
@ -38,7 +38,7 @@
- name: Wireguard client configuration
template:
src: files/wireguard-client.conf
dest: "{{ home }}/wireguard-clients/{{ item.key }}.conf"
dest: "{{ me.home }}/wireguard-clients/{{ item.key }}.conf"
owner: "{{ me.user }}"
mode: "600"
loop: "{{ wireguard.clients | dict2items }}"

View file

@ -21,7 +21,7 @@
- name: Wireguard client config
template:
src: files/client.conf
dest: "{{ home }}/wg53.conf"
dest: "{{ me.home }}/wg53.conf"
mode: "0600"
become: true
notify: restart wireguard