move deployment to new server
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
5dfae2fd6b
commit
0b3c990732
4 changed files with 4 additions and 7 deletions
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
|
@ -6,7 +6,7 @@ pipeline {
|
||||||
ansiblePlaybook(
|
ansiblePlaybook(
|
||||||
playbook: 'main.yaml',
|
playbook: 'main.yaml',
|
||||||
inventory: 'inventory.yaml',
|
inventory: 'inventory.yaml',
|
||||||
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.dev
|
html_location: /var/www/html/mcmillian.dev
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue