Commit Graph
100 Commits
Author SHA1 Message Date
Alex Tavarez dc8dbcc43e added handlers inclusive of tasks related to headscale, git, vim and tor, as well as those very tasks 2026-06-16 14:40:56 -04:00
Alex Tavarez a4c26fd9c3 created example files for the basic server groupings 2026-06-16 14:21:50 -04:00
Alex Tavarez cf7612365a finished new playbook 2026-06-16 14:20:57 -04:00
Alex Tavarez 3343f7ad69 finished new playbook 2026-06-16 14:20:40 -04:00
Alex Tavarez 7268245bb7 finished new playbook 2026-06-16 14:20:16 -04:00
Alex Tavarez 555c7d0a6a replaced example file with original, native playbook file 2026-06-16 14:16:01 -04:00
Alex Tavarez 5049210e25 added community.general to requirements, just in case 2026-06-16 14:14:26 -04:00
Alex Tavarez 0d7b0f0c66 created a new host grouping naming sheme, including a hypothetical ungrouped host for staging purposes 2026-06-16 14:12:30 -04:00
Alex Tavarez 691d85458e excluded old group_vars files from version control 2026-06-16 14:07:14 -04:00
Alex Tavarez 8e1f5c6743 replacing with what is mainly a testing file 2026-06-16 14:06:25 -04:00
Alex Tavarez 1fed9cf441 replaced with what is mainly a testing file 2026-06-16 14:04:30 -04:00
Alex Tavarez f5fa460e44 renamed bootstrap shell script 2026-06-16 14:03:07 -04:00
Alex Tavarez 9d80fbb567 removed example file, for original file 2026-06-16 14:02:17 -04:00
Alex Tavarez 3fe4d9d5a2 added new dictionary variable, that has groups of container engine images; removed two packages from package groups to prepare for containerization instead 2026-06-10 22:10:23 -04:00
Alex Tavarez 17a921b551 included an ansible-galaxy collecton requirement for containers.podman 2026-06-10 22:09:09 -04:00
Alex Tavarez ac4af5de3d added task that creates two new networks for podman 2026-06-10 22:08:17 -04:00
Alex Tavarez f455483d66 brought back use of 'local_facts' variable to make use of local, control node user running plays for path completion 2026-06-10 14:08:01 -04:00
Alex Tavarez 9942fd94f8 created new package tasks for handler-based inclusions, otehrwise got username and home directory of SSH login for path purposes 2026-06-10 14:06:12 -04:00
Alex Tavarez 9d33b45dbc added files or templates to be copied or used for configuration of vim/nvim editors on remote host 2026-06-10 14:04:12 -04:00
Alex Tavarez 0cee2cbb79 changed an SSHD configuration file for remote host so its SSH server also allows agent forwarding from client 2026-06-10 14:02:40 -04:00
Alex Tavarez 50c7b6a56d made use of username of user logged in and running 'sudo' for particular tasks, added true 'become' attrbute to some tasks 2026-06-10 14:01:49 -04:00
Alex Tavarez fc565fa3ce created new playbook for nonroot user login, moved package installation stage/order prior to user/group management 2026-06-10 13:57:11 -04:00
Alex Tavarez c31acb2dcc changed passwords, added packages, moved some packages to different package groups for different instasllation approach by plays or role tasks 2026-06-10 13:54:23 -04:00
Alex Tavarez 55a5e956d4 removed core_pkgs variable as no longer needed 2026-06-10 13:53:36 -04:00
Alex Tavarez a16351985f changed passwords, added packages, moved some packages to different package groups for different instasllation approach by plays or role tasks 2026-06-10 13:52:29 -04:00
Alex Tavarez ac1eb31926 added agent forwarding capabilities to Ansible SSH connection client to enable private key use 2026-06-10 13:49:49 -04:00
Alex Tavarez 19929405ba excluded non-example, fully configured playbook from version control 2026-06-10 13:48:17 -04:00
Alex Tavarez f54545b1dd renamed bash script file to reflect its function--automation of playbook runs 2026-06-10 13:47:20 -04:00
Alex Tavarez 4074eacb1f refactor: split up package installation tasks in accord with splittng of post-installation handlers, for use by separate playbooks 2026-06-10 13:46:18 -04:00
Alex Tavarez af9fc3b4ca refactor: split up file into two distnct sets of handlers to be called separately by plays 2026-06-10 13:43:59 -04:00
Alex Tavarez 1b6811b42b quick push of recent changes for synchronous work on other devices 2026-06-06 16:36:53 -04:00
Alex Tavarez e2128552b9 used 'product' filter to avoid nested loop for host/group server address and SSH public key paths 2026-06-04 07:59:26 -04:00
Alex Tavarez 0e0120588a fix: managed to create SSH key content list from SSH public key path list, fixed retrieval of IP based on instance name and IP preferences 2026-06-03 15:07:59 -04:00
Alex Tavarez 9cdbd7f70f changed SSH key file search strings to accord with SSH key basename changes 2026-06-03 14:58:50 -04:00
Alex Tavarez a6d4293d43 added TODOs related to change of attribute names for package entries in package groups 2026-06-03 14:51:33 -04:00
Alex Tavarez 5d99bf51da . 2026-05-30 06:36:10 -04:00
Alex Tavarez 5ff9ca4687 removed user primary group to enable default action, implemented solution for data restructure to avoid nested looping necessity, re-ordered last SSH access tasks 2026-05-30 06:35:39 -04:00
Alex Tavarez d364f82c9f added conjunctive test case for root to task conditional and fixed copy module's valdation string argument 2026-05-30 06:33:25 -04:00
Alex Tavarez ce62e4afa6 . 2026-05-30 06:09:31 -04:00
Alex Tavarez f2be3f4899 inventory host test file removed due to including network information 2026-05-30 06:09:05 -04:00
Alex Tavarez fd5f6f5bca . 2026-05-30 06:08:28 -04:00
Alex Tavarez eb7bb02e86 excluded official playbook from version control 2026-05-30 06:06:47 -04:00
Alex Tavarez 7f3bb699f9 added example playbook file instead 2026-05-30 06:05:57 -04:00
Alex Tavarez 7d73885162 removed official playbook file 2026-05-30 06:05:30 -04:00
Alex Tavarez 3be40169b2 added a 'local_facts' playbook varable to be used by some init-server role tasks during localhost delegation 2026-05-30 06:02:44 -04:00
Alex Tavarez 08053e6c39 added an example inventory host file, showing expected structure 2026-05-30 06:01:41 -04:00
Alex Tavarez 5073008506 ignoring test inventory host file 2026-05-30 06:00:49 -04:00
Alex Tavarez 0ab26cae67 changed dictionary attribute or variable name 'keys' to 'ssh_keys' due to possible reservation of prior 2026-05-30 05:51:48 -04:00
Alex Tavarez 4920837641 Set host_key_checking to False 2026-05-30 05:50:19 -04:00
Alex Tavarez 8764bede85 template no longer needed as task previously using it now uses blockinfile module 2026-05-29 08:29:12 -04:00
Alex Tavarez c751ced793 writing script to simplify, or abstarct from, use of ansible commands for convenience 2026-05-29 08:28:21 -04:00
Alex Tavarez 03a1a5879e added a playbook, mostly still used primarily for testing purposes 2026-05-29 08:27:09 -04:00
Alex Tavarez 1ecff67cd9 separated out an SSH hardening task as part of refactor 2026-05-29 08:21:15 -04:00
Alex Tavarez 8e9b993f14 created task inclusion handlers to allow for sequential multi-tasks or task blocks that can be called by package installation tasks elsewhere 2026-05-29 08:20:31 -04:00
Alex Tavarez 659feb3322 changed variable in conditional case for task to 'ansible_user' and uncommented user module task groups list item 2026-05-29 08:13:40 -04:00
Alex Tavarez 00486fbc8d changed variable used in conditional case, altered task modifying/creating sftp configuration file for SSH to use blockinfile module 2026-05-29 07:40:38 -04:00
Alex Tavarez f7ba34ec69 due to refactor, shortened and renamed file to only take care of spawning the server and adding SSH public keys to root user account 2026-05-29 07:32:28 -04:00
Alex Tavarez 5440fd3acb further specified task names, corrected task conditional case tests 2026-05-29 07:24:10 -04:00
Alex Tavarez c1af7193f7 re-encrypted admin user password for armitage host 2026-05-29 07:18:31 -04:00
Alex Tavarez f39bb9c8a3 commented out stdout_callback and set callback_result_format to 'yaml' 2026-05-29 06:55:31 -04:00
Alex Tavarez 40fa1312c4 excluding backup files from version control 2026-05-29 06:49:37 -04:00
Alex Tavarez 8ba6a236f8 excluded Ansible runtime cache from version control 2026-05-27 15:02:39 -04:00
Alex Tavarez 4f9ecc84d3 added a playbook to continue working on 2026-05-27 14:32:59 -04:00
Alex Tavarez 217ace503f added YAML document division 2026-05-27 14:32:45 -04:00
Alex Tavarez a614f4461f enabling task debugger in Ansible configuration 2026-05-27 14:08:41 -04:00
Alex Tavarez 4a658857b3 added an example/test YAML inventory file 2026-05-27 14:01:06 -04:00
Alex Tavarez 9f85033aff excluded official host files for privacy purposes, but added a test or example host file 2026-05-27 14:00:31 -04:00
Alex Tavarez 9aac725e88 added inventory sources to ansible configuration 2026-05-27 13:47:09 -04:00
Alex Tavarez c45946739e added check for whether administrative or root login used 2026-05-27 13:14:14 -04:00
Alex Tavarez 4c9a4d480e added task checking for administrative login use 2026-05-27 13:12:57 -04:00
Alex Tavarez 020fcf2c51 added requirement to some tasks for system case to be linux kernel, and added tag 2026-05-27 13:12:08 -04:00
Alex Tavarez 6a2179d7a0 added tagged task that adds SSH authentication restrictions 2026-05-27 13:10:45 -04:00
Alex Tavarez 6eaeeb0322 modularized component for creating administrative users with SSH access 2026-05-27 13:09:19 -04:00
Alex Tavarez f01f1b5431 automated changes 2026-05-27 12:08:17 -04:00
Alex Tavarez 9c770faa23 added Ansible linter configuration file 2026-05-27 12:05:19 -04:00
Alex Tavarez 7dae1fc086 added more python packages and mdns-related avahi packages 2026-05-27 11:58:22 -04:00
Alex Tavarez 43cfc07c11 added more python packages 2026-05-27 11:57:03 -04:00
Alex Tavarez 3a558c5bad added ansible-galaxy package as python requirement 2026-05-27 11:12:47 -04:00
Alex Tavarez b6b4aad798 excluding lock files from version control 2026-05-27 11:11:31 -04:00
Alex Tavarez 5fbf645dd9 excluded Dev Container VSCodium JSON configurations in project from version control 2026-05-26 16:10:42 -04:00
Alex Tavarez 9be8c02220 added inventory group variables for designed host or group aliases/names 2026-05-26 16:07:50 -04:00
Alex Tavarez ba5aa5e8d4 created role for bootstrapping a Linode VPS via API or a LAN homeserver 2026-05-26 16:04:41 -04:00
Alex Tavarez c3e1f95350 compiled current Ansible collection dependencies 2026-05-26 16:02:58 -04:00
Alex Tavarez 978b775259 added molecule as part of requirements 2026-05-26 15:59:57 -04:00
Alex Tavarez 98e346bf11 added the python requirements for the project 2026-05-26 15:34:25 -04:00
Alex Tavarez 58cc22a39c remade configuration for Ansible project 2026-05-26 15:33:47 -04:00
Alex Tavarez 210bcfed59 excluded installed Ansible collections from version control 2026-05-26 15:30:56 -04:00
Alex Tavarez 5f35646487 excluded Ansible Galaxy cache from version control 2026-05-26 15:29:59 -04:00
Alex Tavarez a7d6b9033a excluded Ansible Galaxy token from version control 2026-05-26 15:29:24 -04:00
Alex Tavarez 470daa758a excluded non-default role variables from version control 2026-05-26 15:28:23 -04:00
Alex Tavarez 53c2acf7c8 added Python environment directory to version control exclusion list 2026-05-23 07:19:29 -04:00
Alex Tavarez e8166fa336 added a license for the project 2026-05-23 07:13:12 -04:00
Alex Tavarez 3b88504bb7 added a README file 2026-05-23 07:12:01 -04:00
Alex Tavarez f47c105fa6 added version control exclusion file 2026-05-23 07:11:18 -04:00
Alex Tavarez 71f57d3122 decided to start over 2026-05-23 07:07:26 -04:00
Alex Tavarez ffcf6b2596 fix: made the return be self, given that the instance of the class itself is what is treated as the context manager by default 2026-01-24 14:47:44 -05:00
Alex Tavarez 0d44ec029f replaced cerberus dependency with library of prebuilt valdiators 2026-01-24 14:46:51 -05:00
Alex Tavarez 6af0d4b48c fix, refactor: changed file buffer mode and changed conditional sequences for shorter algorithm 2026-01-24 14:46:08 -05:00
Alex Tavarez f37c2d5998 feature: added a new type amalgamating the return types of the 'open' BIF 2026-01-24 14:39:35 -05:00
Alex Tavarez a2d921a158 feature: added a class for handling Ansible vaults that can be converted to string, and added a YAMLObject representing VPS service as in YAML doc 2026-01-24 14:38:31 -05:00