Commit Graph
100 Commits
Author SHA1 Message Date
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
Alex Tavarez 4fc691d1db feature: explicitly set PrintMotd SSH option to always be true to allow non-script MOTD capabilities regardless of PAM usage in SSH 2025-11-12 08:33:13 -05:00
Alex Tavarez 8bf893ee1f feature: changed to have PAM allowed by default for SSH for MOTD capabilities 2025-11-12 08:31:47 -05:00
Alex Tavarez 3ed2791d13 feature: renamed and changed contents of file to provide a handler configuring proftpd 2025-11-12 08:30:02 -05:00
Alex Tavarez f139afe429 Added some exclusion rules for sensitive data 2025-11-12 08:28:15 -05:00
Alex Tavarez 0efe13e76b refactor: restructured project for higher-utility naming practices and optimized data structures for variables 2025-11-11 00:58:10 -05:00
Alex Tavarez 44a292f19f Added password prompt and declared ansible_user variable 2025-10-21 16:39:58 -04:00
Alex Tavarez f055178030 Moved SSH user configuration from playbook files to lockdown role files 2025-10-21 16:39:00 -04:00
Alex Tavarez c579cf386b Moved XDG user configuration from playbook files to lockdown role files 2025-10-21 16:38:00 -04:00
Alex Tavarez 3d35228d29 Moved SSH user config example from playbook files to lockdown role file 2025-10-21 16:34:58 -04:00
Alex Tavarez 430db9c1d8 Moved bash aliases and functions from playbook files to lockdown role files 2025-10-21 16:32:46 -04:00
Alex Tavarez 09cdafc570 Added task for taking contents from acquired files, added delegation to a task 2025-10-21 14:07:48 -04:00
Alex Tavarez fd8e4e29b6 Changed task name for imported playbook 2025-10-21 14:06:38 -04:00
Alex Tavarez 8d4ef1a461 Changed source path for files moved into lockdown role that are used in copy module tasks 2025-10-21 14:05:51 -04:00
Alex Tavarez 8647bb2a06 Made match terms more efficient and less redundant 2025-10-21 14:01:55 -04:00
Alex Tavarez fa015cd85c Added an example SSH user configuration file for hosts under the servers group 2025-10-21 11:50:21 -04:00
Alex Tavarez 8a77110c0b Fixed indentation, changed destination path basename for copy module tasks 2025-10-21 11:36:41 -04:00
Alex Tavarez 7884ac47cf Refactored git configuration tasks, converting them to lockdown role tasks, and replaced playbook prompt variables with lockdown role variabls 2025-10-21 11:33:44 -04:00
Alex Tavarez e2c1dcdd2f Added defaults for some git configuration values 2025-10-21 09:28:37 -04:00
Alex Tavarez 66b71ee225 Refactored and moved set of git configuration tasks to lockdown role 2025-10-21 09:20:17 -04:00
Alex Tavarez 97802668da Added git configuration, including acquisition/creation of SSH keys; to be moved/refactored later 2025-09-25 15:06:40 -04:00
Alex Tavarez c551192d2c Changed naming scheme for GPG keys, specified conditional case for GPG key acquisition/creation method 2025-09-25 15:05:09 -04:00
Alex Tavarez 28123cf513 Changed aside due to unexpected rendering 2025-09-07 01:16:44 -04:00
Alex Tavarez 8039e37dc7 Added task for sections to add to README file 2025-09-07 01:14:09 -04:00