Skip to content

jlongtine/ansible-deployment-rollback

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ansible-deployment-rollback

rollback for ansible-rails-deployment.

This just changes the symlink of the current directory to the release prior to the current. If no prior release exists nothing happens.

example usage:

---
-
  role: nicolai86.ansible-deployment-rollback

  deploy_to: "{{ home_directory }}/application"

  tags: rollback

-
  role: restart

  service: application:*

  tags:
    - deploy
    - rollback

You need to implement the restart yourself

About

rollback for ansible-rails-deployment

Resources

License

Stars

Watchers

Forks

Packages

No packages published