Skip to content

Instantly share code, notes, and snippets.

@l3ender
Last active June 20, 2022 00:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save l3ender/ca006429f003c2b9b1e362dc8d18d3d2 to your computer and use it in GitHub Desktop.
Save l3ender/ca006429f003c2b9b1e362dc8d18d3d2 to your computer and use it in GitHub Desktop.
new_ansible_venv.md

Steps to create a new virtual environment and install Ansible on Mac:

python3 -m venv venv
. venv/bin/activate
pip3 install --upgrade pip
pip3 install ansible ansible-lint

# one line:
python3 -m venv venv && . venv/bin/activate && pip3 install --upgrade pip && && pip3 install ansible ansible-lint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment