Browse code

Add site.yml

Robert Cranston authored on 13/04/2020 20:54:22
Showing 2 changed files

... ...
@@ -8,6 +8,20 @@ An [Ansible][] [role][] for deploying [gitolite][] on [Debian][] >=9.
8 8
 [gitolite]: https://gitolite.com
9 9
 [Debian]: https://www.debian.org
10 10
 
11
+## Try out
12
+
13
+A stand-in [`site.yml`][] [playbook][] is provided, use it with
14
+
15
+```
16
+ansible-playbook -K -i $host, site.yml
17
+```
18
+
19
+(note the comma!) replacing `$host` with the host you want to set up (can be
20
+`localhost`, perhaps adding `--connection=local`).
21
+
22
+[`site.yml`]: site.yml
23
+[playbook]: https://docs.ansible.com/ansible/latest/user_guide/playbooks.html
24
+
11 25
 ## License
12 26
 
13 27
 Licensed under the [ISC License][] unless otherwise noted, see the
14 28
new file mode 100644
... ...
@@ -0,0 +1,5 @@
1
+---
2
+
3
+- hosts: 'all'
4
+  roles:
5
+    - role: '../gitolite'