From 6bd89c92068a8c16c93d51bd30323e89dbda784c Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Mon, 16 Apr 2018 07:30:35 -0500 Subject: [PATCH] ci: dch-gw: Remount filesystems --- ci/dch-gw.jenkinsfile | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/ci/dch-gw.jenkinsfile b/ci/dch-gw.jenkinsfile index 10b2279..c671b2d 100644 --- a/ci/dch-gw.jenkinsfile +++ b/ci/dch-gw.jenkinsfile @@ -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') { steps { 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' + } + } + } }