diff options
-rw-r--r-- | LICENSE | 19 | ||||
-rw-r--r-- | README.md | 15 | ||||
-rw-r--r-- | ansible.cfg | 24 |
3 files changed, 58 insertions, 0 deletions
@@ -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 |