From 7766cc1d055cdf0eeda421be09011ebad2465ced Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Fri, 22 Jun 2018 19:43:08 -0500 Subject: [PATCH] ci: zabbix: Specify credentials Since the host *gw0* is not a member of the *pyrocufflink.blue* domain, GSSAPI authentication does not work. As such, the SSH private key has to be made available to the `ansible-playbook` process for authentication to that host. --- ci/zabbix.jenkinsfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ci/zabbix.jenkinsfile b/ci/zabbix.jenkinsfile index f517cf6..2f3f9d4 100644 --- a/ci/zabbix.jenkinsfile +++ b/ci/zabbix.jenkinsfile @@ -38,6 +38,7 @@ pipeline { playbook: 'remount.yml', limit: 'zabbix', become: true, + credentialsId: 'jenkins-ssh', vaultCredentialsId: 'ansible-vault', extraVars: [ remount_state: 'rw', @@ -61,6 +62,7 @@ pipeline { playbook: 'zabbix-agent.yml', limit: '!gw0', become: true, + credentialsId: 'jenkins-ssh', vaultCredentialsId: 'ansible-vault', extras: '--diff' } @@ -72,6 +74,7 @@ pipeline { playbook: 'remount.yml', limit: 'zabbix', become: true, + credentialsId: 'jenkins-ssh', vaultCredentialsId: 'ansible-vault' } }