From 1d3e6e2351e855d7deca94c0e47a66e3373ee484 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Sat, 4 Dec 2021 13:57:26 +0000 Subject: ansible: Init defaults and informations --- LICENSE | 19 +++++++++++++++++++ README.md | 15 +++++++++++++++ ansible.cfg | 24 ++++++++++++++++++++++++ 3 files changed, 58 insertions(+) create mode 100644 LICENSE create mode 100644 README.md create mode 100644 ansible.cfg 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 -- cgit v1.2.3