aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/README.md
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-08-04 11:20:03 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2023-08-04 11:20:03 +0200
commitc182c4dc6694ee6e7f49cfa91f5d02ea306c072d (patch)
tree82a8889418a1d64312db4e76080dd14014ff70f0 /README.md
parentinitial commit (diff)
downloadinfra-ansible-c182c4dc6694ee6e7f49cfa91f5d02ea306c072d.tar.gz
infra-ansible-c182c4dc6694ee6e7f49cfa91f5d02ea306c072d.zip
import some common roles
Diffstat (limited to 'README.md')
-rw-r--r--README.md39
1 files changed, 39 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..2ffef23
--- /dev/null
+++ b/README.md
@@ -0,0 +1,39 @@
+infra-ansible
+=============
+
+Some common Ansible roles used by me to manage things.
+
+Usage
+-----
+
+requirements.yml:
+
+```
+collections:
+ - source: https://github.com/egor-tensin/infra-ansible.git
+ type: git
+ version: master # Or a commit hash
+```
+
+```
+$ ansible-galaxy install -r requirements.yml
+```
+
+Then you can use roles in your playbook:
+
+```
+- name: Test playbook
+ hosts: all
+ roles:
+ - tensin.infra.apt
+ - tensin.infra.journald
+ ...
+```
+
+License
+-------
+
+Distributed under the MIT License.
+See [LICENSE.txt] for details.
+
+[LICENSE.txt]: LICENSE.txt