ansible-elixir-stack icon indicating copy to clipboard operation
ansible-elixir-stack copied to clipboard

sudo instead of root

Open arunvelsriram opened this issue 8 years ago • 5 comments

  1. Since running applications as root is not recommended I extracted remote_user as a variable so that the default value set for it is not root.
  2. I used sudo for commands that require escalated privileges. The password for sudo can be managed by modifying the sudoers file or by using ansible-vault.
  3. Used ~ to find the correct home directory of deployer.
  4. Specify the roles path with -p option provided by ansible-galaxy to have the roles inside the project directory itself.

arunvelsriram avatar Mar 05 '16 19:03 arunvelsriram

@arunvelsriram Will need time to look into this. There's some parallel refactoring work going on in the upgrade-fixes branch. https://github.com/HashNuke/ansible-elixir-stack/tree/upgrade-fixes

HashNuke avatar Mar 06 '16 07:03 HashNuke

@arunvelsriram I would rather have contributions based on the upgrade-fixes branch than the master since there'll most likely be a lot of conflicts. Here's a list of pending issues on that branch https://github.com/HashNuke/ansible-elixir-stack/issues/23

HashNuke avatar Mar 06 '16 07:03 HashNuke

@HashNuke Yes its quite a lot of changes. Please take your own time. I have already started working on the upgrade-fixes branch. Will make a pull request soon.

arunvelsriram avatar Mar 13 '16 16:03 arunvelsriram

Hi. I checked the upgrade-fixes branch. Looks like refactoring is going well. May I know if the code on upgrade-fixes branch is stable and ready to use ?

arunvelsriram avatar Aug 26 '16 16:08 arunvelsriram

@arunvelsriram Not yet. Almost there. I tried out distillery and have notes. Need to make changes.

HashNuke avatar Aug 26 '16 17:08 HashNuke