ci: dch-gw: Remount filesystems
parent
e61fe015ed
commit
6bd89c9206
|
@ -20,6 +20,20 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
stage('Remount R/W') {
|
||||||
|
steps {
|
||||||
|
ansiblePlaybook \
|
||||||
|
playbook: 'remount.yml',
|
||||||
|
limit: 'dch-gw',
|
||||||
|
become: true,
|
||||||
|
credentialsId: 'jenkins-ssh',
|
||||||
|
vaultCredentialsId: 'ansible-vault',
|
||||||
|
extraVars: [
|
||||||
|
remount_state: 'rw',
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
stage('Services') {
|
stage('Services') {
|
||||||
steps {
|
steps {
|
||||||
ansiblePlaybook \
|
ansiblePlaybook \
|
||||||
|
@ -48,5 +62,17 @@ pipeline {
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
stage('Remount R/O') {
|
||||||
|
steps {
|
||||||
|
ansiblePlaybook \
|
||||||
|
playbook: 'remount.yml',
|
||||||
|
limit: 'dch-gw',
|
||||||
|
become: true,
|
||||||
|
credentialsId: 'jenkins-ssh',
|
||||||
|
vaultCredentialsId: 'ansible-vault'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue