Commit Graph
100 Commits
Author SHA1 Message Date
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
Alex Tavarez e3683fe955 feature: created file for future GPG/OpenPGP related classes 2026-01-22 17:20:00 -05:00
Alex Tavarez d9ff0443dc feature: removed dict arg option for publish method while added repr magic method in/for SSHKeyCollection 2026-01-22 17:13:14 -05:00
Alex Tavarez 66da080109 feature: made User and Group classes inherit from YAMLObject class for ease in load/dump operations and conversion 2026-01-22 17:10:15 -05:00
Alex Tavarez 8e6346ee21 fix: made code DRYer, changed RegEx match test to succeed when appropriate 2026-01-22 17:08:06 -05:00
Alex Tavarez c698bc831a fix, feature: accounted for additional cases in concatenating magic method for SSHKey, added Sequence methods to SSHKey 2026-01-22 14:19:01 -05:00
Alex Tavarez d46f3a1f83 feature: created a class representing the Ansible control node as context manager 2026-01-22 14:16:55 -05:00
Alex Tavarez ad8ea5d8b8 feature: added a class 'Parser' that abstracts from data loaders and dumpers 2026-01-22 14:12:37 -05:00
Alex Tavarez 0137fcdad9 feature: made new static path variables and dictionaries containing paths 2026-01-22 14:11:03 -05:00
Alex Tavarez 36e553092f changed Enum options for Software 2026-01-22 14:09:12 -05:00
Alex Tavarez 8ccdf4547e refactor: distributed classes into different files 2026-01-22 14:08:23 -05:00
Alex Tavarez d9d81a43e0 added another command to the CLI program 2026-01-21 09:21:13 -05:00
Alex Tavarez 2df09c8087 feature: added more root paths and a dictionary of root paths for specific purposes 2026-01-21 09:20:25 -05:00
Alex Tavarez 73472cb073 feature: added more Enum classes useful for type checking and renamed others 2026-01-21 09:19:46 -05:00
Alex Tavarez 57cf9d197d removed configuration manager module as may not be necessary 2026-01-21 09:18:43 -05:00
Alex Tavarez 808434275b removed node classes as currently may not be necessary 2026-01-21 09:18:14 -05:00
Alex Tavarez aea6638243 refactor: renamed module with utilities for management of software for given users and groups 2026-01-21 09:17:37 -05:00
Alex Tavarez 4eab3bd787 refactor: renamed module with utilities for management of SSH keys 2026-01-21 09:16:51 -05:00
Alex Tavarez 05a680eb7e feature: added a method for 'SSHKeyCollection' that outputs its data in an Ansible-friendly data structure 2026-01-20 12:46:33 -05:00
Alex Tavarez 04127d9d5f fix: changed referenced in commented-out code 2026-01-20 12:15:31 -05:00
Alex Tavarez 28bd322c87 feature: added magic method for containment test of 'SSHKeyCollection' and magic method for setting the status of 'SSHKey' 2026-01-20 12:14:53 -05:00
Alex Tavarez 67e645a3bd refactor,feature: simplified item method for 'SSHKeyCollection', added iteration and str methods to it, and refined str methods for 'SSHKey' 2026-01-14 19:36:27 -05:00
Alex Tavarez 83af21eec8 fix: made sure to get basename rather than file stem 2026-01-14 18:25:47 -05:00
Alex Tavarez 88aab2b418 feature: allowed slicing for item retrieval from 'SSHKeyCollection' instances 2026-01-14 18:25:01 -05:00
Alex Tavarez 43885ec135 feature: implemented some numeric and sequence methods for 'SSHKey' class and added a function 2026-01-08 09:45:23 -05:00