docker / docker_compose: Update python library path to be more generic

This commit is contained in:
saibotk 2021-01-02 01:43:45 +01:00
parent 7db32d7f94
commit 94680d3ca3
No known key found for this signature in database
GPG key ID: A3299C587D5DF523
21 changed files with 22 additions and 22 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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"

View file

@ -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"

View file

@ -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

View file

@ -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

View file

@ -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: