define inventory
All checks were successful
dreamfall/mcmillian.dev/pipeline/head This commit looks good
All checks were successful
dreamfall/mcmillian.dev/pipeline/head This commit looks good
This commit is contained in:
parent
bd5233b93c
commit
b775bc6ada
3 changed files with 6 additions and 1 deletions
1
Jenkinsfile
vendored
1
Jenkinsfile
vendored
|
@ -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
4
inventory.yaml
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
---
|
||||||
|
hosts:
|
||||||
|
vetinari:
|
||||||
|
ansible_host: vetinari.dreamfall.space
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue