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
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
Alex Tavarez2026-01-24 14:47:44 -05:00
0d44ec029f
replaced cerberus dependency with library of prebuilt valdiators
Alex Tavarez2026-01-24 14:46:51 -05:00
6af0d4b48c
fix, refactor: changed file buffer mode and changed conditional sequences for shorter algorithm
Alex Tavarez2026-01-24 14:46:08 -05:00
f37c2d5998
feature: added a new type amalgamating the return types of the 'open' BIF
Alex Tavarez2026-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 Tavarez2026-01-24 14:38:31 -05:00
e3683fe955
feature: created file for future GPG/OpenPGP related classes
Alex Tavarez2026-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 Tavarez2026-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 Tavarez2026-01-22 17:10:15 -05:00
8e6346ee21
fix: made code DRYer, changed RegEx match test to succeed when appropriate
Alex Tavarez2026-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 Tavarez2026-01-22 14:19:01 -05:00
d46f3a1f83
feature: created a class representing the Ansible control node as context manager
Alex Tavarez2026-01-22 14:16:55 -05:00
ad8ea5d8b8
feature: added a class 'Parser' that abstracts from data loaders and dumpers
Alex Tavarez2026-01-22 14:12:37 -05:00
0137fcdad9
feature: made new static path variables and dictionaries containing paths
Alex Tavarez2026-01-22 14:11:03 -05:00
2df09c8087
feature: added more root paths and a dictionary of root paths for specific purposes
Alex Tavarez2026-01-21 09:20:25 -05:00
73472cb073
feature: added more Enum classes useful for type checking and renamed others
Alex Tavarez2026-01-21 09:19:46 -05:00
57cf9d197d
removed configuration manager module as may not be necessary
Alex Tavarez2026-01-21 09:18:43 -05:00
808434275b
removed node classes as currently may not be necessary
Alex Tavarez2026-01-21 09:18:14 -05:00
aea6638243
refactor: renamed module with utilities for management of software for given users and groups
Alex Tavarez2026-01-21 09:17:37 -05:00
4eab3bd787
refactor: renamed module with utilities for management of SSH keys
Alex Tavarez2026-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 Tavarez2026-01-20 12:46:33 -05:00
04127d9d5f
fix: changed referenced in commented-out code
Alex Tavarez2026-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 Tavarez2026-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 Tavarez2026-01-14 19:36:27 -05:00
83af21eec8
fix: made sure to get basename rather than file stem
Alex Tavarez2026-01-14 18:25:47 -05:00
88aab2b418
feature: allowed slicing for item retrieval from 'SSHKeyCollection' instances
Alex Tavarez2026-01-14 18:25:01 -05:00
43885ec135
feature: implemented some numeric and sequence methods for 'SSHKey' class and added a function
Alex Tavarez2026-01-08 09:45:23 -05:00
a4a8260d1c
fix: added missing import of Callable type hint
Alex Tavarez2026-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 Tavarez2026-01-07 23:16:06 -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 Tavarez2026-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 Tavarez2026-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 Tavarez2026-01-06 21:59:05 -05:00
d75ad74d6b
refactor: joined related conditionals together
Alex Tavarez2026-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 Tavarez2026-01-06 19:27:59 -05:00
2f37eed0db
fix: changed the algorithm/approach of the SSH key path removal method for 'RemoteNode'
Alex Tavarez2026-01-05 10:26:17 -05:00
f68a438de3
feature: created another set of cases for non-YAML parsing, tho not yet implemented
Alex Tavarez2026-01-05 09:10:35 -05:00
8193cb6de6
feature: created cases for non-YAML parsing, tho not yet implemented
Alex Tavarez2026-01-05 09:09:02 -05:00