jessicamack
44255f378d
Fix extra_vars bug in ansible.controller.ad_hoc_command ( #14585 )
...
* convert to valid type for serializer
* check that extra_vars are in request
* remove doubled line
* add integration test for change
* move change to the ad_hoc_command module
Signed-off-by: jessicamack <jmack@redhat.com >
* fix imports
Signed-off-by: jessicamack <jmack@redhat.com >
---------
Signed-off-by: jessicamack <jmack@redhat.com >
2023-10-25 10:38:45 -04:00
jessicamack
9d7421b9bc
Update README ( #14452 )
...
Signed-off-by: jessicamack <jmack@redhat.com >
2023-09-14 20:20:06 +00:00
jessicamack
66a3cb6b09
Merge pull request #13858 from jessicamack/13322-catch-sigterm
...
Catch SIGTERM or SIGINT and send offline message
2023-04-26 12:24:34 -04:00
jessicamack
d282393035
change exit code
...
Signed-off-by: jessicamack <jmack@redhat.com >
2023-04-26 11:37:59 -04:00
jessicamack
6ea3b20912
reverse previous commit to break into separate PR
...
Signed-off-by: jessicamack <jmack@redhat.com >
2023-04-26 11:37:59 -04:00
jessicamack
3025ef0dfa
move with block inside of while to free up persistent db connection
...
Signed-off-by: jessicamack <jmack@redhat.com >
2023-04-26 11:37:59 -04:00
jessicamack
397d58c459
removed TODO. moved signal catches to handle()
...
Signed-off-by: jessicamack <jmack@redhat.com >
2023-04-26 11:37:59 -04:00
jessicamack
d739a4a90a
updated black and ran again to fix lint formatting
...
Signed-off-by: jessicamack <jmack@redhat.com >
2023-04-26 11:37:59 -04:00
jessicamack
3fe64ad101
fix signal handler. black reformats
...
Signed-off-by: jessicamack <jmack@redhat.com >
2023-04-26 11:37:59 -04:00
jessicamack
919d1e5d40
catch SIGTERM or SIGINT and send offline message
...
Signed-off-by: jessicamack <jmack@redhat.com >
2023-04-26 11:37:59 -04:00
jessicamack
13b9a6c5e3
Remove unused import
...
Signed-off-by: jessicamack <jmack@redhat.com >
2023-03-29 22:09:19 -04:00
jessicamack
8c5e2237f4
import typing to fix lint issue
...
Signed-off-by: jessicamack <jmack@redhat.com >
2023-03-29 22:09:19 -04:00
jessicamack
57d009199d
removed unused imports. fix exception message
...
Signed-off-by: jessicamack <jmack@redhat.com >
2023-03-29 22:09:19 -04:00
jessicamack
24cbf39a93
fix heartbeet ascii lint issue
...
Signed-off-by: jessicamack <jmack@redhat.com >
2023-03-29 22:09:19 -04:00
jessicamack
95f1ef70a7
update licenses to include new requirement
...
Signed-off-by: jessicamack <jmack@redhat.com >
2023-03-29 22:09:19 -04:00
jessicamack
680e2bcc0a
remove out of date test code
...
Signed-off-by: jessicamack <jmack@redhat.com >
2023-03-29 22:09:19 -04:00
jessicamack
da004da68a
make reconfigure_rsyslog a task
...
Signed-off-by: jessicamack <jmack@redhat.com >
2023-03-29 22:09:18 -04:00
jessicamack
b29f2f88d0
updated tests to be in line with clear_setting_cache changes
...
Signed-off-by: jessicamack <jmack@redhat.com >
2023-03-29 22:09:18 -04:00
jessicamack
52a8a90c0e
remove changes used for dev testing
...
Signed-off-by: jessicamack <jmack@redhat.com >
2023-03-29 22:09:18 -04:00
Jessica Mack
78652bdd71
add functionality back to cache clear method
...
Signed-off-by: Jessica Mack <jmack@redhat.com >
2023-03-29 22:09:18 -04:00
Jessica Mack
29d222be83
removed rsyslog queue, updated logger level
...
Signed-off-by: Jessica Mack <jmack@redhat.com >
2023-03-29 22:09:18 -04:00
Jessica Mack
c4ce5d0afa
updated supervisor to include cache-clear
...
Signed-off-by: Jessica Mack <jmack@redhat.com >
2023-03-29 22:04:43 -04:00
Jessica Mack
43f4872fec
these methods don't need to be class methods
...
Signed-off-by: Jessica Mack <jmack@redhat.com >
2023-03-29 22:04:43 -04:00
Jessica Mack
cb31973d59
switched to using the built in task processing
...
Signed-off-by: Jessica Mack <jmack@redhat.com >
2023-03-29 22:04:43 -04:00
Jessica Mack
9f959ca3d4
removed unneeded launch file and Dockerfile change
...
Signed-off-by: Jessica Mack <jmack@redhat.com >
2023-03-29 22:04:43 -04:00
Jessica Mack
454d6d28e7
mock additional pg_notify use in test
...
Signed-off-by: Jessica Mack <jmack@redhat.com >
2023-03-29 22:04:43 -04:00
Jessica Mack
8b70fef743
removed unused import
...
Signed-off-by: Jessica Mack <jmack@redhat.com >
2023-03-29 22:04:43 -04:00
Jessica Mack
026b8f05d7
added launch file, docker, and supervisor changes
...
Signed-off-by: Jessica Mack <jmack@redhat.com >
2023-03-29 22:04:43 -04:00
Jessica Mack
d8e591cd69
added cache-clear service. update dispatcher queues
...
Signed-off-by: Jessica Mack <jmack@redhat.com >
2023-03-29 22:04:43 -04:00
jessicamack
b5e04a4cb3
AWX code changes for rsyslog decoupling ( #13222 )
...
* add management command and logging for new daemon
* switch tasks over to calling pg_notify
* add daemon to docker-compose and supervisor
* renamed handle_setting_changes and moved notify call
* removed initial rsyslog configure from dispatcher
* add logging and clear cache before reconfigure
* add notify to delete
* moved pg_notify to own function
* update tests impacted by rsyslog change
* changed over to new pg_notify method
Signed-off-by: Jessica Mack <jmack@redhat.com >
2023-03-29 22:04:43 -04:00
jessicamack
0933a96d60
Merge pull request #13176 from jessicamack/13019_add_node_type
...
Add node_type to instance info and capacity metrics
2022-11-15 12:43:53 -05:00
Jessica Mack
87dd8c118d
add node_type to instance info and capacity metrics
2022-11-09 07:32:58 -05:00