Marc Hassan
de4a971cb3
cli: set non-zero return code for canceled status ( #15678 )
2025-02-25 11:11:47 -05:00
Alan Rominger
d26396ce74
Fix error with CLI monitor of ad hoc output ( #15642 )
2024-11-18 13:52:20 -05:00
Julen Landa Alustiza
8c9c02c975
awxkit: allow to modify api base url ( #14835 )
...
Signed-off-by: Julen Landa Alustiza <jlanda@redhat.com >
2024-02-07 12:26:42 +01:00
Avi Layani
df24cb692b
Adding hosts bulk deletion feature ( #14462 )
...
* Adding hosts bulk deletion feature
Signed-off-by: Avi Layani <alayani@redhat.com >
* fix the type of the argument
Signed-off-by: Avi Layani <alayani@redhat.com >
* fixing activity_entry tracking
Signed-off-by: Avi Layani <alayani@redhat.com >
* Revert "fixing activity_entry tracking"
This reverts commit c8eab52c2ccc5abe215d56d1704ba1157e5fbbd0.
Since the bulk_delete is not related to an inventory, only hosts which
can be from different inventories.
* get only needed vars to reduce memory consumption
Signed-off-by: Avi Layani <alayani@redhat.com >
* filtering the data to reduce memory increase the number of queries
Signed-off-by: Avi Layani <alayani@redhat.com >
* update the activity stream for inventories
Signed-off-by: Avi Layani <alayani@redhat.com >
* fix the changes dict initialiazation
Signed-off-by: Avi Layani <alayani@redhat.com >
---------
Signed-off-by: Avi Layani <alayani@redhat.com >
2023-12-13 10:28:31 -06:00
Gabriel Muniz
721a2002dc
Add --interval to launch monitor command ( #14068 )
...
Co-authored-by: Jessica Steurer <70719005+jay-steurer@users.noreply.github.com >
2023-06-22 11:07:26 -03:00
Lorenzo Tanganelli
479d0c2b12
add instance_groups on cli and awx.awx.role ( #13784 )
2023-04-04 10:09:48 -04:00
Seth Foster
34834252ff
awxkit cli support
...
fixes for awx cli
2023-03-08 12:58:12 -05:00
Alan Rominger
f5785976be
Update to comply with new black rules
2023-02-01 14:59:38 -05:00
John Westcott IV
75597cf29c
Altering --timeout from awxkit to --action-timeout to remove conflict with new launch timeout
2022-09-22 16:08:21 -04:00
Alan Rominger
38352063e8
Remove custom inventory script API
2021-04-22 08:36:46 -04:00
Ryan Petrello
c2ef0a6500
move code linting to a stricter pep8-esque auto-formatting tool, black
2021-03-23 09:39:58 -04:00
Ryan Petrello
c373d5307f
allow the CLI to associate Galaxy credentials to Organizations
...
$ awx organizations associate Default --galaxy_credential "Ansible Galaxy"
2020-10-21 09:39:33 -04:00
Francois Herbert
d0384799fd
Add ability to monitor jobs and workflow_jobs via awx cli, fixes #6165
...
Signed-off-by: Francois Herbert <francois@herbert.org.nz >
Fixup linting
Remove timeout option, not really required and it's making the api test fail
2020-04-27 15:09:16 -04:00
Ryan Petrello
06b3e54fb1
remove python2 support from awxkit
2020-03-19 09:02:39 -04:00
Ryan Petrello
946d643795
cli: make launch with --monitor return code respect the final job status
...
see: https://github.com/ansible/awx/issues/5920
see: https://github.com/ansible/awx/issues/6079
2020-02-26 12:27:06 -05:00
Ryan Petrello
1800b49822
fix a py2/py3 compat bug in the settings CLI
2020-02-03 11:37:39 -05:00
Hideki Saito
437d9843d1
Fix to handle Str and JSON mix-in data correctly with settings API
...
- Fixed issue #5528
Signed-off-by: Hideki Saito <saito@fgrep.org >
2020-01-28 11:51:35 -05:00
Ryan Petrello
c882cda586
properly parse CLI arguments for launch endpoints
...
see: https://github.com/ansible/awx/issues/5093
2019-10-30 13:49:37 -04:00
beeankha
aa4f5ccca9
Add blank line (flake8)
2019-10-16 09:50:00 -04:00
beeankha
fdddba18be
Update code to be compatible with py2
2019-10-16 09:50:00 -04:00
beeankha
ad89c5eea7
Enable approval notification support for CLI
2019-10-16 09:50:00 -04:00
Ryan Petrello
6762702868
cli: add support for granting and revoking roles from users/teams
2019-09-09 15:27:16 -04:00
Ryan Petrello
1e5bcca0b9
cli: add support for attach/detaching creds/notifications via name
2019-09-03 21:51:39 -04:00
softwarefactory-project-zuul[bot]
ba8b876dd3
Merge pull request #4640 from ryanpetrello/cli-lookup-by-name
...
cli: add ability to specify a name instead of primary key
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2019-09-03 22:09:10 +00:00
Ryan Petrello
4ec5e82023
cli: add ability to specify a name instead of primary key
2019-09-03 17:27:10 -04:00
Ryan Petrello
88dfcaa439
cli: implement support for credential and notification association
2019-08-29 13:11:02 -04:00
Ryan Petrello
80b4102aa9
support the new CLI in py2 *and* py3
2019-08-20 02:41:45 -04:00
Ryan Petrello
9616cc6f78
import awxkit
...
Co-authored-by: Christopher Wang <cwang@ansible.com >
Co-authored-by: Jake McDermott <jmcdermott@ansible.com >
Co-authored-by: Jim Ladd <jladd@redhat.com >
Co-authored-by: Elijah DeLee <kdelee@redhat.com >
Co-authored-by: Alan Rominger <arominge@redhat.com >
Co-authored-by: Yanis Guenane <yanis@guenane.org >
2019-08-08 22:12:31 -04:00