0419c90c9b
Add some helper functions to interact with pass
2025-01-26 18:36:38 +00:00
96ee23d777
Delete basic example
...
(it was for the non-interceptor implementation)
2025-01-26 16:07:31 +00:00
adff143a99
Merge branch 'wip/interceptors'
2025-01-26 14:57:24 +00:00
9faaeab2b0
Merge branch wip/interceptors into main
2025-01-26 14:49:07 +00:00
9b2afb81cc
Host specifier for debian/ubuntu
2025-01-26 14:39:25 +00:00
1784234385
Implement apt interceptors
2025-01-26 14:30:04 +00:00
dd885ce559
Tidy up the AWS CLI interceptor example.
2025-01-26 14:02:19 +00:00
7cf4e5a4df
Implement install-aws-cli as an interceptor chain
2025-01-25 18:05:52 +00:00
d79dbadded
Update modules to work with interceptors
2025-01-25 15:46:12 +00:00
0f6744ad30
Improvements to interceptors
2025-01-25 14:41:37 +00:00
06c2679c64
Helper script for invoking CLI
2025-01-23 18:29:56 +00:00
7401263664
Expand file names before loading
2025-01-23 18:29:47 +00:00
8a1e1b244f
Some simplifications
2025-01-23 18:19:54 +00:00
e22e618142
Remove interceptors from the main branch
2025-01-23 17:12:56 +00:00
63b9ad6753
Bugfix interceptor and add example
2025-01-23 17:08:06 +00:00
f49be4af29
Bugfixes and interceptor chain example.
2025-01-22 22:00:13 +00:00
de18c1d771
Make actions take conn argument
...
...rather than using (current-connection).
Rework apt module with a helper macro.
2025-01-22 09:49:59 +00:00
c126639016
Import just what we need, rename fs functions
2025-01-21 21:06:23 +00:00
47b63da25e
Rework actions for new context implementation
2025-01-21 20:57:17 +00:00
1843544e49
Add a macro to make task definitions more succinct
2025-01-21 20:56:49 +00:00
7f5ec3ac29
Use context instead of global vars
2025-01-20 10:42:15 +00:00
1535baa68b
Factor out CLI into its own module
2025-01-19 19:56:02 +00:00
54b6fd0377
Refactor, implement inventory, add examples
2025-01-19 19:21:35 +00:00
d16df7616f
Factor out connection types into different files
2025-01-19 12:18:20 +00:00
c9db388914
Start to rework sudo handling
2025-01-17 10:06:03 +00:00
7f507c8e6d
Add support for facts.
2025-01-13 20:15:41 +00:00
5376ce9f19
Switch back to records, not goops
2025-01-12 15:28:29 +00:00
70543ef7c5
Checkpoint some refactoring
2025-01-12 12:38:47 +00:00
b0070af1fd
Fix typo in log message
2025-01-12 11:05:26 +00:00
3565109071
Add trigger support
2025-01-11 21:21:48 +00:00
04a75984cb
Refactor to use a core namespace with global vars
2025-01-11 21:00:24 +00:00
a65415f846
Experiment with interceptor chains
2025-01-11 15:22:45 +00:00
31bd78abb1
Reformat to avoid long lines
2025-01-10 17:41:11 +00:00
dba8ca3153
Test (and bugfix) conditions
2025-01-10 17:31:11 +00:00
875ce167e9
Setup logging
2025-01-10 17:22:44 +00:00
b19eaf1007
Add task conditions
2025-01-10 16:53:35 +00:00
09e4f6d806
Add apt actions
2025-01-10 16:53:26 +00:00
145d01b17e
Add action: prefix to demo playbook
2025-01-10 16:04:18 +00:00
2e03da3e01
Get rid of scratch-dir from context
...
Leave it to the actions to deal with their own temporary file clean-up.
2025-01-10 16:03:45 +00:00
0550ab5b60
Update filesystem actions
...
* Prefix all the exported actions with "action:"
* Add new actions for remove, link
* Make install-file and install-dir preserve the owner/group/mode of the
original unless there's an explicit override
* Remove use of context scratch-dir
2025-01-10 16:02:21 +00:00
715496b01c
Remove uname blurb from test play
2025-01-08 18:29:11 +00:00
93820dc307
Some refactoring, and implement stat
...
Add convenience functions run and must to the context module, and remove
the similar functions from connection.
In the connection module, rename %run to connection-run now that that
function has moved to context.
2025-01-08 18:27:46 +00:00
3153469a2c
Validate play vars
2025-01-08 09:56:12 +00:00
7f73a9b7de
Clean up validation of play arguments
2025-01-08 09:35:22 +00:00
5360e73d60
Add macro to simplify task context references
2025-01-08 09:13:19 +00:00
b4cdfc341a
Support for context vars without macros
2025-01-07 18:09:10 +00:00
af16ee29b6
Test vars and overrides
2025-01-06 22:08:33 +00:00
12c45b628c
Update handlers to resolve context refs
2025-01-06 21:44:20 +00:00
b463a828be
Fix task action handling
...
Refactor actions to remove context
2025-01-06 21:38:32 +00:00
Ray Miller
f2f88ce0dc
Try to make context vars nestable in task action args
2025-01-06 20:49:42 +00:00