Refactored setup script with pyenv support #21
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Setup script:
setup
script for improved Ansible installation when usingpyenv
orvirtualenv
or calling Ansible with any non-system paths./bin/bash
executable instead of/bin/sh
with Ansible on WSL environments to get around Windows directory white spaces on thePATH
. Fixes issues withzzet.rbenv
role no longer usingbash
for executing shell commands.Role scripts:
clean-roles.py
script for removing outdated Ansible roles.update-roles.py
script not working if usingmaster
as version inrequirements.yml
file.Makefile:
setup
command for runningsetup
script with the default options.setup-ansible
andsetup-ansible-pypi
Makefile commands.install-ansible
Makefile command that doesn't enable or disable PyPI and doesn't reinstall existing Ansible installations.linuxbrew
Makefile command.roles
Makefile command toinstall-roles
and removed-f
argument.update
Makefile command toupdate-roles
.clean-roles
Makefile command for runningclean-roles.py
script.latest-roles
Makefile command to update, clean and install required Ansible roles to their latest versions.Development environment:
requirements.txt
into a separaterequirements.dev.txt
file to avoid installing those during normal usage.