define inventory
All checks were successful
dreamfall/mcmillian.dev/pipeline/head This commit looks good

This commit is contained in:
Morgan McMillian 2022-11-19 17:42:19 -08:00
parent bd5233b93c
commit b775bc6ada
3 changed files with 6 additions and 1 deletions

1
Jenkinsfile vendored
View file

@ -5,6 +5,7 @@ pipeline {
steps { steps {
ansiblePlaybook( ansiblePlaybook(
playbook: 'main.yaml', playbook: 'main.yaml',
inventory: 'inventory.yaml',
credentialsId: 'onedrop-vetinari' credentialsId: 'onedrop-vetinari'
) )
} }

4
inventory.yaml Normal file
View file

@ -0,0 +1,4 @@
---
hosts:
vetinari:
ansible_host: vetinari.dreamfall.space

View file

@ -1,6 +1,6 @@
--- ---
- name: Deploy mcmillian.dev static site - name: Deploy mcmillian.dev static site
hosts: vetinari.dreamfall.space hosts: vetinari
vars: vars:
html_location: /var/www/html/mcmillian.dev html_location: /var/www/html/mcmillian.dev