2018-12-13 22:09:22 +00:00
|
|
|
---
|
2019-01-11 20:27:47 +00:00
|
|
|
droneci_version: 1.0.0-rc.3
|
2018-12-13 22:09:22 +00:00
|
|
|
droneci_service_directory: /var/lib/docker/services/drone-ci
|
|
|
|
droneci_docker_socket_path: /var/run/docker.sock
|
|
|
|
droneci_host: http://localhost
|
|
|
|
droneci_secret: myveryownsecret
|
|
|
|
|
|
|
|
droneci_server_image: "drone/drone:{{ droneci_version }}"
|
|
|
|
droneci_server_restart_policy: always
|
|
|
|
droneci_server_exposed_port: 8080
|
2018-12-14 00:10:14 +00:00
|
|
|
droneci_server_exposed_ip: 127.0.0.1
|
2018-12-16 16:22:49 +00:00
|
|
|
# droneci_server_memory_limit: 512m # defaults to not set
|
|
|
|
# droneci_server_memory_reservation: 256m # defaults to not set
|
|
|
|
# droneci_server_extra_hosts: []
|
2018-12-13 22:09:22 +00:00
|
|
|
|
|
|
|
droneci_agent_image: "drone/agent:{{ droneci_version }}"
|
|
|
|
droneci_agent_restart_policy: always
|
2019-01-11 20:27:47 +00:00
|
|
|
dronevi_agent_capacity: 2
|
2018-12-16 16:22:49 +00:00
|
|
|
# droneci_agent_memory_limit: 512m # defaults to not set
|
|
|
|
# droneci_agent_memory_reservation: 256m # defaults to not set
|
2018-12-13 22:09:22 +00:00
|
|
|
|
|
|
|
droneci_postgres_enabled: False
|
2018-12-13 22:59:43 +00:00
|
|
|
droneci_postgres_ssl_mode: disable
|
2018-12-13 23:40:06 +00:00
|
|
|
droneci_postgres_server: postgres.example.com
|
|
|
|
droneci_postgres_port: 5432
|
2018-12-13 22:09:22 +00:00
|
|
|
droneci_postgres_superuser: postgres
|
|
|
|
droneci_postgres_password: secure
|
|
|
|
|
|
|
|
droneci_postgres_db:
|
|
|
|
name: droneci
|
|
|
|
lc_collate: en_US.UTF-8
|
|
|
|
lc_ctype: en_US.UTF-8'
|
|
|
|
encoding: UTF-8
|
|
|
|
template: template0
|
|
|
|
login_host: localhost
|
|
|
|
login_user: "{{ droneci_postgres_superuser }}"
|
|
|
|
login_password: "{{ droneci_postgres_password }}"
|
|
|
|
# login_unix_socket: # defaults to not set
|
2018-12-13 23:41:39 +00:00
|
|
|
port: "{{ droneci_postgres_port }}"
|
2018-12-13 22:09:22 +00:00
|
|
|
# owner: # defaults to not set
|
|
|
|
state: present
|
|
|
|
|
|
|
|
droneci_postgres_user:
|
|
|
|
name: pgdroneci
|
|
|
|
password: droneci
|
|
|
|
encrypted: 'yes'
|
|
|
|
# priv: # defaults to not set
|
|
|
|
# role_attr_flags: # defaults to not set
|
|
|
|
db: "{{ droneci_postgres_db.name }}"
|
|
|
|
login_host: localhost
|
|
|
|
login_user: "{{ droneci_postgres_superuser }}"
|
|
|
|
login_password: "{{ droneci_postgres_password }}"
|
|
|
|
# login_unix_socket: # defaults to not set
|
2018-12-13 23:41:39 +00:00
|
|
|
port: "{{ droneci_postgres_port }}"
|
2018-12-13 22:09:22 +00:00
|
|
|
state: present
|
|
|
|
|
|
|
|
droneci_gitea_enabled: False
|
2019-01-11 20:27:47 +00:00
|
|
|
droneci_gitea_server: http://my-git.example.com
|
2018-12-13 22:09:22 +00:00
|
|
|
droneci_gitea_skip_verify_enabled: False
|
|
|
|
|
|
|
|
droneci_tls_cert_path: droneci.pem
|
|
|
|
droneci_tls_key_path: droneci.pem
|
|
|
|
droneci_tls_source_use_content: False
|
|
|
|
droneci_tls_source_use_files: True
|
|
|
|
droneci_tls_cert_source: mycert.pem
|
|
|
|
droneci_tls_key_source: mykey.pem
|
|
|
|
|
|
|
|
droneci_nginx_vhost_enabled: False
|
2018-12-13 22:59:43 +00:00
|
|
|
droneci_nginx_tls_enabled: True
|
2018-12-13 22:09:22 +00:00
|
|
|
droneci_nginx_server: myinventoryname
|
|
|
|
droneci_nginx_vhost_dir: /etc/nginx/sites-available
|
|
|
|
droneci_nginx_vhost_symlink: /etc/nginx/sites-enabled
|
|
|
|
droneci_nginx_iptables_enabled: False
|
|
|
|
droneci_server_name: droneci.example.com
|
|
|
|
droneci_server_ip: 127.0.0.1
|
|
|
|
droneci_server_http_port: 8080
|
|
|
|
droneci_server_proxy_port: "{{ droneci_server_http_port }}"
|
|
|
|
droneci_server_proxy_protocol: http
|
|
|
|
|
|
|
|
# droneci_admins: # defaults to not set
|
|
|
|
# droneci_http_proxy: # defaults to not set
|
|
|
|
# droneci_https_proxy: # defaults to not set
|
|
|
|
# droneci_no_proxy: (see below)
|
|
|
|
# - drone-server
|
|
|
|
# - drone-agent
|