create cli with venv installation for new ansible workspace
This commit is contained in:
1
ansible-5/cli/env/.help
vendored
Normal file
1
ansible-5/cli/env/.help
vendored
Normal file
@@ -0,0 +1 @@
|
||||
TODO: Add help for this directory
|
||||
7
ansible-5/cli/env/freeze
vendored
Executable file
7
ansible-5/cli/env/freeze
vendored
Executable 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
3
ansible-5/cli/env/freeze.help
vendored
Normal 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
1
ansible-5/cli/env/freeze.usage
vendored
Normal file
@@ -0,0 +1 @@
|
||||
ARGS...
|
||||
7
ansible-5/cli/env/install
vendored
Executable file
7
ansible-5/cli/env/install
vendored
Executable 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
3
ansible-5/cli/env/install.help
vendored
Normal 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
1
ansible-5/cli/env/install.usage
vendored
Normal file
@@ -0,0 +1 @@
|
||||
ARGS...
|
||||
Reference in New Issue
Block a user