Compare commits
2 Commits
7c36cec3b7
...
205f7b83be
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
205f7b83be | ||
|
|
3553a8d289 |
@@ -1,6 +1,6 @@
|
||||
# This file defines targets (hosts, groups, host-specific variables)
|
||||
[all]
|
||||
10.17.3.121 ansible_user=groot ansible_become=true ansible_python_interpreter=/usr/bin/python3
|
||||
192.168.1.12 ansible_user=groot ansible_become=true ansible_python_interpreter=/usr/bin/python3
|
||||
|
||||
[gitrunner]
|
||||
10.17.3.121
|
||||
192.168.1.12
|
||||
10
main.yml
Normal file
10
main.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
---
|
||||
- name: Deploy and configure a runner on target machine
|
||||
hosts: gitrunner
|
||||
become: true
|
||||
gather_facts: true
|
||||
|
||||
roles:
|
||||
- update.yml
|
||||
- host_setup.yml
|
||||
- runner_setup.yml
|
||||
@@ -11,6 +11,7 @@
|
||||
- docker
|
||||
- nodejs
|
||||
- git
|
||||
- mock
|
||||
state: present
|
||||
update_cache: true
|
||||
|
||||
Reference in New Issue
Block a user