ci: dch-gw: Limit dhcpcd PB to dch-gw
To avoid applying configuration to hosts besides the gateway, the `dhcpcd.yml` playbook needs to be limited.
This commit is contained in:
@@ -38,6 +38,7 @@ pipeline {
|
|||||||
steps {
|
steps {
|
||||||
ansiblePlaybook \
|
ansiblePlaybook \
|
||||||
playbook: 'dhcpcd.yml',
|
playbook: 'dhcpcd.yml',
|
||||||
|
limit: 'dch-gw',
|
||||||
become: true,
|
become: true,
|
||||||
credentialsId: 'jenkins-ssh',
|
credentialsId: 'jenkins-ssh',
|
||||||
vaultCredentialsId: 'ansible-vault',
|
vaultCredentialsId: 'ansible-vault',
|
||||||
|
|||||||
Reference in New Issue
Block a user