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
|
- traefik
|
||||||
- camo
|
- camo
|
||||||
environment:
|
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
|
- traefik
|
||||||
- codimd
|
- codimd
|
||||||
environment:
|
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_cleanup
|
||||||
- docker_ipv6_nat
|
- docker_ipv6_nat
|
||||||
environment:
|
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_cleanup
|
||||||
- factorio
|
- factorio
|
||||||
environment:
|
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
|
- docker_cleanup
|
||||||
- gitlab_runner
|
- gitlab_runner
|
||||||
environment:
|
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
|
- traefik
|
||||||
- gitlab
|
- gitlab
|
||||||
environment:
|
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
|
- traefik
|
||||||
- keycloak
|
- keycloak
|
||||||
environment:
|
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
|
- docker
|
||||||
- lvm_self_backup
|
- lvm_self_backup
|
||||||
environment:
|
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
|
||||||
- docker_compose
|
- docker_compose
|
||||||
environment:
|
environment:
|
||||||
PYTHONPATH: /opt/python2/ansible-dependencies/lib/python2.7/site-packages
|
PYTHONPATH: /opt/ansible-dependencies/lib/python2.7/site-packages
|
||||||
|
|
||||||
# Manual steps:
|
# Manual steps:
|
||||||
# Open ports / disable postfix
|
# Open ports / disable postfix
|
||||||
|
|
|
@ -25,4 +25,4 @@
|
||||||
- traefik
|
- traefik
|
||||||
- mastodon
|
- mastodon
|
||||||
environment:
|
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
|
- traefik
|
||||||
- matrix
|
- matrix
|
||||||
environment:
|
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
|
- traefik
|
||||||
- minecraft_blockmap
|
- minecraft_blockmap
|
||||||
environment:
|
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
|
- docker_cleanup
|
||||||
- minecraft
|
- minecraft
|
||||||
environment:
|
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
|
- traefik
|
||||||
- minio
|
- minio
|
||||||
environment:
|
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
|
- traefik
|
||||||
- monitoring
|
- monitoring
|
||||||
environment:
|
environment:
|
||||||
PYTHONPATH: /opt/python2/ansible-dependencies/lib/python2.7/site-packages
|
PYTHONPATH: /opt/ansible-dependencies/lib/python2.7/site-packages
|
||||||
|
|
||||||
- hosts: all
|
- hosts: all
|
||||||
serial: 1
|
serial: 1
|
||||||
|
@ -35,4 +35,4 @@
|
||||||
- docker_cleanup
|
- docker_cleanup
|
||||||
- telegraf
|
- telegraf
|
||||||
environment:
|
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
|
- traefik
|
||||||
- owncast
|
- owncast
|
||||||
environment:
|
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?
|
# Should the python package for docker be installed via pip?
|
||||||
docker_python_package_install: true
|
docker_python_package_install: true
|
||||||
# Where should it be installed? (Note: This will be installed as a standalone without breaking system dependencies)
|
# 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
|
# The name of the package to install pip via yum
|
||||||
docker_python_pip_package: "python-pip"
|
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
|
# 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.
|
# the package will be installed standalone in another directory as defined below.
|
||||||
docker_compose_python_package_install: true
|
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
|
# The name of the package to install pip via the package manager
|
||||||
docker_compose_python_pip_package: "python-pip"
|
docker_compose_python_pip_package: "python-pip"
|
||||||
|
|
|
@ -26,4 +26,4 @@
|
||||||
- traefik
|
- traefik
|
||||||
- static_websites
|
- static_websites
|
||||||
environment:
|
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
|
- teamspeak
|
||||||
- ts3audiobot
|
- ts3audiobot
|
||||||
environment:
|
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
|
- docker_cleanup
|
||||||
- traefik
|
- traefik
|
||||||
environment:
|
environment:
|
||||||
PYTHONPATH: /opt/python2/ansible-dependencies/lib/python2.7/site-packages
|
PYTHONPATH: /opt/ansible-dependencies/lib/python2.7/site-packages
|
||||||
tasks:
|
tasks:
|
||||||
- name: Login to docker registry
|
- name: Login to docker registry
|
||||||
docker_login:
|
docker_login:
|
||||||
|
|
Loading…
Add table
Reference in a new issue