docs(python): Add Python-specific options and examples
This commit is contained in:
parent
c586e75d70
commit
72fe611359
@ -1,6 +1,21 @@
|
|||||||
|
# Most roles
|
||||||
ansible_user: 'root'
|
ansible_user: 'root'
|
||||||
ansible_hashi_vault_auth_method: 'token'
|
ansible_hashi_vault_auth_method: 'token'
|
||||||
ansible_hashi_vault_token: 'hvs.xxxxxxxxxx'
|
ansible_hashi_vault_token: 'hvs.xxxxxxxxxx'
|
||||||
ansible_hashi_vault_engine_mount_point: 'kv'
|
ansible_hashi_vault_engine_mount_point: 'kv'
|
||||||
ansible_hashi_vault_token_validate: 'false'
|
ansible_hashi_vault_token_validate: 'false'
|
||||||
ansible_hashi_vault_url: 'http://localhost:8200/'
|
ansible_hashi_vault_url: 'http://localhost:8200/'
|
||||||
|
|
||||||
|
# 10-include-50-miniconda
|
||||||
|
python_git_packages:
|
||||||
|
- repo_url: 'https://f.q.d.n/repo/my-project.git'
|
||||||
|
path: '{{ python_git_install_path }}/my-project'
|
||||||
|
branch: 'master'
|
||||||
|
config_file: 'opt/python/my-project/master/config.ini'
|
||||||
|
systemd:
|
||||||
|
service: 'etc/systemd/system/my-project.service'
|
||||||
|
timer: 'etc/systemd/system/my-project.timer'
|
||||||
|
python_pip_packages:
|
||||||
|
- { env_name: 'cookiecutter', packages: ['cookiecutter', 'pip-tools'] }
|
||||||
|
python_pip_requirements:
|
||||||
|
- { env_name: 'my-project', requirements: '{{ python_git_install_path }}/my-project/master/requirements.txt' }
|
||||||
|
@ -10,3 +10,4 @@ miniconda_dl_local_abs: '{{ miniconda_installer_dl_dir }}/{{ miniconda_dl_uri_fi
|
|||||||
conda_envs_template_dir: '_conda_envs_dir_'
|
conda_envs_template_dir: '_conda_envs_dir_'
|
||||||
conda_python_version: '3'
|
conda_python_version: '3'
|
||||||
conda_package_spec: 'pip'
|
conda_package_spec: 'pip'
|
||||||
|
python_git_install_path: '/opt/python'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user