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.jenkins-master
parent
cae9f2e3c2
commit
7766cc1d05
|
@ -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'
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue