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
main
Alex Tavarez
2026-01-24 14:47:44 -05:00
0d44ec029f
replaced cerberus dependency with library of prebuilt valdiators
Alex Tavarez
2026-01-24 14:46:51 -05:00
6af0d4b48c
fix, refactor: changed file buffer mode and changed conditional sequences for shorter algorithm
Alex Tavarez
2026-01-24 14:46:08 -05:00
f37c2d5998
feature: added a new type amalgamating the return types of the 'open' BIF
Alex Tavarez
2026-01-24 14:39:35 -05:00
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
Alex Tavarez
2026-01-24 14:38:31 -05:00
e3683fe955
feature: created file for future GPG/OpenPGP related classes
Alex Tavarez
2026-01-22 17:20:00 -05:00
d9ff0443dc
feature: removed dict arg option for publish method while added repr magic method in/for SSHKeyCollection
Alex Tavarez
2026-01-22 17:13:14 -05:00
66da080109
feature: made User and Group classes inherit from YAMLObject class for ease in load/dump operations and conversion
Alex Tavarez
2026-01-22 17:10:15 -05:00
8e6346ee21
fix: made code DRYer, changed RegEx match test to succeed when appropriate
Alex Tavarez
2026-01-22 17:08:06 -05:00
c698bc831a
fix, feature: accounted for additional cases in concatenating magic method for SSHKey, added Sequence methods to SSHKey
Alex Tavarez
2026-01-22 14:19:01 -05:00
d46f3a1f83
feature: created a class representing the Ansible control node as context manager
Alex Tavarez
2026-01-22 14:16:55 -05:00
ad8ea5d8b8
feature: added a class 'Parser' that abstracts from data loaders and dumpers
Alex Tavarez
2026-01-22 14:12:37 -05:00
0137fcdad9
feature: made new static path variables and dictionaries containing paths
Alex Tavarez
2026-01-22 14:11:03 -05:00
36e553092f
changed Enum options for Software
Alex Tavarez
2026-01-22 14:09:12 -05:00
8ccdf4547e
refactor: distributed classes into different files
Alex Tavarez
2026-01-22 14:08:23 -05:00
d9d81a43e0
added another command to the CLI program
Alex Tavarez
2026-01-21 09:21:13 -05:00
2df09c8087
feature: added more root paths and a dictionary of root paths for specific purposes
Alex Tavarez
2026-01-21 09:20:25 -05:00
73472cb073
feature: added more Enum classes useful for type checking and renamed others
Alex Tavarez
2026-01-21 09:19:46 -05:00
57cf9d197d
removed configuration manager module as may not be necessary
Alex Tavarez
2026-01-21 09:18:43 -05:00
808434275b
removed node classes as currently may not be necessary
Alex Tavarez
2026-01-21 09:18:14 -05:00
aea6638243
refactor: renamed module with utilities for management of software for given users and groups
Alex Tavarez
2026-01-21 09:17:37 -05:00
4eab3bd787
refactor: renamed module with utilities for management of SSH keys
Alex Tavarez
2026-01-21 09:16:51 -05:00
05a680eb7e
feature: added a method for 'SSHKeyCollection' that outputs its data in an Ansible-friendly data structure
Alex Tavarez
2026-01-20 12:46:33 -05:00
04127d9d5f
fix: changed referenced in commented-out code
Alex Tavarez
2026-01-20 12:15:31 -05:00
28bd322c87
feature: added magic method for containment test of 'SSHKeyCollection' and magic method for setting the status of 'SSHKey'
Alex Tavarez
2026-01-20 12:14:53 -05:00
67e645a3bd
refactor,feature: simplified item method for 'SSHKeyCollection', added iteration and str methods to it, and refined str methods for 'SSHKey'
Alex Tavarez
2026-01-14 19:36:27 -05:00
83af21eec8
fix: made sure to get basename rather than file stem
Alex Tavarez
2026-01-14 18:25:47 -05:00
88aab2b418
feature: allowed slicing for item retrieval from 'SSHKeyCollection' instances
Alex Tavarez
2026-01-14 18:25:01 -05:00
43885ec135
feature: implemented some numeric and sequence methods for 'SSHKey' class and added a function
Alex Tavarez
2026-01-08 09:45:23 -05:00
a4a8260d1c
fix: added missing import of Callable type hint
Alex Tavarez
2026-01-07 23:16:43 -05:00
c45b282c5c
fix: debugged various magic methods in 'SSHKeyCollection' and added unimplemented but planned magic methods for it and 'SSHKey' class
Alex Tavarez
2026-01-07 23:16:06 -05:00
b7d35f4147
fix: added missing import of Enum
Alex Tavarez
2026-01-07 23:13:09 -05:00
86cd3584b3
changed method name and added inheritance for 'Software' class, moved 'SSHKey' related classes to separate file and fixed 'Software' instance method call
Alex Tavarez
2026-01-07 12:07:36 -05:00
e412e3d5ab
changed method name and added inheritance for 'Software' class, moved 'SSHKey' related classes to separate file and fixed 'Software' instance method call
Alex Tavarez
2026-01-07 12:07:07 -05:00
f46d397e3c
refactor: moved SSH key management classes to separate file, added planned methods unimplemented for some classes
Alex Tavarez
2026-01-06 21:59:05 -05:00
d75ad74d6b
refactor: joined related conditionals together
Alex Tavarez
2026-01-06 20:50:09 -05:00
dc97a1f0b9
refactor: implementing or changing classes to reduce decision tree branching complexity in some methods of 'RemoteNode' class
Alex Tavarez
2026-01-06 19:27:59 -05:00
2f37eed0db
fix: changed the algorithm/approach of the SSH key path removal method for 'RemoteNode'
Alex Tavarez
2026-01-05 10:26:17 -05:00
f68a438de3
feature: created another set of cases for non-YAML parsing, tho not yet implemented
Alex Tavarez
2026-01-05 09:10:35 -05:00
8193cb6de6
feature: created cases for non-YAML parsing, tho not yet implemented
Alex Tavarez
2026-01-05 09:09:02 -05:00
310fd28495
restarting rewrite of CLI
Alex Tavarez
2026-01-04 20:37:26 -05:00
b7e2a8e9db
refactor: created separate file for 'Config' class, rewrote it as a context manager
Alex Tavarez
2026-01-04 20:36:45 -05:00
078cdd4ab3
did some refactoring and renaming
Alex Tavarez
2026-01-04 20:35:13 -05:00
0230cb4074
fix: added missing command context pass into function
Alex Tavarez
2026-01-03 15:58:08 -05:00
b3d70659ec
refactor, fix, feature: turned 'Config' class into YAML-parsing file context manager, refactored CLI command nesting and prepared associated functions for rewrite
Alex Tavarez
2026-01-03 15:56:01 -05:00
eefce50bbb
fix, refactor: debugged circular class ref via refactor & renaming
Alex Tavarez
2026-01-03 15:54:49 -05:00
231850fc14
removed code used for testing purposes
Alex Tavarez
2026-01-03 15:54:34 -05:00
d46a10191b
fix, refactor: debugged circular class ref via refactor & renaming
Alex Tavarez
2026-01-03 15:53:10 -05:00
46d04d7c88
excluded '__pycache__' from version control
Alex Tavarez
2026-01-02 17:09:52 -05:00
68ad15ab62
feature: started writing inventory variable and host or group files related subcommand for CLI tool
Alex Tavarez
2026-01-02 17:09:12 -05:00
1a225364ea
added ansible-vault Python package for Ansible-compatible string encryption
Alex Tavarez
2026-01-02 17:07:53 -05:00
08f0cac740
added a TODO
Alex Tavarez
2026-01-02 17:07:04 -05:00
5a04745c77
fix, feature: removed unpacking that lead to incorrect argument number, added Enum entry, added TODOs
Alex Tavarez
2026-01-02 17:06:01 -05:00
ee15faa104
fix: replaced undefined Union reference to use of Union operator
Alex Tavarez
2026-01-02 17:02:11 -05:00
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
Alex Tavarez
2026-01-02 17:00:59 -05:00
fa1b1540d9
fix: changed typo that could lead to undefined err
Alex Tavarez
2025-12-25 10:06:48 -05:00
34e1d12bca
started a class for configuration of the CLI and CLI click-decorated functions
Alex Tavarez
2025-12-25 09:45:31 -05:00
9d817b54b4
added classes that allow instantiation of relevant paths tied to given software
Alex Tavarez
2025-12-25 09:43:13 -05:00
ee84984cc5
added constants for key paths referenced in rest of Python code
Alex Tavarez
2025-12-25 09:41:08 -05:00
f5af9a7639
added some custom types to be used in other modules
Alex Tavarez
2025-12-25 09:40:04 -05:00
c8fc487996
started creation of classes representing/modeling Ansible remote and control nodes
Alex Tavarez
2025-12-25 09:39:19 -05:00
db426eff81
added a schema-based validation library
Alex Tavarez
2025-12-25 09:37:06 -05:00
d149361e60
set up or initialized Python project
Alex Tavarez
2025-12-21 16:58:39 -05:00
1851b0bb04
added Python lock file to version control exclusion rules
Alex Tavarez
2025-12-21 16:57:41 -05:00
88aac6b598
created environment variables file
Alex Tavarez
2025-12-21 16:56:35 -05:00
ed06773cac
changed a version control exclude rule due to change in Python environment dir change
Alex Tavarez
2025-12-21 16:55:59 -05:00
0dc3edc0bc
added next few tasks
Alex Tavarez
2025-12-21 16:54:39 -05:00
ea7d9f7caf
changed some fields/keys/attributes and changed references to reflect those changes
Alex Tavarez
2025-12-21 16:53:52 -05:00
ffa5408e9c
further clarified STDOUT message guiding user
Alex Tavarez
2025-12-21 14:44:47 -05:00
2d7f783bb9
added some more guiding STDOUT statements for commands and removed useless function
Alex Tavarez
2025-12-21 14:35:56 -05:00
eb437ce2e9
refactor: script file no longer necessary after refactor
Alex Tavarez
2025-12-21 13:58:11 -05:00
07ff003870
refactor: changed name and location of file setting environment variables, made it take shell arguments with native functions as well
Alex Tavarez
2025-12-21 13:57:09 -05:00
d88a9d6176
fix: playbook task already has access to inventory-level variables
Alex Tavarez
2025-12-16 13:48:33 -05:00
c39463f4a7
feature: added a set of default path environment variables to be used as part of execution environment
Alex Tavarez
2025-12-16 13:47:47 -05:00
474574860a
fix: changed from dot notation to bracket notation for attr/meth access
Alex Tavarez
2025-12-16 13:44:10 -05:00
645d815413
fix: removed some unnecessary escape characters, added title for installation section, added links to Gitea Wiki
Alex Tavarez
2025-12-16 12:52:05 -05:00
3c3f7cbf1d
fix: edited typos and added more exposition for the role scope section
Alex Tavarez
2025-12-15 10:22:58 -05:00
e175e41810
Filled in role metadata and placed in dependencies
Alex Tavarez
2025-12-15 10:12:08 -05:00
3040a6203d
Added task for adding essential documentation on Ansible inventory file naming conventions
Alex Tavarez
2025-12-15 10:10:45 -05:00
29bd8090be
Rewrote README to reflect refactored and rewritten Ansible project, and essential information
Alex Tavarez
2025-12-15 10:08:23 -05:00
40bbe62203
removed Podman post-installation handlers as containers will no longer be managed via Ansible
Alex Tavarez
2025-12-07 21:35:53 -05:00
cb69a9b430
removed a list of container software due to separate repo handling this via Compose files
Alex Tavarez
2025-12-07 21:34:43 -05:00
19f1681473
Added containers to software dictionary list
Alex Tavarez
2025-12-01 21:11:39 -05:00
5e5dabff1a
Added the creation of symbolic links to Nextcloud snap binaries for Nextcloud
Alex Tavarez
2025-12-01 19:20:06 -05:00
d4aa128e4c
Added configuration value related to setting default phone region for Nextcloud
Alex Tavarez
2025-12-01 18:59:31 -05:00
512c7a82e5
Added default phone region for accepting phone numbers, and overwrote URLs for Nextcloud
Alex Tavarez
2025-12-01 18:58:07 -05:00
6c4c3d0794
Added ClamAV and ClamAV SystemD daemon package installations
Alex Tavarez
2025-11-30 14:54:25 -05:00
5a75942336
Created handler for podman installation that installs containers
Alex Tavarez
2025-11-30 14:53:27 -05:00
dd463297dd
Added TODOs for this handler
Alex Tavarez
2025-11-30 14:52:09 -05:00
a1bc0ae727
Created systemd user unit service file for Aria2
Alex Tavarez
2025-11-18 21:47:11 -05:00
4dd524a5f2
Added RSyncD configuration file
Alex Tavarez
2025-11-18 21:45:43 -05:00
5901f69c29
Added handler for installing containers after podman installation
Alex Tavarez
2025-11-18 21:45:14 -05:00
73ef748c95
Added Jinja variables
Alex Tavarez
2025-11-18 21:44:28 -05:00
065e93d7c7
Added configuration fields for Aria2
Alex Tavarez
2025-11-18 21:43:48 -05:00
3f11b7c78d
Added handler for RSyncD configuration
Alex Tavarez
2025-11-18 21:38:39 -05:00
64873bb846
Added a handler for Aria2 setting up daemon and configuration
Alex Tavarez
2025-11-18 21:37:40 -05:00
bdc6905491
Added Fail2Ban jails for ProFTPd and SSHD
Alex Tavarez
2025-11-18 21:36:59 -05:00
272c1342c1
Excluded Ansible Galaxy cache data and token file from version control tracking
Alex Tavarez
2025-11-18 21:36:09 -05:00
db18e6ddf6
Commented LDAP and NodeJS packages, uncommented aria and rsync packages, from software list--added container, misc and snap software
Alex Tavarez
2025-11-18 21:34:30 -05:00