diff options
| author | EuAndreh <eu@euandre.org> | 2019-06-05 20:22:09 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2019-06-05 20:22:09 -0300 |
| commit | 58d869f3ca3c980897e62cef55cda4fdf932affb (patch) | |
| tree | 275f0bb6ceae93f5de4e6c2ebcfc206023600161 /provision.yaml | |
| parent | Always destroy infrastructure before applying (diff) | |
| download | server-58d869f3ca3c980897e62cef55cda4fdf932affb.tar.gz server-58d869f3ca3c980897e62cef55cda4fdf932affb.tar.xz | |
Add volume to VPS
Don't destroy everything on deploy. This would destroy the volume too.
Diffstat (limited to '')
| -rw-r--r-- | provision.yaml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/provision.yaml b/provision.yaml index 636e6d1..2ff7c6c 100644 --- a/provision.yaml +++ b/provision.yaml @@ -19,6 +19,11 @@ file: path: /home/vps/ state: directory + - name: Create symlink to attached volume + file: + src: /mnt/vps_persistent_volume + dest: /home/vps/volumes + state: link - name: Copy file copy: src={{ item.src }} dest={{ item.dest }} with_items: |
