Skip to content
Open
Show file tree
Hide file tree
Changes from 11 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
ba1b46a
add basic setup for the ansible module
AmitPhulera Jun 1, 2026
a432ff3
get region and init ec2 client
AmitPhulera Jun 1, 2026
1cc0e41
have a lightweight context class to bundle ansible and boto clients, …
AmitPhulera Jun 1, 2026
2be5cf9
add basic structure for all the commands that module will support
AmitPhulera Jun 2, 2026
8c3e9b1
allow test ansible module to capture warnings as well
AmitPhulera Jun 2, 2026
6e7ea8f
add basic tests for module's basic calling checks
AmitPhulera Jun 2, 2026
29991c2
have an Instance class to represent the instance state
AmitPhulera Jun 2, 2026
1002e41
add FakeEC2Instance class to be used in the tests
AmitPhulera Jun 2, 2026
d2f78e7
describe instances
AmitPhulera Jun 2, 2026
5b26467
start instances
AmitPhulera Jun 2, 2026
ea6ed5f
implement stop
AmitPhulera Jun 2, 2026
036229a
implement stop_and_start
AmitPhulera Jun 2, 2026
974a90e
lint
AmitPhulera Jun 3, 2026
813a7d5
don't update library path to call ansible module, it is being taken c…
AmitPhulera Jun 5, 2026
6d3d240
remove redundant list casting
AmitPhulera Jun 5, 2026
69749cb
fail with module.fail_json if client is not available
AmitPhulera Jun 5, 2026
88b69ed
rename property name to be same as variable name
AmitPhulera Jun 5, 2026
10e8703
remove docstrings that are less helpful
AmitPhulera Jun 5, 2026
46189a2
nits from review
AmitPhulera Jun 5, 2026
f65f251
fix tests
AmitPhulera Jun 5, 2026
02e4d10
refactor: from review
AmitPhulera Jun 5, 2026
9e12be6
use f strings everywhere in tests
AmitPhulera Jun 5, 2026
616ad06
move module functions to InstanceManager to remove _Ctx class
AmitPhulera Jun 5, 2026
111910c
fix failing test - this failed because the start_and_stop was relying…
AmitPhulera Jun 5, 2026
64231cc
Merge remote-tracking branch 'origin/master' into ap/restart-ans-mod
AmitPhulera Jun 8, 2026
cf25fe2
remove return statements that were added to safeguard that tests retu…
AmitPhulera Jun 8, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading