ci: dch-gw: Remount filesystems

jenkins-master
Dustin 2018-04-16 07:30:35 -05:00
parent e61fe015ed
commit 6bd89c9206
1 changed files with 26 additions and 0 deletions

View File

@ -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'
}
}
} }
} }