Use relative filepaths for deploy script source locations
This commit is contained in:
parent
e09160a9d6
commit
73d2e50be7
|
@ -30,7 +30,7 @@
|
||||||
|
|
||||||
- name: Copy binary to target location
|
- name: Copy binary to target location
|
||||||
copy:
|
copy:
|
||||||
src: /mnt/big/code/sepiatones_xyz/target/sepiatones_xyz
|
src: ../target/sepiatones_xyz
|
||||||
dest: "{{ app_home }}/sepiatones_xyz"
|
dest: "{{ app_home }}/sepiatones_xyz"
|
||||||
owner: "{{ app_user }}"
|
owner: "{{ app_user }}"
|
||||||
group: "{{ app_user }}"
|
group: "{{ app_user }}"
|
||||||
|
@ -38,7 +38,7 @@
|
||||||
|
|
||||||
- name: Copy data directory
|
- name: Copy data directory
|
||||||
synchronize:
|
synchronize:
|
||||||
src: /mnt/big/code/sepiatones_xyz/data/
|
src: ../data/
|
||||||
dest: "{{ app_home }}/data/"
|
dest: "{{ app_home }}/data/"
|
||||||
recursive: yes
|
recursive: yes
|
||||||
owner: no
|
owner: no
|
||||||
|
@ -48,7 +48,7 @@
|
||||||
|
|
||||||
- name: Copy templates directory
|
- name: Copy templates directory
|
||||||
synchronize:
|
synchronize:
|
||||||
src: /mnt/big/code/sepiatones_xyz/templates/
|
src: ../templates/
|
||||||
dest: "{{ app_home }}/templates/"
|
dest: "{{ app_home }}/templates/"
|
||||||
recursive: yes
|
recursive: yes
|
||||||
owner: no
|
owner: no
|
||||||
|
@ -63,7 +63,7 @@
|
||||||
|
|
||||||
- name: Copy Caddy configuration
|
- name: Copy Caddy configuration
|
||||||
copy:
|
copy:
|
||||||
src: /mnt/big/code/sepiatones_xyz/ansible/sepiatones_xyz.caddy
|
src: sepiatones_xyz.caddy
|
||||||
dest: /etc/caddy/sites/sepiatones_xyz.caddy
|
dest: /etc/caddy/sites/sepiatones_xyz.caddy
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
|
@ -84,7 +84,7 @@
|
||||||
|
|
||||||
- name: Copy Supervisor configuration
|
- name: Copy Supervisor configuration
|
||||||
copy:
|
copy:
|
||||||
src: /mnt/big/code/sepiatones_xyz/ansible/sepiatones_xyz.supervisor
|
src: sepiatones_xyz.supervisor
|
||||||
dest: /etc/supervisor/conf.d/sepiatones_xyz.conf
|
dest: /etc/supervisor/conf.d/sepiatones_xyz.conf
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
|
|
Loading…
Reference in New Issue