docker / docker_compose: Update python library path to be more generic
This commit is contained in:
parent
7db32d7f94
commit
94680d3ca3
21 changed files with 22 additions and 22 deletions
2
camo.yml
2
camo.yml
|
@ -25,4 +25,4 @@
|
|||
- traefik
|
||||
- camo
|
||||
environment:
|
||||
PYTHONPATH: /opt/python2/ansible-dependencies/lib/python2.7/site-packages
|
||||
PYTHONPATH: /opt/ansible-dependencies/lib/python2.7/site-packages
|
||||
|
|
|
@ -24,4 +24,4 @@
|
|||
- traefik
|
||||
- codimd
|
||||
environment:
|
||||
PYTHONPATH: /opt/python2/ansible-dependencies/lib/python2.7/site-packages
|
||||
PYTHONPATH: /opt/ansible-dependencies/lib/python2.7/site-packages
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
- docker_cleanup
|
||||
- docker_ipv6_nat
|
||||
environment:
|
||||
PYTHONPATH: /opt/python2/ansible-dependencies/lib/python2.7/site-packages
|
||||
PYTHONPATH: /opt/ansible-dependencies/lib/python2.7/site-packages
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
- docker_cleanup
|
||||
- factorio
|
||||
environment:
|
||||
PYTHONPATH: /opt/python2/ansible-dependencies/lib/python2.7/site-packages
|
||||
PYTHONPATH: /opt/ansible-dependencies/lib/python2.7/site-packages
|
||||
|
|
|
@ -24,4 +24,4 @@
|
|||
- docker_cleanup
|
||||
- gitlab_runner
|
||||
environment:
|
||||
PYTHONPATH: /opt/python2/ansible-dependencies/lib/python2.7/site-packages
|
||||
PYTHONPATH: /opt/ansible-dependencies/lib/python2.7/site-packages
|
||||
|
|
|
@ -25,4 +25,4 @@
|
|||
- traefik
|
||||
- gitlab
|
||||
environment:
|
||||
PYTHONPATH: /opt/python2/ansible-dependencies/lib/python2.7/site-packages
|
||||
PYTHONPATH: /opt/ansible-dependencies/lib/python2.7/site-packages
|
||||
|
|
|
@ -25,4 +25,4 @@
|
|||
- traefik
|
||||
- keycloak
|
||||
environment:
|
||||
PYTHONPATH: /opt/python2/ansible-dependencies/lib/python2.7/site-packages
|
||||
PYTHONPATH: /opt/ansible-dependencies/lib/python2.7/site-packages
|
||||
|
|
|
@ -21,4 +21,4 @@
|
|||
- docker
|
||||
- lvm_self_backup
|
||||
environment:
|
||||
PYTHONPATH: /opt/python2/ansible-dependencies/lib/python2.7/site-packages
|
||||
PYTHONPATH: /opt/ansible-dependencies/lib/python2.7/site-packages
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
- docker
|
||||
- docker_compose
|
||||
environment:
|
||||
PYTHONPATH: /opt/python2/ansible-dependencies/lib/python2.7/site-packages
|
||||
PYTHONPATH: /opt/ansible-dependencies/lib/python2.7/site-packages
|
||||
|
||||
# Manual steps:
|
||||
# Open ports / disable postfix
|
||||
|
|
|
@ -25,4 +25,4 @@
|
|||
- traefik
|
||||
- mastodon
|
||||
environment:
|
||||
PYTHONPATH: /opt/python2/ansible-dependencies/lib/python2.7/site-packages
|
||||
PYTHONPATH: /opt/ansible-dependencies/lib/python2.7/site-packages
|
||||
|
|
|
@ -24,4 +24,4 @@
|
|||
- traefik
|
||||
- matrix
|
||||
environment:
|
||||
PYTHONPATH: /opt/python2/ansible-dependencies/lib/python2.7/site-packages
|
||||
PYTHONPATH: /opt/ansible-dependencies/lib/python2.7/site-packages
|
||||
|
|
|
@ -24,4 +24,4 @@
|
|||
- traefik
|
||||
- minecraft_blockmap
|
||||
environment:
|
||||
PYTHONPATH: /opt/python2/ansible-dependencies/lib/python2.7/site-packages
|
||||
PYTHONPATH: /opt/ansible-dependencies/lib/python2.7/site-packages
|
||||
|
|
|
@ -24,4 +24,4 @@
|
|||
- docker_cleanup
|
||||
- minecraft
|
||||
environment:
|
||||
PYTHONPATH: /opt/python2/ansible-dependencies/lib/python2.7/site-packages
|
||||
PYTHONPATH: /opt/ansible-dependencies/lib/python2.7/site-packages
|
||||
|
|
|
@ -25,4 +25,4 @@
|
|||
- traefik
|
||||
- minio
|
||||
environment:
|
||||
PYTHONPATH: /opt/python2/ansible-dependencies/lib/python2.7/site-packages
|
||||
PYTHONPATH: /opt/ansible-dependencies/lib/python2.7/site-packages
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
- traefik
|
||||
- monitoring
|
||||
environment:
|
||||
PYTHONPATH: /opt/python2/ansible-dependencies/lib/python2.7/site-packages
|
||||
PYTHONPATH: /opt/ansible-dependencies/lib/python2.7/site-packages
|
||||
|
||||
- hosts: all
|
||||
serial: 1
|
||||
|
@ -35,4 +35,4 @@
|
|||
- docker_cleanup
|
||||
- telegraf
|
||||
environment:
|
||||
PYTHONPATH: /opt/python2/ansible-dependencies/lib/python2.7/site-packages
|
||||
PYTHONPATH: /opt/ansible-dependencies/lib/python2.7/site-packages
|
||||
|
|
|
@ -24,4 +24,4 @@
|
|||
- traefik
|
||||
- owncast
|
||||
environment:
|
||||
PYTHONPATH: /opt/python2/ansible-dependencies/lib/python2.7/site-packages
|
||||
PYTHONPATH: /opt/ansible-dependencies/lib/python2.7/site-packages
|
||||
|
|
|
@ -40,7 +40,7 @@ docker_yum_gpg_key: https://download.docker.com/linux/centos/gpg
|
|||
# Should the python package for docker be installed via pip?
|
||||
docker_python_package_install: true
|
||||
# Where should it be installed? (Note: This will be installed as a standalone without breaking system dependencies)
|
||||
docker_python_package_path: /opt/python2/ansible-dependencies
|
||||
docker_python_package_path: /opt/ansible-dependencies
|
||||
|
||||
# The name of the package to install pip via yum
|
||||
docker_python_pip_package: "python-pip"
|
||||
|
|
|
@ -30,7 +30,7 @@ docker_compose_wrapper_path: /usr/local/bin/docker-compose
|
|||
# This is used to prevent docker-compose from corrupting other system-wide installed pip packages and thus
|
||||
# the package will be installed standalone in another directory as defined below.
|
||||
docker_compose_python_package_install: true
|
||||
docker_compose_python_package_path: /opt/python2/ansible-dependencies
|
||||
docker_compose_python_package_path: /opt/ansible-dependencies
|
||||
|
||||
# The name of the package to install pip via the package manager
|
||||
docker_compose_python_pip_package: "python-pip"
|
||||
|
|
|
@ -26,4 +26,4 @@
|
|||
- traefik
|
||||
- static_websites
|
||||
environment:
|
||||
PYTHONPATH: /opt/python2/ansible-dependencies/lib/python2.7/site-packages
|
||||
PYTHONPATH: /opt/ansible-dependencies/lib/python2.7/site-packages
|
||||
|
|
|
@ -25,4 +25,4 @@
|
|||
- teamspeak
|
||||
- ts3audiobot
|
||||
environment:
|
||||
PYTHONPATH: /opt/python2/ansible-dependencies/lib/python2.7/site-packages
|
||||
PYTHONPATH: /opt/ansible-dependencies/lib/python2.7/site-packages
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
- docker_cleanup
|
||||
- traefik
|
||||
environment:
|
||||
PYTHONPATH: /opt/python2/ansible-dependencies/lib/python2.7/site-packages
|
||||
PYTHONPATH: /opt/ansible-dependencies/lib/python2.7/site-packages
|
||||
tasks:
|
||||
- name: Login to docker registry
|
||||
docker_login:
|
||||
|
|
Loading…
Add table
Reference in a new issue