An easy way to deploy and manage a Concourse CI with a cluster of workers vie ansible
- Ubuntu 14.04/16.04
- Ansible 2.0 or higher
- PostgreSQL I recommend ansible postgresql role
- Optional SSL termination service I recommend ansible nginx role
I am a big fan of concourse CI, not so much bosh. This role will install concourse CI binaries. The role is in early development, but usable so please submit PRs and PRs.
You can use test-kitchen to spin a test machine.
vagrant up
The vagrant machine will have an IP of 192.168.50.150
You can access the web and API on port 8080 with username myuser and mypass Once your done
vagrnt destroy
```
Play example
```yaml
---
- name: Create Single node host
hosts: ci
become: True
vars:
concourseci_external_url : "http://192.168.50.150:8080"
concourseci_basic_auth_username : "myuser"
concourseci_basic_auth_password : "mypass"
roles:
- { name: "postgresql", tags: "postgres" }
- { name: "ansible-concourse", tags: "concourse" }
```
```ìni
[concourse-web]
ci
[concourse-worker]
ci
```
## Cluster 1 web and 4 worker example
In order to make a cluster of servers you can easily add the host to groups
```ini
[concourse-web]
ci01
[concourse-worker]
ci01
worker01
worker02
worker03
```
You would also need to generate keys for workers check key section
## Variables
```yaml
---
# Concourse version
concourseci_version : "vx.x.x"
## Dir structure
concourseci_base_dir : "/opt/concourseci"
concourseci_bin_dir : "{{ concourseci_base_dir }}/bin"
concourseci_worker_dir : "{{ concourseci_base_dir }}/worker"
concourseci_ssh_dir : "{{ concourseci_base_dir }}/.ssh"
## Concourse log
concourseci_log_dir : "/var/log/concourse"
concourseci_log_worker : "{{ concourseci_log_dir }}/concourseci_worker.log"
concourseci_log_web : "{{ concourseci_log_dir }}/concourseci_web.log"
## Concourse User
concourseci_user : "concourseci"
concourseci_group : "concourseci"
## Concourse web
concourseci_bind_ip : "0.0.0.0"
concourseci_bind_port : "8080"
concourseci_external_url : "http://127.0.0.1:8080" #URL used to reach any ATC from the outside world.
# concourseci_oauth_base_url # URL used as the base of OAuth redirect URIs. If not specified, the external URL is used.
# concourseci_peer_url # URL used to reach this ATC from other ATCs in the cluster. (default: http://127.0.0.1:8080)
## Cocnourse resources
# concourseci_resource_checking_interval # Interval on which to check for new versions of resources. (default: 1m)
# concourseci_old_resource_grace_period # How long to cache the result of a get step after a newer version of the resource is found. (default: 5m)
# concourseci_resource_cache_cleanup_interval # Interval on which to cleanup old caches of resources. (default: 30s)
## Concourse Container Retention
# concourseci_container_retention_success_duration # The duration to keep a succeeded step's containers before expiring them. (default: 5m)
# concourseci_container_retention_failure_duration # The duration to keep a failed step's containers before expiring them. (default: 1h)
## Concuorse authentication
### Basic
# concourseci_basic_auth_username # Username to use for basic auth.
# concourseci_basic_auth_password # Password to use for basic auth.
### Github
# concourseci_github_auth_client_id # Application client ID for enabling GitHub OAuth.
# concourseci_github_auth_client_secret # Application client secret for enabling GitHub OAuth.
# concourseci_github_auth_organization # GitHub organization whose members will have access.
# concourseci_github_auth_team # GitHub team whose members will have access.
# concourseci_github_auth_user # GitHub user to permit access.
# concourseci_github_auth_auth_url # Override default endpoint AuthURL for Github Enterprise
# concourseci_github_auth_token_url # Override default endpoint TokenURL for Github Enterprise
# concourseci_github_auth_api_url # Override default API endpoint URL for Github Enterprise
# Concourse TSA Config
concourseci_tsa_host : "{{ groups[concourseci_web_group][0] }}" # By default we pick the first host in web group
concourseci_tsa_bind_ip : "0.0.0.0"
concourseci_tsa_bind_port : "2222"
concourseci_tsa_heartbeat_interval : "30s"
concourseci_tsa_authorization_keys : "{{ concourseci_ssh_dir }}/tsa_authorization"
# concourseci_peer_url : # URL used to reach this ATC from other ATCs in the cluster. (default:http://127.0.0.1:8080)
## Concourse Extra raw options
concourseci_web_extra_options : ""
## Concourse worker
concourseci_worker_name : "{{ inventory_hostname }}"
## Concourse garden linux
concourseci_garden_listen : "127.0.0.1:7777"
concourseci_garden_log_level : "info" # [debug|info|error|fatal]
# concourseci_peer_ip # IP used to reach this worker from the ATC nodes. If omitted, the worker will be forwarded through the SSH connection to the TSA.
# concourseci_garden_network_pool # Network range to use for dynamically allocated container subnets. (default: 10.254.0.0/22)
# concourseci_garden_max_containers # Maximum number of containers that can be created. (default: )
# concourseci_garden_graph_cleanup_threshold_in_megabytesDirectory # Disk usage of the graph dir at which cleanup should trigger, or -1 to disable graph cleanup. (default: -1)
## PostgreSQL
concourseci_postgresql_user : "concourseci"
concourseci_postgresql_pass : "conpass"
concourseci_postgresql_host : "127.0.0.1"
concourseci_postgresql_db : "concourse"
concourseci_postgresql_ssl : "disable"
concourseci_postgresql_source : "postgres://{{ concourseci_postgresql_user }}:{{ concourseci_postgresql_pass }}@{{ concourseci_postgresql_host }}/{{ concourseci_postgresql_db }}?sslmode={{ concourseci_postgresql_ssl }}"
## Ansible Groups
concourseci_web_group : "concourse-web"
concourseci_worker_group : "concourse-worker"
# ********************* Example Keys (YOU MUST OVERRIDE THEM) *********************
# This keys are used for demo only you should generate your own and store them
# safely i.e. ansible-vault
# **********************************************************************************
# If you dont know how to generate keys check https://www.digitalocean.com/community/tutorials/how-to-set-up-ssh-keys--2
# You would need to Generate a minumum of 2 keys for web
# And one key for each worker node
concourseci_key_session_path : "{{ concourseci_ssh_dir }}/session_signing"
concourseci_key_session_public : ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC6tKHmRtRp0a5SAeqbVy3pJSuoWQfmTIk106Md1bGjELPDkj0A8Z4a5rJZrAR7WqrRmHr2dTL9eKroymtIqxgJdu1RO+SM3uZVV5UFfYrBV0rmp5fP2g/+Wom2RB+zCzPT1TjDnKph8xPqj19P/0FY9rKbU8h6EzEp6Z5DjwKZKvxAF8p9r6wJde4nY+oneIuG1qpxYmLpNvdM3G44vgNeMg20jVywjJVwYDNe8ourqPu8rBauLbSiQI8Uxx6dlJSTsVawrKwHQUPEI9B5LPwUzZ9t/d7k2uJnCig6aJwM8dcyr8tqxlfdfmQiHRlZozail8UzIv65MbVngji5sqoB
concourseci_key_session_private : |
-----BEGIN RSA PRIVATE KEY-----
MIIEowIBAAKCAQEAurSh5kbUadGuUgHqm1ct6SUrqFkH5kyJNdOjHdWxoxCzw5I9
APGeGuayWawEe1qq0Zh69nUy/Xiq6MprSKsYCXbtUTvkjN7m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1Fi1h+syJ9oQBPjMeA2+cjp7WBCnBvAGf5Tfw34c
MJd8WwxsnqScfFq4ri+53sECgYBGobw6Xn0V0uyPsfH6UQlH4hdHkcYw//1IV/O8
leIKMnA4r6gQioez3xABctO5jIXtdor2KCNl2qFX/4wcRRNn7WFwncFUS9vvx9m4
xRxHbDo410fIUFzNNmtk9ptO1rzal4rX4sMT9Q/Poog7qbUfcWfr5nmogBiggh15
x5rJQQKBgE4khLJKEpLi8ozo/h02R/H4XT1YGNuadyuIULZDyuXVzcUP8R7Xx43n
ITU3tVCvmKizZmC3LZvVPkfDskhI9Yl3X7weBMUDeXxgDeUJNJZXXuDf1CC//Uo9
N1EQdIhtxo4mgHXjF/8L32SqinAJb5ErNXQQwT5k9G22mZkHZY7Y
-----END RSA PRIVATE KEY-----
concourseci_key_tsa_path : "{{ concourseci_ssh_dir }}/tsa"
concourseci_key_tsa_public : ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCjddjviqF3BjVnxrledNsKM0wm7bwJwRgnUomLVrwHXjfArEz5yFa2C87IT9CYpIxkZMgmd0Bdtwj3kiNPP0qYpcj/uTqQTE5xLzTiJIUFsgSQwrMt/zd5x44g71qiHF/1KtHdcZq1dW3+5IwBog692HjcytbAxpUEGGpocHs/aoJ5/xn2tx61QOhkr5+PP1Ft7eHu719/pb1czhH8tZwCwNJQs4vzf79Mlgt0ikjJ84o9kOiUGP+Fc0+EjapBg9M2GE6/l86IJzcx/t/uQYCFOdKbg5ukck9NztldaOUeAPkUttPtf2vdjZU+EwSYc3XvhyQlN/QQmZ8tvG3gV9wv
concourseci_key_tsa_private : |
-----BEGIN RSA PRIVATE KEY-----
MIIEogIBAAKCAQEAo3XY74qhdwY1Z8a5XnTbCjNMJu28CcEYJ1KJi1a8B143wKxM
+chWtgvOyE/QmKSMZGTIJndAXbcI95IjTz9KmKXI/7k6kExOcS804iSFBbIEkMKz
Lf83eceOIO9aohxf9SrR3XGatXVt/uSMAaIOvdh43MrWwMaVBB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kKVlNmasEwKBgBCMxg0ZZUd2nO+/CcPxi6BMpRXFfR/YVCQ8Mg1d
d3xoVV+616/gUm5s8joinitTNiUeO/Bf9lAQ2GCBxgoyAPvpozfFUyQzRmRbprLh
JPM2LuWbkhYWee0zopov9lU1f+86lvG4vXpBhItUCO9W5wmfCtKGsEM4wj7a70tG
zxn5AoGARTzJJb6nxhqQCAWTq2GOQ1dL3uJvHihDs8+Brtn686Xqkajaw+1+OX2i
ehm8iE8k8Mdv7BqPMXQxlLb954l/ieTYkmwTnTG5Ot2+bx0Q15TGJqKFCWQZRveV
uPTcE+vQzvMV3lJo0CHTlNMo1JgHOO5UsFZ1cBxO7MZXCzChGE8=
-----END RSA PRIVATE KEY-----
concourseci_worker_position : "{{ groups[concourseci_worker_group].index(inventory_hostname)| default(0) }}"
concourseci_key_worker_path : "{{ concourseci_ssh_dir }}/worker"
concourseci_key_worker_public : "{{ concourseci_worker_keys[concourseci_worker_position | int ].public}}"
concourseci_key_worker_private : "{{ concourseci_worker_keys[concourseci_worker_position | int ].private}}"
concourseci_worker_keys :
- public : ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKW31QIWcCR2Gh8i1fodDPHqviQV5eAW7Zv37Hzs1SKISvYeJ32EQ1mx2UXV8omzJiVojlXIsqkTXIBK6awvXQcRt8HFXwB9LjBfbYOUm+vU6L46HG3p2rBFAynh3NOeXvV1IBMNeuJ/w7v4CNNIkfKfQ34iwpirnX9fwoRV1pIt7c7MnKwZVrq/BwFpGh/GfOKrXLRXUsJAxDA+Mm0q2rvfpcsviINM7V41Lzemany1KVfjMLVe86CKWT0j2WERYejVlhxTXLlz7lHAowyU87dXh4QVHmDgMMSRIWgbMS0/1uAwfpdLMkzBEUhWRgKXDe/NWRk2I+Q77IJa1fnunJ
private : |
-----BEGIN RSA PRIVATE KEY-----
MIIEpQIBAAKCAQEAylt9UCFnAkdhofItX6HQzx6r4kFeXgFu2b9+x87NUiiEr2Hi
d9hENZsdlF1fKJsyYla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LbLvNKKltOqf4w0xp5g1RzqbOV
F+dwSJIVYhofunU/kAvk8QKBgGMPcUma6ZwH66BjQXcdVW/9ueZG53oXMV4GkTWu
BS3TZJbczDdzOjlfIkXCaW4kE/shfUknJZ48XVGWKgmJx2+cbwHtkPRP6JwbLJXX
ObwEVg5/7FDiatzU5Mz7K5dLKSFwDLf6NkJgCBffgs+kZHK2RSTxHnWunsBYqG08
4z3BAoGBAItHnGHbnl7cVHJFHd8teLzS+ki+gv+mKwPwSmeimV6zALAKZvj4RIg8
4g6kUWry+NNuiaH6fsDA0FWnT3Kyc59/M/EuKNCR7ci1Gnkunc0IUn78aWtNcxX5
RsCKJUM8l63P0jyUufpTbG6nAP8fMdWCdtDBidFLV2JMPYnWb4aP
-----END RSA PRIVATE KEY-----
```
## Keys
Warning the role comes with default keys. This keys are used for demo only you should generate your own and store them **safely** i.e. ansible-vault
You would need to generate 2 keys for web and one key for each worker node.
An easy way to generate your keys to use a script in ```keys/key.sh```
The script will ask you the number of workers you require and generate to files in ```keys/vars``` you can than copy the content in your group vars or pass it somehow.
## TODO
* Make test work with travis (huuuh irony)
* Add more tests
## License
MIT