move deployment to new server
All checks were successful
dreamfall/mcmillian.us/pipeline/head This commit looks good
All checks were successful
dreamfall/mcmillian.us/pipeline/head This commit looks good
This commit is contained in:
parent
139d39bb76
commit
73b8d8b47e
4 changed files with 5 additions and 8 deletions
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
|
@ -5,8 +5,8 @@ pipeline {
|
||||||
steps {
|
steps {
|
||||||
ansiblePlaybook(
|
ansiblePlaybook(
|
||||||
playbook: 'main.yaml',
|
playbook: 'main.yaml',
|
||||||
inventory: 'inventory.yaml',
|
inventory: 'hosts.ini',
|
||||||
credentialsId: 'onedrop-vetinari'
|
credentialsId: 'igor'
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
2
hosts.ini
Normal file
2
hosts.ini
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
[web]
|
||||||
|
vimes.dreamfall.space
|
|
@ -1,5 +0,0 @@
|
||||||
---
|
|
||||||
nodes:
|
|
||||||
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
|
hosts: web
|
||||||
vars:
|
vars:
|
||||||
html_location: /var/www/html/mcmillian.us
|
html_location: /var/www/html/mcmillian.us
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue