ci: dch-gw: Remount filesystems
This commit is contained in:
@@ -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'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user