aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2021-12-04 13:57:26 +0000
committerRomain Gonçalves <me@rgoncalves.se>2021-12-04 14:09:51 +0000
commit1d3e6e2351e855d7deca94c0e47a66e3373ee484 (patch)
tree51f07bd36a3078abda03ef853c8e3a4b3459d107
downloadinfrastructure-1d3e6e2351e855d7deca94c0e47a66e3373ee484.tar.gz
ansible: Init defaults and informations
-rw-r--r--LICENSE19
-rw-r--r--README.md15
-rw-r--r--ansible.cfg24
3 files changed, 58 insertions, 0 deletions
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..3b750be
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,19 @@
+Copyright (C) 2021 rgoncalves.se
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
+the Software, and to permit persons to whom the Software is furnished to do so,
+subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
+FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
+COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
+IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..e11242d
--- /dev/null
+++ b/README.md
@@ -0,0 +1,15 @@
+# Introduction
+
+Ansible roles and scripts used for rgoncalves.se's homelab. This repository is
+a rewrite of the now deprecated `_infrastructure/ansible`.
+
+# Quickstart
+
+## Development
+
+A new development workstation can be scaffolded thanks to the workstation
+playbook.
+
+```
+$ ansible-playbook playbooks/workstation.yml
+```
diff --git a/ansible.cfg b/ansible.cfg
new file mode 100644
index 0000000..f8bf4c0
--- /dev/null
+++ b/ansible.cfg
@@ -0,0 +1,24 @@
+[defaults]
+
+inventory = inventory.ini
+interpreter_python = auto_silent
+jinja2_extensions = jinja2.ext.do,jinja2.ext.i18n
+
+roles_path = roles/
+filter_plugins = plugins/filters/
+library = /usr/share/ansible/:plugins/modules/
+default_fact_path = /etc/ansible/facts.d/:facts.d/
+
+stdout_callback = yaml
+stderr_callback = yaml
+
+timeout = 20
+system_warnings = True
+deprecation_warnings = True
+
+remote_user = root
+remote_port = 22
+
+[ssh_connection]
+pipelining = True
+scp_if_ssh = True
remember that computers suck.