create cli with venv installation for new ansible workspace

This commit is contained in:
2021-12-21 21:31:44 -05:00
parent 22ef544758
commit d8ed170ecc
14 changed files with 47 additions and 0 deletions

1
.gitignore vendored
View File

@@ -16,3 +16,4 @@ roles/vendor/
password.txt
!/dockerfiles/services/sslproxy/certs/live/
venv/

0
ansible-5/cli/.bash_cli Normal file
View File

1
ansible-5/cli/env/.help vendored Normal file
View File

@@ -0,0 +1 @@
TODO: Add help for this directory

7
ansible-5/cli/env/freeze vendored Executable file
View File

@@ -0,0 +1,7 @@
#!/usr/bin/env bash
pip freeze > requirements.txt
ls -l requirements.txt
python --version > pythonversion.txt
ls -l pythonversion.txt

3
ansible-5/cli/env/freeze.help vendored Normal file
View File

@@ -0,0 +1,3 @@
ARGS - The arguments you wish to provide to this command
TODO: Fill out the help information for this command.

1
ansible-5/cli/env/freeze.usage vendored Normal file
View File

@@ -0,0 +1 @@
ARGS...

7
ansible-5/cli/env/install vendored Executable file
View File

@@ -0,0 +1,7 @@
#!/usr/bin/env bash
venvironment='venv'
source ${venvironment}/bin/activate
pip install -r requirements.txt
python -m pip install ansible

3
ansible-5/cli/env/install.help vendored Normal file
View File

@@ -0,0 +1,3 @@
ARGS - The arguments you wish to provide to this command
TODO: Fill out the help information for this command.

1
ansible-5/cli/env/install.usage vendored Normal file
View File

@@ -0,0 +1 @@
ARGS...

7
ansible-5/cli/install-python Executable file
View File

@@ -0,0 +1,7 @@
#!/usr/bin/env bash
venvironment='venv'
sudo apt install -y python-is-python3 python3-pip python3-argcomplete
python -m pip install --user virtualenv
python -m virtualenv ${venvironment}

View File

@@ -0,0 +1,3 @@
ARGS - The arguments you wish to provide to this command
TODO: Fill out the help information for this command.

View File

@@ -0,0 +1 @@
ARGS...

View File

@@ -0,0 +1 @@
Python 3.8.10

View File

@@ -0,0 +1,11 @@
ansible==5.1.0
ansible-core==2.12.1
cffi==1.15.0
cryptography==36.0.1
Jinja2==3.0.3
MarkupSafe==2.0.1
packaging==21.3
pycparser==2.21
pyparsing==3.0.6
PyYAML==6.0
resolvelib==0.5.4