Morgan McMillian
73b8d8b47e
All checks were successful
dreamfall/mcmillian.us/pipeline/head This commit looks good
19 lines
411 B
YAML
19 lines
411 B
YAML
---
|
|
- name: deploy mcmillian.dev static site
|
|
hosts: web
|
|
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 }}/"
|