diff --git a/Jenkinsfile b/Jenkinsfile index 32b7848..3dfb350 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -6,7 +6,7 @@ pipeline { ansiblePlaybook( playbook: 'main.yaml', inventory: 'inventory.yaml', - credentialsId: 'onedrop-vetinari' + credentialsId: 'igor' ) } } diff --git a/hosts.ini b/hosts.ini new file mode 100644 index 0000000..86028d2 --- /dev/null +++ b/hosts.ini @@ -0,0 +1,2 @@ +[web] +vimes.dreamfall.space diff --git a/inventory.yaml b/inventory.yaml deleted file mode 100644 index ca8d905..0000000 --- a/inventory.yaml +++ /dev/null @@ -1,5 +0,0 @@ ---- -nodes: - hosts: - vetinari: - ansible_host: vetinari.dreamfall.space diff --git a/main.yaml b/main.yaml index 07f1a1e..aa336de 100644 --- a/main.yaml +++ b/main.yaml @@ -1,6 +1,6 @@ --- - name: Deploy mcmillian.dev static site - hosts: vetinari + hosts: web vars: html_location: /var/www/html/mcmillian.dev