xoxys.droneci_autoscaler/molecule/centos7/converge.yml
Robert Kaussow 1d50ac2a2d
All checks were successful
continuous-integration/drone/push Build is passing
fix example hcloud location
2020-10-01 10:55:33 +02:00

37 lines
1.0 KiB
YAML

---
- name: Converge
hosts: all
environment:
PYTHONPATH: /opt/python2/ansible-deps/lib/python2.7/site-packages
vars:
dockerengine_packages_extra:
- epel-release
- python-pip
- python-virtualenv
dockerengine_networks:
- name: droneci_default
droneci_autoscaler_service_stopped: True
droneci_autoscaler_instances:
- name: scaler_amd64
pool_max: 50
pool_ttl: 120m
agent_concurrency: 15
agent_architecture: amd64
provider_config:
- name: DRONE_HETZNERCLOUD_DATACENTER
value: fsn1-dc14
- name: DRONE_HETZNERCLOUD_TOKEN
value: mytoken
- name: DRONE_HETZNERCLOUD_IMAGE
value: ubuntu-18.04
- name: DRONE_HETZNERCLOUD_TYPE
value: cx11
- name: DRONE_HETZNERCLOUD_SSHKEY
value: keyid1
- name: DRONE_HETZNERCLOUD_USERDATA_FILE
value: /etc/scaler/userdata.yml
roles:
- role: xoxys.docker_engine
- role: xoxys.droneci_autoscaler