groups#
usage: awx groups [-h] action ...
positional arguments:
action
list
create
get
modify
delete
optional arguments:
-h, --help show this help message and exit
awx groups: the following arguments are required: action
groups list#
usage: awx groups list [-h] [--all] [--order_by ORDER_BY]
[-f {json,yaml,jq,human}] [--filter TEXT]
[--conf.color BOOLEAN] [-v] [--type {group}]
[--created CREATED] [--modified MODIFIED] [--name TEXT]
[--description TEXT] [--inventory ID]
[--variables JSON/YAML]
optional arguments:
-h, --help show this help message and exit
--all fetch all pages of content from the API when returning
results (instead of just the first page)
--order_by ORDER_BY order results by given field name, prefix the field
name with a dash (-) to sort in reverse eg
--order_by='-name',multiple sorting fields may be
specified by separating the field names with a comma
(,)
--type {group} only list groups with the specified type
--created CREATED only list groups with the specified created
--modified MODIFIED only list groups with the specified modified
--name TEXT only list groups with the specified name
--description TEXT only list groups with the specified description
--inventory ID only list groups with the specified inventory
--variables JSON/YAML
only list groups with the specified variables
input/output formatting:
-f {json,yaml,jq,human}, --conf.format {json,yaml,jq,human}
specify a format for the input and output
--filter TEXT specify an output filter (only valid with jq or human
format)
--conf.color BOOLEAN Display colorized output. Defaults to True
-v, --verbose print debug-level logs, including requests made
groups create#
usage: awx groups create [-h] --name TEXT [--description TEXT] --inventory ID
[--variables JSON/YAML]
required arguments:
--name TEXT Name of this group.
--inventory ID the ID of the associated inventory
optional arguments:
-h, --help show this help message and exit
--description TEXT Optional description of this group.
--variables JSON/YAML
Group variables in JSON or YAML format. You can
optionally specify a file path e.g., @path/to/file.yml
awx groups create: the following arguments are required: --name, --inventory
groups get#
usage: awx groups get [-h] [-f {json,yaml,jq,human}] [--filter TEXT]
[--conf.color BOOLEAN] [-v]
id
positional arguments:
id the ID (or unique name) of the resource
optional arguments:
-h, --help show this help message and exit
input/output formatting:
-f {json,yaml,jq,human}, --conf.format {json,yaml,jq,human}
specify a format for the input and output
--filter TEXT specify an output filter (only valid with jq or human
format)
--conf.color BOOLEAN Display colorized output. Defaults to True
-v, --verbose print debug-level logs, including requests made
awx groups get: the following arguments are required: id
groups modify#
usage: awx groups modify [-h] id
positional arguments:
id the ID (or unique name) of the resource
optional arguments:
-h, --help show this help message and exit
awx groups modify: the following arguments are required: id
groups delete#
usage: awx groups delete [-h] id
positional arguments:
id the ID (or unique name) of the resource
optional arguments:
-h, --help show this help message and exit
awx groups delete: the following arguments are required: id