mcmillian.dev/main.yaml
Morgan McMillian 0b3c990732
All checks were successful
dreamfall/mcmillian.dev/pipeline/head This commit looks good
move deployment to new server
2023-03-05 10:27:18 -08:00

19 lines
412 B
YAML

---
- name: Deploy mcmillian.dev static site
hosts: web
vars:
html_location: /var/www/html/mcmillian.dev
tasks:
- name: ping host
ansible.builtin.ping:
- name: setup location
ansible.builtin.file:
path: "{{ html_location }}"
state: directory
- name: sync html directory
ansible.posix.synchronize:
src: html/
dest: "{{ html_location }}/"