<commit_before>[![Snap-CI](https://snap-ci.com/Tpbrown/ansible-gocd/branch/master/build_image)](https://snap-ci.com/Tpbrown/ansible-gocd/)
ATTENTION: 
=
This repository was recently transferred from ThoughtWorksInc to Tpbrown.  If you've forked it you'll need to update your remotes (or delete & re-fork). 

Apologies for the change -- it was adding confusion around support. (It's not supported ;-)

ansible-gocd
=============

Ansible Playbook to install Go.  

Model even the most complex build & deploy workflow with ease. Unlike CI servers, Go was built from the ground up with pipelines in mind. Go makes it simple to model failing fast, artifact promotion, self-service environments and single-click deployment.

Product details are available at http://www.go.cd .  Source available at https://github.com/GoCD/GoCD

requirements
============
* Ansible 1.6+ is required for UFW firewall module support.  
* Ansible 1.5 can be used if you comment out the UFW tasks.

installation instructions
=========================

This repository is organized as a single Role. That means it can be included, symlinked, submoduled, or galaxied into your existing Ansible repository. 

The default is to install the latest version of the server and agents onto a single node.  Use the tags of 'server' or 'agent' to selectively install one or the other.

To force installation of a specific version override GOCD_GO_VERSION to the desired version.
### Server
* The server listens on port 8153 by default.  
* Specify an email address for the Go administrator via GOCD_ADMIN_EMAIL.  **This is required**.
* Optionally install Git, Subversion, or Mercurial **on all agent & server nodes** by setting any of the following to true.  Default is false.
   * GOCD_SCM_GIT 
   * GOCD_SCM_SVN 
   * GOCD_SCM_MERCURIAL
   <commit_msg>updating README to reflect multi-role playbook layout and demonstrate how to reference roles when installing from Galaxy.<commit_after>[![Snap-CI](https://snap-ci.com/Tpbrown/ansible-gocd/branch/master/build_image)](https://snap-ci.com/Tpbrown/ansible-gocd/)
ATTENTION: 
=
This repository was recently transferred from ThoughtWorksInc to Tpbrown.  If you've forked it you'll need to update your remotes (or delete & re-fork). 

Apologies for the change -- it was adding confusion around support. (It's not supported ;-)

ansible-gocd
=============

Ansible Playbook to install Go.  

Model even the most complex build & deploy workflow with ease. Unlike CI servers, Go was built from the ground up with pipelines in mind. Go makes it simple to model failing fast, artifact promotion, self-service environments and single-click deployment.

Product details are available at http://www.go.cd .  Source available at https://github.com/GoCD/GoCD

requirements
============
* Ansible 1.6+ is required for UFW firewall module support.  
* Ansible 1.5 can be used if you comment out the UFW tasks.

installation instructions
=========================

This repository is organized as a multi-role playbook. In order to use it in an existing playbook, you must reference the roles as follows:
```
roles:
  - tpbrown.gocd/roles/common
  - tpbrown.gocd/roles/agent
  - tpbrown.gocd/roles/server
```

The default is to install the latest version of the server and agent. To force installation of a specific version override GOCD_GO_VERSION to the desired version.

### Server
* The server listens on port 8153 by default.  
* Specify an email address for the Go administrator via GOCD_ADMIN_EMAIL.  **This is required**.
* Optionally install Git, Subversion, or Mercurial **on all agent & server nodes** by setting any of the following to true.  Default is false.
   * GOCD_SCM_GIT 
   * GOCD_SCM_SVN 
   * GOCD_SCM_MERCURIAL
   
{'fraction_non_alphanumeric': 0.09397590361445783, 'fraction_numerical': 0.00428380187416332, 'mean_word_length': 4.23249299719888, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5228128', 'n_tokens_mistral': 1099, 'n_tokens_neox': 1045, 'n_words': 463}