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
|
- name: Install util scripts
|
||||||
copy:
|
copy:
|
||||||
src: ./files/docker-utils
|
src: ./files/docker-utils
|
||||||
dest: "{{ home }}"
|
dest: "{{ me.home }}"
|
||||||
mode: "755"
|
mode: "755"
|
||||||
directory_mode: "755"
|
directory_mode: "755"
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
|
|
||||||
- name: Create wireguard client directory
|
- name: Create wireguard client directory
|
||||||
file:
|
file:
|
||||||
path: "{{ home }}/wireguard-clients"
|
path: "{{ me.home }}/wireguard-clients"
|
||||||
state: directory
|
state: directory
|
||||||
owner: "{{ me.user }}"
|
owner: "{{ me.user }}"
|
||||||
mode: "700"
|
mode: "700"
|
||||||
|
@ -38,7 +38,7 @@
|
||||||
- name: Wireguard client configuration
|
- name: Wireguard client configuration
|
||||||
template:
|
template:
|
||||||
src: files/wireguard-client.conf
|
src: files/wireguard-client.conf
|
||||||
dest: "{{ home }}/wireguard-clients/{{ item.key }}.conf"
|
dest: "{{ me.home }}/wireguard-clients/{{ item.key }}.conf"
|
||||||
owner: "{{ me.user }}"
|
owner: "{{ me.user }}"
|
||||||
mode: "600"
|
mode: "600"
|
||||||
loop: "{{ wireguard.clients | dict2items }}"
|
loop: "{{ wireguard.clients | dict2items }}"
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
- name: Wireguard client config
|
- name: Wireguard client config
|
||||||
template:
|
template:
|
||||||
src: files/client.conf
|
src: files/client.conf
|
||||||
dest: "{{ home }}/wg53.conf"
|
dest: "{{ me.home }}/wg53.conf"
|
||||||
mode: "0600"
|
mode: "0600"
|
||||||
become: true
|
become: true
|
||||||
notify: restart wireguard
|
notify: restart wireguard
|
||||||
|
|
Loading…
Reference in a new issue