Fix references to home dir
This commit is contained in:
parent
677c70618f
commit
da55e3fb5f
3 changed files with 4 additions and 4 deletions
|
@ -43,7 +43,7 @@
|
|||
- name: Install util scripts
|
||||
copy:
|
||||
src: ./files/docker-utils
|
||||
dest: "{{ home }}"
|
||||
dest: "{{ me.home }}"
|
||||
mode: "755"
|
||||
directory_mode: "755"
|
||||
|
||||
|
|
|
@ -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 }}"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue