File tree Expand file tree Collapse file tree 4 files changed +20
-1
lines changed
Expand file tree Collapse file tree 4 files changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,14 @@ runner01 running (virtualbox)
5151
5252#### Deployment
5353
54+ This playbook has some dependencies to other roles that must be downloaded before executing the playbook :
55+
56+ ```
57+ ansible-galaxy install -r requirements.yml
58+ ```
59+
60+ This command should download the Docker role from Ansible Galaxy to the local role path.
61+
5462To deploy the Gitlab Runner instance, you just have to run the Ansible playbook gitlab-runner.yml with this command :
5563
5664```
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ inventory = ./hosts
5555# gather_timeout = 10
5656
5757# additional paths to search for roles in, colon separated
58- # roles_path = /etc/ansible/ roles
58+ roles_path = roles
5959
6060# uncomment this to disable SSH key host checking
6161host_key_checking = False
Original file line number Diff line number Diff line change 99 runner_registration_tags : ["dev", "docker"]
1010 roles :
1111 - gitlab-runner
12+
13+ - hosts : gitlab-runner
14+ remote_user : vagrant
15+ become : yes
16+ vars :
17+ docker_users : ["gitlab-runner", "vagrant"]
18+ roles :
19+ - docker
Original file line number Diff line number Diff line change 1+ - src : git+https://github.com/wikitops/ansible_docker
2+ version : " 1.0"
3+ name : docker
You can’t perform that action at this time.
0 commit comments