mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-09-24 11:06:24 +02:00
Inverted docker_compose_skipp_file_creation to don't use double negation
This commit is contained in:
@@ -1,3 +1,3 @@
|
|||||||
docker_compose_skipp_file_creation: false # If set to true the file creation will be skipped
|
docker_compose_file_creation_enabled: true # If set to true the file creation will be skipped
|
||||||
docker_pull_git_repository: false # Activates docker repository download and routine
|
docker_pull_git_repository: false # Activates docker repository download and routine
|
||||||
docker_compose_flush_handlers: false # Set to true in the vars/main.yml of the including role to autoflush after docker compose routine
|
docker_compose_flush_handlers: false # Set to true in the vars/main.yml of the including role to autoflush after docker compose routine
|
@@ -24,7 +24,7 @@
|
|||||||
include_tasks: "04_files.yml"
|
include_tasks: "04_files.yml"
|
||||||
- name: "Ensure that {{ docker_compose.directories.instance }} is up"
|
- name: "Ensure that {{ docker_compose.directories.instance }} is up"
|
||||||
include_tasks: "05_ensure_up.yml"
|
include_tasks: "05_ensure_up.yml"
|
||||||
when: not docker_compose_skipp_file_creation | bool
|
when: docker_compose_file_creation_enabled | bool
|
||||||
|
|
||||||
- name: "flush docker compose for '{{ application_id }}'"
|
- name: "flush docker compose for '{{ application_id }}'"
|
||||||
meta: flush_handlers
|
meta: flush_handlers
|
||||||
|
@@ -1,28 +1,28 @@
|
|||||||
|
|
||||||
# General
|
# General
|
||||||
application_id: "web-app-akaunting"
|
application_id: "web-app-akaunting"
|
||||||
js_application_name: "Akaunting"
|
js_application_name: "Akaunting"
|
||||||
|
|
||||||
# Database
|
# Database
|
||||||
database_type: "mariadb"
|
database_type: "mariadb"
|
||||||
database_password: "{{ applications | get_app_conf(application_id, 'credentials.database_password') }}"
|
database_password: "{{ applications | get_app_conf(application_id, 'credentials.database_password') }}"
|
||||||
|
|
||||||
# Docker
|
# Docker
|
||||||
docker_repository_address: "https://github.com/akaunting/docker.git"
|
docker_repository_address: "https://github.com/akaunting/docker.git"
|
||||||
docker_pull_git_repository: true
|
docker_pull_git_repository: true
|
||||||
docker_repository_branch: "master"
|
docker_repository_branch: "master"
|
||||||
docker_compose_skipp_file_creation: false
|
docker_compose_file_creation_enabled: true
|
||||||
|
|
||||||
# Akaunting
|
# Akaunting
|
||||||
AKAUNTING_URL: "{{ domains | get_url(application_id, WEB_PROTOCOL) }}"
|
AKAUNTING_URL: "{{ domains | get_url(application_id, WEB_PROTOCOL) }}"
|
||||||
AKAUNTING_VERSION: "{{ applications | get_app_conf(application_id, 'docker.services.akaunting.version') }}"
|
AKAUNTING_VERSION: "{{ applications | get_app_conf(application_id, 'docker.services.akaunting.version') }}"
|
||||||
AKAUNTING_IMAGE: "{{ applications | get_app_conf(application_id, 'docker.services.akaunting.image') }}"
|
AKAUNTING_IMAGE: "{{ applications | get_app_conf(application_id, 'docker.services.akaunting.image') }}"
|
||||||
AKAUNTING_CONTAINER: "{{ applications | get_app_conf(application_id, 'docker.services.akaunting.name') }}"
|
AKAUNTING_CONTAINER: "{{ applications | get_app_conf(application_id, 'docker.services.akaunting.name') }}"
|
||||||
AKAUNTING_VOLUME: "{{ applications | get_app_conf(application_id, 'docker.volumes.data') }}"
|
AKAUNTING_VOLUME: "{{ applications | get_app_conf(application_id, 'docker.volumes.data') }}"
|
||||||
AKAUNTING_COMPANY_NAME: "{{ applications | get_app_conf(application_id, 'company.name') }}"
|
AKAUNTING_COMPANY_NAME: "{{ applications | get_app_conf(application_id, 'company.name') }}"
|
||||||
AKAUNTING_COMPANY_EMAIL: "{{ applications | get_app_conf(application_id, 'company.email') }}"
|
AKAUNTING_COMPANY_EMAIL: "{{ applications | get_app_conf(application_id, 'company.email') }}"
|
||||||
AKAUNTING_ADMIN_EMAIL: "{{ applications | get_app_conf(application_id, 'setup_admin_email') }}"
|
AKAUNTING_ADMIN_EMAIL: "{{ applications | get_app_conf(application_id, 'setup_admin_email') }}"
|
||||||
AKAUNTING_ADMIN_PASSWORD: "{{ applications | get_app_conf(application_id, 'credentials.setup_admin_password') }}"
|
AKAUNTING_ADMIN_PASSWORD: "{{ applications | get_app_conf(application_id, 'credentials.setup_admin_password') }}"
|
||||||
AKAUNTING_SETUP_MARKER: "{{ [ (AKAUNTING_VOLUME | docker_volume_path), '.akaunting_installed' ] | path_join }}"
|
AKAUNTING_SETUP_MARKER: "{{ [ (AKAUNTING_VOLUME | docker_volume_path), '.akaunting_installed' ] | path_join }}"
|
||||||
AKAUNTING_APP_KEY: "{{ applications | get_app_conf(application_id, 'credentials.app_key') }}"
|
AKAUNTING_APP_KEY: "{{ applications | get_app_conf(application_id, 'credentials.app_key') }}"
|
||||||
AKAUNTING_CACHE_DRIVER: "{{ 'redis' if applications | get_app_conf(application_id, 'docker.services.redis.enabled') else 'file' }}"
|
AKAUNTING_CACHE_DRIVER: "{{ 'redis' if applications | get_app_conf(application_id, 'docker.services.redis.enabled') else 'file' }}"
|
@@ -1,27 +1,27 @@
|
|||||||
# General
|
# General
|
||||||
application_id: "web-app-bigbluebutton"
|
application_id: "web-app-bigbluebutton"
|
||||||
|
|
||||||
# Database configuration
|
# Database configuration
|
||||||
database_type: "postgres"
|
database_type: "postgres"
|
||||||
database_instance: "{{ application_id | get_entity_name }}"
|
database_instance: "{{ application_id | get_entity_name }}"
|
||||||
database_password: "{{ applications | get_app_conf(application_id, 'credentials.postgresql_secret') }}"
|
database_password: "{{ applications | get_app_conf(application_id, 'credentials.postgresql_secret') }}"
|
||||||
database_username: "postgres"
|
database_username: "postgres"
|
||||||
database_name: "" # Multiple databases
|
database_name: "" # Multiple databases
|
||||||
|
|
||||||
# Proxy
|
# Proxy
|
||||||
domain: "{{ domains | get_domain(application_id) }}"
|
domain: "{{ domains | get_domain(application_id) }}"
|
||||||
http_port: "{{ ports.localhost.http[application_id] }}"
|
http_port: "{{ ports.localhost.http[application_id] }}"
|
||||||
|
|
||||||
# Docker
|
# Docker
|
||||||
docker_compose_skipp_file_creation: true # Handled in this role
|
docker_compose_file_creation_enabled: false # Handled in this role
|
||||||
docker_repository_address: "{{ applications | get_app_conf(application_id, 'docker.services.bigbluebutton.repository') }}"
|
docker_repository_address: "{{ applications | get_app_conf(application_id, 'docker.services.bigbluebutton.repository') }}"
|
||||||
docker_repository_branch: "{{ applications | get_app_conf(application_id, 'docker.services.bigbluebutton.version') }}"
|
docker_repository_branch: "{{ applications | get_app_conf(application_id, 'docker.services.bigbluebutton.version') }}"
|
||||||
docker_pull_git_repository: true
|
docker_pull_git_repository: true
|
||||||
|
|
||||||
# BigBlueButton
|
# BigBlueButton
|
||||||
BBB_SHARED_SECRET: "{{ applications | get_app_conf(application_id, 'credentials.shared_secret') }}"
|
BBB_SHARED_SECRET: "{{ applications | get_app_conf(application_id, 'credentials.shared_secret') }}"
|
||||||
BBB_ETHERPAD_API_KEY: "{{ applications | get_app_conf(application_id, 'credentials.etherpad_api_key') }}"
|
BBB_ETHERPAD_API_KEY: "{{ applications | get_app_conf(application_id, 'credentials.etherpad_api_key') }}"
|
||||||
BBB_RAILS_SECRET: "{{ applications | get_app_conf(application_id, 'credentials.rails_secret') }}"
|
BBB_RAILS_SECRET: "{{ applications | get_app_conf(application_id, 'credentials.rails_secret') }}"
|
||||||
BBB_POSTGRESQL_SECRET: "{{ applications | get_app_conf(application_id, 'credentials.postgresql_secret') }}"
|
BBB_POSTGRESQL_SECRET: "{{ applications | get_app_conf(application_id, 'credentials.postgresql_secret') }}"
|
||||||
BBB_FSESL_PASSWORD: "{{ applications | get_app_conf(application_id, 'credentials.fsesl_password') }}"
|
BBB_FSESL_PASSWORD: "{{ applications | get_app_conf(application_id, 'credentials.fsesl_password') }}"
|
||||||
BBB_TURN_SECRET: "{{ applications | get_app_conf(application_id, 'credentials.turn_secret') }}"
|
BBB_TURN_SECRET: "{{ applications | get_app_conf(application_id, 'credentials.turn_secret') }}"
|
@@ -11,7 +11,7 @@ database_type: 0 # Database type
|
|||||||
# Checkout roles/docker-compose/defaults/main.yml for all configuration options
|
# Checkout roles/docker-compose/defaults/main.yml for all configuration options
|
||||||
|
|
||||||
docker_compose_flush_handlers: true # When this is set to true an auto-flush after the docker-compose.yml, and env deploy is triggered, otherwise you have todo it manual.
|
docker_compose_flush_handlers: true # When this is set to true an auto-flush after the docker-compose.yml, and env deploy is triggered, otherwise you have todo it manual.
|
||||||
docker_compose_skipp_file_creation: false # Skipp creation of docker-compose.yml file
|
docker_compose_file_creation_enabled: true # Skipp creation of docker-compose.yml file
|
||||||
|
|
||||||
docker_pull_git_repository: true # This will automaticly pull a repository from the 'docker_repository_address'
|
docker_pull_git_repository: true # This will automaticly pull a repository from the 'docker_repository_address'
|
||||||
docker_repository_address: "" # The address of a repository which should be pulled
|
docker_repository_address: "" # The address of a repository which should be pulled
|
||||||
|
Reference in New Issue
Block a user