Commit Graph
100 Commits
Author SHA1 Message Date
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
Alex Tavarez c8fc487996 started creation of classes representing/modeling Ansible remote and control nodes 2025-12-25 09:39:19 -05:00
Alex Tavarez db426eff81 added a schema-based validation library 2025-12-25 09:37:06 -05:00
Alex Tavarez d149361e60 set up or initialized Python project 2025-12-21 16:58:39 -05:00
Alex Tavarez 1851b0bb04 added Python lock file to version control exclusion rules 2025-12-21 16:57:41 -05:00
Alex Tavarez 88aac6b598 created environment variables file 2025-12-21 16:56:35 -05:00
Alex Tavarez ed06773cac changed a version control exclude rule due to change in Python environment dir change 2025-12-21 16:55:59 -05:00
Alex Tavarez 0dc3edc0bc added next few tasks 2025-12-21 16:54:39 -05:00
Alex Tavarez ea7d9f7caf changed some fields/keys/attributes and changed references to reflect those changes 2025-12-21 16:53:52 -05:00
Alex Tavarez ffa5408e9c further clarified STDOUT message guiding user 2025-12-21 14:44:47 -05:00
Alex Tavarez 2d7f783bb9 added some more guiding STDOUT statements for commands and removed useless function 2025-12-21 14:35:56 -05:00
Alex Tavarez eb437ce2e9 refactor: script file no longer necessary after refactor 2025-12-21 13:58:11 -05:00
Alex Tavarez 07ff003870 refactor: changed name and location of file setting environment variables, made it take shell arguments with native functions as well 2025-12-21 13:57:09 -05:00
Alex Tavarez d88a9d6176 fix: playbook task already has access to inventory-level variables 2025-12-16 13:48:33 -05:00
Alex Tavarez c39463f4a7 feature: added a set of default path environment variables to be used as part of execution environment 2025-12-16 13:47:47 -05:00
Alex Tavarez 474574860a fix: changed from dot notation to bracket notation for attr/meth access 2025-12-16 13:44:10 -05:00
Alex Tavarez 645d815413 fix: removed some unnecessary escape characters, added title for installation section, added links to Gitea Wiki 2025-12-16 12:52:05 -05:00
Alex Tavarez 3c3f7cbf1d fix: edited typos and added more exposition for the role scope section 2025-12-15 10:22:58 -05:00
Alex Tavarez e175e41810 Filled in role metadata and placed in dependencies 2025-12-15 10:12:08 -05:00
Alex Tavarez 3040a6203d Added task for adding essential documentation on Ansible inventory file naming conventions 2025-12-15 10:10:45 -05:00
Alex Tavarez 29bd8090be Rewrote README to reflect refactored and rewritten Ansible project, and essential information 2025-12-15 10:08:23 -05:00
Alex Tavarez 40bbe62203 removed Podman post-installation handlers as containers will no longer be managed via Ansible 2025-12-07 21:35:53 -05:00
Alex Tavarez cb69a9b430 removed a list of container software due to separate repo handling this via Compose files 2025-12-07 21:34:43 -05:00
Alex Tavarez 19f1681473 Added containers to software dictionary list 2025-12-01 21:11:39 -05:00
Alex Tavarez 5e5dabff1a Added the creation of symbolic links to Nextcloud snap binaries for Nextcloud 2025-12-01 19:20:06 -05:00
Alex Tavarez d4aa128e4c Added configuration value related to setting default phone region for Nextcloud 2025-12-01 18:59:31 -05:00
Alex Tavarez 512c7a82e5 Added default phone region for accepting phone numbers, and overwrote URLs for Nextcloud 2025-12-01 18:58:07 -05:00
Alex Tavarez 6c4c3d0794 Added ClamAV and ClamAV SystemD daemon package installations 2025-11-30 14:54:25 -05:00
Alex Tavarez 5a75942336 Created handler for podman installation that installs containers 2025-11-30 14:53:27 -05:00
Alex Tavarez dd463297dd Added TODOs for this handler 2025-11-30 14:52:09 -05:00
Alex Tavarez a1bc0ae727 Created systemd user unit service file for Aria2 2025-11-18 21:47:11 -05:00
Alex Tavarez 4dd524a5f2 Added RSyncD configuration file 2025-11-18 21:45:43 -05:00
Alex Tavarez 5901f69c29 Added handler for installing containers after podman installation 2025-11-18 21:45:14 -05:00
Alex Tavarez 73ef748c95 Added Jinja variables 2025-11-18 21:44:28 -05:00
Alex Tavarez 065e93d7c7 Added configuration fields for Aria2 2025-11-18 21:43:48 -05:00
Alex Tavarez 3f11b7c78d Added handler for RSyncD configuration 2025-11-18 21:38:39 -05:00
Alex Tavarez 64873bb846 Added a handler for Aria2 setting up daemon and configuration 2025-11-18 21:37:40 -05:00
Alex Tavarez bdc6905491 Added Fail2Ban jails for ProFTPd and SSHD 2025-11-18 21:36:59 -05:00
Alex Tavarez 272c1342c1 Excluded Ansible Galaxy cache data and token file from version control tracking 2025-11-18 21:36:09 -05:00
Alex Tavarez db18e6ddf6 Commented LDAP and NodeJS packages, uncommented aria and rsync packages, from software list--added container, misc and snap software 2025-11-18 21:34:30 -05:00
Alex Tavarez ee3cf37d2f Imported new additional tasks 2025-11-18 21:31:56 -05:00
Alex Tavarez 7d2d9081e2 Created set of additional tasks for custom filters for new Fail2Ban ProFTPd jail 2025-11-18 21:30:47 -05:00
Alex Tavarez 870b16582c Added set of tasks configuring Nextcloud after installation 2025-11-18 21:29:25 -05:00
Alex Tavarez de70d3bdd3 Added task to modify default branch name 2025-11-18 21:28:33 -05:00
Alex Tavarez 72395382d3 Changed order of preferred paths for Ansible 2025-11-18 21:27:01 -05:00
Alex Tavarez fd5cdca0e9 Excluded collections from version control tracking 2025-11-18 21:25:57 -05:00
Alex Tavarez 0a072b4c90 Added handler for nextcloud, to configure it after it has been installed by snapd 2025-11-17 09:39:49 -05:00
Alex Tavarez 736277c377 Added handler for snapd that installs listed snap packages after snapd itself is installed 2025-11-17 09:37:43 -05:00
Alex Tavarez b386f5e363 Added snap software packages and an LDAP library package for PHP 2025-11-17 09:37:04 -05:00
Alex Tavarez da694910c6 Added snap software packages and an LDAP library package for PHP 2025-11-17 09:36:19 -05:00
Alex Tavarez 93bc285f3d Started creation of play after VPS has been made and initial configuration of main services has been done 2025-11-16 14:02:09 -05:00
Alex Tavarez c0a798837d Added a new major task for later 2025-11-16 14:01:14 -05:00
Alex Tavarez 856704f9d7 Added some configuration information for ProFTPd to be used by its configuration file templates ireferred to by its handler 2025-11-16 14:00:43 -05:00
Alex Tavarez f74482c400 Re-added a line specifying a default root for default server and moved MaxInstances line into here due to it being more appropriate context 2025-11-16 13:59:49 -05:00
Alex Tavarez a6218cbaef fix: changed join function sytnax to correct Python method syntax 2025-11-16 13:58:37 -05:00
Alex Tavarez 8c88322621 Renamed file and edited to render it exemplar 2025-11-16 13:57:30 -05:00
Alex Tavarez 960f54efca Added more directives to file to increase security of and friendliness of ProFTPd FTP server 2025-11-16 13:55:15 -05:00
Alex Tavarez a6039e2c13 Added an import of task transfering over SSL/TLS certificates 2025-11-16 13:53:51 -05:00
Alex Tavarez c3eed3e396 Added a task to transfer over and register FQDN certificates from Ansible to remote machine 2025-11-16 13:53:02 -05:00
Alex Tavarez 4fad50c9dc Created a task for creating public FTP directory, created MOTD script transfer tasks 2025-11-16 13:51:47 -05:00
Alex Tavarez ea2346c41b Added importing of ProFTPd handler task to main bootstraps role handler 2025-11-16 13:49:15 -05:00
Alex Tavarez 8b2390a1b7 Added a handler for configuring ProFTPd after it has been installed 2025-11-16 13:47:56 -05:00
Alex Tavarez ee8a391d0e Added list of basenames for SSH MOTD scripts for ease of selection, and added a service to a user 2025-11-16 13:47:06 -05:00
Alex Tavarez 460e3f42ce Added exclusions of files with variable values specific to my use case, rather than being generic 2025-11-16 13:45:27 -05:00
Alex Tavarez e06807ed37 fix: removed line that will be added via task instead 2025-11-12 19:38:35 -05:00
Alex Tavarez 08df87b0bf fix: changed to more appropriate uppercasing of domain name 2025-11-12 19:07:12 -05:00
Alex Tavarez d52f7e02a8 fix: wrong variable name for ServerName directive in template 2025-11-12 19:06:30 -05:00
Alex Tavarez a387326cca feature: created preliminary ProFTPd installation task handler that configures ProFTPd 2025-11-12 18:54:40 -05:00
Alex Tavarez a0413c7ebc fix: changed Ansible user module system attribute value to boolean type 2025-11-12 18:52:43 -05:00
Alex Tavarez b4f6afa628 feature: added a configuration section for ProFTPd to fill in template file variables 2025-11-12 18:51:45 -05:00
Alex Tavarez 4d3d060ec2 feature: added ProFTPd configuration template files to be used by handlers at installation 2025-11-12 18:50:26 -05:00
Alex Tavarez f97a93ee05 feature: added an id attribute for users that must be specified for their account creation 2025-11-12 18:48:25 -05:00
Alex Tavarez bbdcba0b72 feature: added and uncommented more software 2025-11-12 08:33:53 -05:00