Skip to content

Instantly share code, notes, and snippets.

@nervo
Last active January 7, 2020 12:31
Show Gist options
  • Save nervo/71558ceb37a3cefedb83942beaddeafa to your computer and use it in GitHub Desktop.
Save nervo/71558ceb37a3cefedb83942beaddeafa to your computer and use it in GitHub Desktop.
Hyphen Gate

How to

In both cases, it you use manalize tool, update it !!!

manalize selfupdate

Quick & dirty

Not future proof, but you won't loose you current virtual machine and related data (databases and so)

patch -p0 < <(curl https://gist.githubusercontent.com/nervo/71558ceb37a3cefedb83942beaddeafa/raw/98611dd3689457eebf6ec42370a99aa74764d49e/hyphen-gate.patch)
vagrant up && vagrant ssh -c "cd /etc/ansible/roles && sudo mv manala.ansible-galaxy manala.ansible_galaxy && sudo mv manala.mongo-express manala.mongo_express && sudo mv manala.opcache-dashboard manala.opcache_dashboard"
make update-ansible

Safe

Give your project a chance for future generations. You will loose your current virtual machine, but you will win quietude for next decades.

vagrant destroy
patch -p0 < <(curl https://gist.githubusercontent.com/nervo/71558ceb37a3cefedb83942beaddeafa/raw/98611dd3689457eebf6ec42370a99aa74764d49e/hyphen-gate.patch)

In your Vagrantfile:

  • :box_version => '~> 4.0.x', -> :box_version => '~> 4.0.5', (or 2.0.10 or 3.0.16, it depends)
  • Vagrant.require_version '>= 2.2.1' -> Vagrant.require_version '>= 2.2.5' (that's sugar, but hey, sugar is life, no ?)
make setup
--- ansible/ansible.yml 2019-04-30 10:31:34.000000000 +0200
+++ ansible/ansible.yml.patch 2019-07-10 13:29:33.000000000 +0200
@@ -4,18 +4,18 @@
- hosts: app
vars:
manala_ansible_galaxy_roles:
- - manala.ansible-galaxy
+ - manala.ansible_galaxy
- manala.deploy
- manala.skeleton
roles:
- - manala.ansible-galaxy
+ - manala.ansible_galaxy
# Global
- hosts: all
vars:
manala_ansible_galaxy_roles_path: "{{ playbook_dir }}/roles"
manala_ansible_galaxy_roles:
- - manala.ansible-galaxy
+ - manala.ansible_galaxy
- manala.deploy
roles:
- - manala.ansible-galaxy
+ - manala.ansible_galaxy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment