Skip to content

oscbco/ansible-golang-migrate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Role Name

Execute migrations with golang-migrate

Requirements

Role Variables

userdba: OS User responsible for executing the migrations, must have the proper permissions in the target database appdir: the parent dir of the migrations directory db: Name of the database

Extra Variables

force: The version of migrations to be "forced" down: Execute down migrations up: Execute up migrations

Dependencies

Example Playbook

- hosts: servers
  roles:
    - {
        role: oscbco.sequelize_migrate,
        userdba: "{{ global_userdba }}",
        appdir: "{{ global_appdir }}"
      }

License

MIT

Author Information

oscbco.me

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published