aa8d61aa09
added attribute to reboot task to ignore errors; included variables file for configuring VPN, i.e. DSNet, service configuration
Alex Tavarez2026-06-19 19:21:09 -04:00
2d6dcd3dab
added attribute to reboot task to ignore errors; included variables file needed for VPN, i.e. DSNet, service configuration
Alex Tavarez2026-06-19 19:18:54 -04:00
2c66c3bd43
removed tasks that were instead migrated to a role task included by a role handler
Alex Tavarez2026-06-19 19:17:24 -04:00
83fa171341
added task for grabbng software binary as software installation
Alex Tavarez2026-06-19 19:15:38 -04:00
240efbb713
changed hardlink or actual destnation paths for software binaries, and used relative path for fetched secrets
Alex Tavarez2026-06-19 19:10:39 -04:00
bcf9eaebc9
removed unnecessary copy task for a source file in managed node
Alex Tavarez2026-06-19 19:06:55 -04:00
125ec09c8f
migrated DSNet tasks to own task file in role, as opposed to having it in relevant playbook
Alex Tavarez2026-06-19 19:04:54 -04:00
b784b781d3
added a DSNet handler including tasks for post-installation
Alex Tavarez2026-06-19 19:03:52 -04:00
909682d74e
moved burp and rsync installations, and added a new package group for direct software binaries, with dsnet listed in it
Alex Tavarez2026-06-19 19:02:29 -04:00
bd3029b914
made sure that handlers run prior to hostname change as well as a reboot in which the server is rendered inaccessible
Alex Tavarez2026-06-18 19:20:56 -04:00
57a3e876b8
added task informing user of needed actions to take advantage of now-avaialble vim plugins
Alex Tavarez2026-06-18 19:19:23 -04:00
1ce6879abf
fixed typo in a line substitution, added SystemD restart tasks for service to abide by configuration changes
Alex Tavarez2026-06-18 19:18:26 -04:00
9ea7fb37b0
fixed missing loop variable for headscale user registration task
Alex Tavarez2026-06-18 19:17:16 -04:00
7584027890
moved VIM and Crowdsec setup handler listener, former due to now being userspace package group installation, latter due to needing to precede headscale handler tasks
Alex Tavarez2026-06-18 19:16:26 -04:00
a78613920c
moved vim to userspace package group, referenced crowdsec handler, added password hashing/encryption
Alex Tavarez2026-06-18 19:14:14 -04:00
0dd0633166
hard-coded dedicated SSH keys for staging to automatically populate ssh-agent, added a subcommand for listing SSH keys in use by SSH agent
Alex Tavarez2026-06-17 14:42:16 -04:00
9945330b82
added task block to prompt user for a fallback password if given root password is null
Alex Tavarez2026-06-17 14:40:35 -04:00
f4399a2c8a
added task block to prompt user for a fallback password if given user password is null
Alex Tavarez2026-06-17 14:40:17 -04:00
596b828e6f
changed SSH key queries to dedicated SSH keys, and automated password creation, for staging; removed token to be prompted instead
Alex Tavarez2026-06-17 14:39:10 -04:00
13ef8fa459
made ungrouped hosts be two machines for staging or more
Alex Tavarez2026-06-17 14:36:26 -04:00
52f98c1d57
removed some information from example files for users to fill on their own
main
Alex Tavarez2026-06-16 15:02:11 -04:00
c0d0203406
excluded some very specific vars files from version control due to potential sensitive information
Alex Tavarez2026-06-16 14:57:56 -04:00
889b06bf21
altered template variables for vim editor configuration file
Alex Tavarez2026-06-16 14:57:11 -04:00
5bfde90be9
altered template variables for flexget configuration file
Alex Tavarez2026-06-16 14:56:30 -04:00
f592a56c60
added/altered template variables for headscale configuration file
Alex Tavarez2026-06-16 14:55:56 -04:00
fc95904327
added a default handler that performs a default action for software installation if none needed, as looped installations nonetheless will attempt to notify one
Alex Tavarez2026-06-16 14:55:06 -04:00
f43e420f66
allowed for change of crowdsec ports from their defaults
Alex Tavarez2026-06-16 14:53:58 -04:00
a6fc067eb1
added configuration of template files as top-level variable files in vars directory, to be referenced in relevant playbooks
Alex Tavarez2026-06-16 14:53:01 -04:00
44c343dd7b
added decision tree for how to retrieve and make use of output produced on remote machine for future purposes
Alex Tavarez2026-06-16 14:51:17 -04:00
8894bd8925
ensured backups and forced changes for confguration files; fixed issue with failing to look up path on remote machine for remote machine copying operations
Alex Tavarez2026-06-16 14:50:02 -04:00
7daf57da64
moved post-installation reboots to task blocks from each software's associated handler to reduce power cycle; fixed semantic errors with varables and fixed repository addition issues
Alex Tavarez2026-06-16 14:47:31 -04:00
dc8dbcc43e
added handlers inclusive of tasks related to headscale, git, vim and tor, as well as those very tasks
Alex Tavarez2026-06-16 14:40:56 -04:00
a4c26fd9c3
created example files for the basic server groupings
Alex Tavarez2026-06-16 14:21:50 -04:00
555c7d0a6a
replaced example file with original, native playbook file
Alex Tavarez2026-06-16 14:16:01 -04:00
5049210e25
added community.general to requirements, just in case
Alex Tavarez2026-06-16 14:14:26 -04:00
0d7b0f0c66
created a new host grouping naming sheme, including a hypothetical ungrouped host for staging purposes
Alex Tavarez2026-06-16 14:12:30 -04:00
691d85458e
excluded old group_vars files from version control
Alex Tavarez2026-06-16 14:07:14 -04:00
8e1f5c6743
replacing with what is mainly a testing file
Alex Tavarez2026-06-16 14:06:25 -04:00
1fed9cf441
replaced with what is mainly a testing file
Alex Tavarez2026-06-16 14:04:30 -04:00
3fe4d9d5a2
added new dictionary variable, that has groups of container engine images; removed two packages from package groups to prepare for containerization instead
Alex Tavarez2026-06-10 22:10:23 -04:00
17a921b551
included an ansible-galaxy collecton requirement for containers.podman
Alex Tavarez2026-06-10 22:09:09 -04:00
ac4af5de3d
added task that creates two new networks for podman
Alex Tavarez2026-06-10 22:08:17 -04:00
f455483d66
brought back use of 'local_facts' variable to make use of local, control node user running plays for path completion
Alex Tavarez2026-06-10 14:08:01 -04:00
9942fd94f8
created new package tasks for handler-based inclusions, otehrwise got username and home directory of SSH login for path purposes
Alex Tavarez2026-06-10 14:06:12 -04:00
9d33b45dbc
added files or templates to be copied or used for configuration of vim/nvim editors on remote host
Alex Tavarez2026-06-10 14:04:12 -04:00
0cee2cbb79
changed an SSHD configuration file for remote host so its SSH server also allows agent forwarding from client
Alex Tavarez2026-06-10 14:02:40 -04:00
50c7b6a56d
made use of username of user logged in and running 'sudo' for particular tasks, added true 'become' attrbute to some tasks
Alex Tavarez2026-06-10 14:01:49 -04:00
fc565fa3ce
created new playbook for nonroot user login, moved package installation stage/order prior to user/group management
Alex Tavarez2026-06-10 13:57:11 -04:00
c31acb2dcc
changed passwords, added packages, moved some packages to different package groups for different instasllation approach by plays or role tasks
Alex Tavarez2026-06-10 13:54:23 -04:00
55a5e956d4
removed core_pkgs variable as no longer needed
Alex Tavarez2026-06-10 13:53:36 -04:00
a16351985f
changed passwords, added packages, moved some packages to different package groups for different instasllation approach by plays or role tasks
Alex Tavarez2026-06-10 13:52:29 -04:00
ac1eb31926
added agent forwarding capabilities to Ansible SSH connection client to enable private key use
Alex Tavarez2026-06-10 13:49:49 -04:00
19929405ba
excluded non-example, fully configured playbook from version control
Alex Tavarez2026-06-10 13:48:17 -04:00
f54545b1dd
renamed bash script file to reflect its function--automation of playbook runs
Alex Tavarez2026-06-10 13:47:20 -04:00
4074eacb1f
refactor: split up package installation tasks in accord with splittng of post-installation handlers, for use by separate playbooks
Alex Tavarez2026-06-10 13:46:18 -04:00
af9fc3b4ca
refactor: split up file into two distnct sets of handlers to be called separately by plays
Alex Tavarez2026-06-10 13:43:59 -04:00
1b6811b42b
quick push of recent changes for synchronous work on other devices
Alex Tavarez2026-06-06 16:36:53 -04:00
e2128552b9
used 'product' filter to avoid nested loop for host/group server address and SSH public key paths
Alex Tavarez2026-06-04 07:59:26 -04:00
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
Alex Tavarez2026-06-03 15:07:59 -04:00
9cdbd7f70f
changed SSH key file search strings to accord with SSH key basename changes
Alex Tavarez2026-06-03 14:58:50 -04:00
a6d4293d43
added TODOs related to change of attribute names for package entries in package groups
Alex Tavarez2026-06-03 14:51:33 -04:00
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
Alex Tavarez2026-05-30 06:35:39 -04:00
d364f82c9f
added conjunctive test case for root to task conditional and fixed copy module's valdation string argument
Alex Tavarez2026-05-30 06:33:25 -04:00
3be40169b2
added a 'local_facts' playbook varable to be used by some init-server role tasks during localhost delegation
Alex Tavarez2026-05-30 06:02:44 -04:00
08053e6c39
added an example inventory host file, showing expected structure
Alex Tavarez2026-05-30 06:01:41 -04:00
0ab26cae67
changed dictionary attribute or variable name 'keys' to 'ssh_keys' due to possible reservation of prior
Alex Tavarez2026-05-30 05:51:48 -04:00
8764bede85
template no longer needed as task previously using it now uses blockinfile module
Alex Tavarez2026-05-29 08:29:12 -04:00
c751ced793
writing script to simplify, or abstarct from, use of ansible commands for convenience
Alex Tavarez2026-05-29 08:28:21 -04:00
03a1a5879e
added a playbook, mostly still used primarily for testing purposes
Alex Tavarez2026-05-29 08:27:09 -04:00
1ecff67cd9
separated out an SSH hardening task as part of refactor
Alex Tavarez2026-05-29 08:21:15 -04:00
8e9b993f14
created task inclusion handlers to allow for sequential multi-tasks or task blocks that can be called by package installation tasks elsewhere
Alex Tavarez2026-05-29 08:20:31 -04:00
659feb3322
changed variable in conditional case for task to 'ansible_user' and uncommented user module task groups list item
Alex Tavarez2026-05-29 08:13:40 -04:00
00486fbc8d
changed variable used in conditional case, altered task modifying/creating sftp configuration file for SSH to use blockinfile module
Alex Tavarez2026-05-29 07:40:38 -04:00
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
Alex Tavarez2026-05-29 07:32:28 -04:00
5440fd3acb
further specified task names, corrected task conditional case tests
Alex Tavarez2026-05-29 07:24:10 -04:00
c1af7193f7
re-encrypted admin user password for armitage host
Alex Tavarez2026-05-29 07:18:31 -04:00
f39bb9c8a3
commented out stdout_callback and set callback_result_format to 'yaml'
Alex Tavarez2026-05-29 06:55:31 -04:00
40fa1312c4
excluding backup files from version control
Alex Tavarez2026-05-29 06:49:37 -04:00
8ba6a236f8
excluded Ansible runtime cache from version control
Alex Tavarez2026-05-27 15:02:39 -04:00
4f9ecc84d3
added a playbook to continue working on
Alex Tavarez2026-05-27 14:32:59 -04:00