Commit Graph
100 Commits
Author SHA1 Message Date
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
Alex Tavarez 877e133eec feature: added equality comparison magic method counterparts 2026-01-07 23:26:17 -05:00
Alex Tavarez a4a8260d1c fix: added missing import of Callable type hint 2026-01-07 23:16:43 -05:00
Alex Tavarez c45b282c5c fix: debugged various magic methods in 'SSHKeyCollection' and added unimplemented but planned magic methods for it and 'SSHKey' class 2026-01-07 23:16:06 -05:00
Alex Tavarez b7d35f4147 fix: added missing import of Enum 2026-01-07 23:13:09 -05:00
Alex Tavarez 86cd3584b3 changed method name and added inheritance for 'Software' class, moved 'SSHKey' related classes to separate file and fixed 'Software' instance method call 2026-01-07 12:07:36 -05:00
Alex Tavarez e412e3d5ab changed method name and added inheritance for 'Software' class, moved 'SSHKey' related classes to separate file and fixed 'Software' instance method call 2026-01-07 12:07:07 -05:00
Alex Tavarez f46d397e3c refactor: moved SSH key management classes to separate file, added planned methods unimplemented for some classes 2026-01-06 21:59:05 -05:00
Alex Tavarez d75ad74d6b refactor: joined related conditionals together 2026-01-06 20:50:09 -05:00
Alex Tavarez dc97a1f0b9 refactor: implementing or changing classes to reduce decision tree branching complexity in some methods of 'RemoteNode' class 2026-01-06 19:27:59 -05:00
Alex Tavarez 2f37eed0db fix: changed the algorithm/approach of the SSH key path removal method for 'RemoteNode' 2026-01-05 10:26:17 -05:00
Alex Tavarez f68a438de3 feature: created another set of cases for non-YAML parsing, tho not yet implemented 2026-01-05 09:10:35 -05:00
Alex Tavarez 8193cb6de6 feature: created cases for non-YAML parsing, tho not yet implemented 2026-01-05 09:09:02 -05:00
Alex Tavarez 310fd28495 restarting rewrite of CLI 2026-01-04 20:37:26 -05:00
Alex Tavarez b7e2a8e9db refactor: created separate file for 'Config' class, rewrote it as a context manager 2026-01-04 20:36:45 -05:00
Alex Tavarez 078cdd4ab3 did some refactoring and renaming 2026-01-04 20:35:13 -05:00
Alex Tavarez 0230cb4074 fix: added missing command context pass into function 2026-01-03 15:58:08 -05:00
Alex Tavarez b3d70659ec refactor, fix, feature: turned 'Config' class into YAML-parsing file context manager, refactored CLI command nesting and prepared associated functions for rewrite 2026-01-03 15:56:01 -05:00
Alex Tavarez eefce50bbb fix, refactor: debugged circular class ref via refactor & renaming 2026-01-03 15:54:49 -05:00
Alex Tavarez 231850fc14 removed code used for testing purposes 2026-01-03 15:54:34 -05:00
Alex Tavarez d46a10191b fix, refactor: debugged circular class ref via refactor & renaming 2026-01-03 15:53:10 -05:00
Alex Tavarez 46d04d7c88 excluded '__pycache__' from version control 2026-01-02 17:09:52 -05:00
Alex Tavarez 68ad15ab62 feature: started writing inventory variable and host or group files related subcommand for CLI tool 2026-01-02 17:09:12 -05:00
Alex Tavarez 1a225364ea added ansible-vault Python package for Ansible-compatible string encryption 2026-01-02 17:07:53 -05:00
Alex Tavarez 08f0cac740 added a TODO 2026-01-02 17:07:04 -05:00
Alex Tavarez 5a04745c77 fix, feature: removed unpacking that lead to incorrect argument number, added Enum entry, added TODOs 2026-01-02 17:06:01 -05:00
Alex Tavarez ee15faa104 fix: replaced undefined Union reference to use of Union operator 2026-01-02 17:02:11 -05:00
Alex Tavarez 9e4f0c6881 fix, feature: type-casted a variable or literal rather than type variable, added methods for key selection/removal, added method for outputting formetted instance data 2026-01-02 17:00:59 -05:00
Alex Tavarez fa1b1540d9 fix: changed typo that could lead to undefined err 2025-12-25 10:06:48 -05:00
Alex Tavarez 34e1d12bca started a class for configuration of the CLI and CLI click-decorated functions 2025-12-25 09:45:31 -05:00
Alex Tavarez 9d817b54b4 added classes that allow instantiation of relevant paths tied to given software 2025-12-25 09:43:13 -05:00
Alex Tavarez ee84984cc5 added constants for key paths referenced in rest of Python code 2025-12-25 09:41:08 -05:00
Alex Tavarez f5af9a7639 added some custom types to be used in other modules 2025-12-25 09:40:04 -05:00