Skip to content

Conversation

@rodriguezsergio
Copy link
Collaborator

@rodriguezsergio rodriguezsergio commented Mar 18, 2018

Okay so this is what I did.

terraform apply -var-file global.tfvars
ansible-playbook ci.yml

Cloud-init behaved strangely so I had to manually update /etc/fstab and mount /var/lib/jenkins.

Then I got the backup from S3 and moved all the files over to /var/lib/jenkins. Lastly, I had to update the permissions of the files that were backed up and set them back to the jenkins user.

  • sudo chown -R jenkins:jenkins /var/lib/jenkins/
  • sudo service jenkins restart

@rodriguezsergio
Copy link
Collaborator Author

@billoneil merge when you got a chance to look it over.

@billoneil billoneil merged commit 8693bc1 into master Apr 3, 2018
@billoneil billoneil deleted the f/moar-jenkins branch April 3, 2018 00:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants