mcmillian.us/main.yaml
Morgan McMillian a982e2c5f2
All checks were successful
dreamfall/mcmillian.us/pipeline/head This commit looks good
initial commit for site setup
2022-12-14 15:31:02 -08:00

20 lines
416 B
YAML

---
- name: deploy mcmillian.dev static site
hosts: vetinari
vars:
html_location: /var/www/html/mcmillian.us
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 }}/"