2021-12-28 07:42:17 +00:00
|
|
|
---
|
|
|
|
- hosts: web
|
|
|
|
remote_user: web
|
|
|
|
tasks:
|
2022-01-11 01:08:45 +00:00
|
|
|
- name: Fetch variables from role specific vars file
|
|
|
|
include_vars:
|
|
|
|
file: ../vars/main.yml
|
2021-12-28 07:42:17 +00:00
|
|
|
- name: Push out resume public content
|
|
|
|
copy:
|
|
|
|
src: "{{RESUME_LOCAL_PUBLIC}}/public"
|
|
|
|
dest: /var/www/
|
|
|
|
- name: Remove old content
|
|
|
|
file:
|
|
|
|
path: /var/www/resume.shockrah.xyz
|
|
|
|
state: absent
|
|
|
|
|
|
|
|
- name: Pull up resume content
|
|
|
|
command: mv /var/www/public /var/www/resume.shockrah.xyz
|