Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions actions/activation_keys.add_subscriptions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ parameters:
"description: Array of subscriptions to add
parameters:
id:
description: Subscription Pool uuid
required: false
type: string
description: Subscription Pool uuid
quantity:
description: Quantity of this subscriptions to add
required: false
type: number
description: Quantity of this subscriptions to add
"
27 changes: 6 additions & 21 deletions actions/activation_keys.content_override.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,41 +31,26 @@ parameters:
type: number
required: true
description: "ID of the activation key"
content_override:
type: object
required: false
description: >
"description: Content override parameters
parameters:
content_label:
required: true
type: string
description: Label of the content
value:
required: true
type: string
description: Override to a boolean value or 'default'
"
content_overrides:
type: array
required: false
description: >
"description: Array of Content override parameters
"description: Array of Content override parameters to be added in bulk
parameters:
content_label:
description: Label of the content
required: true
type: string
description: Label of the content
name:
value:
description: Override value. Provide a boolean value if name is 'enabled'
required: false
type: string
name:
description: Override parameter key or name. Note if name is not provided the defaultname will be 'enabled'
value:
required: false
type: string
description: Override value. Provide a boolean value if name is 'enabled'
remove:
description: Set true to remove an override and reset it to 'default'
required: false
type: boolean
description: Set true to remove an override and reset it to 'default'
"
26 changes: 25 additions & 1 deletion actions/activation_keys.create.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,28 @@ parameters:
unlimited_hosts:
type: boolean
required: false
description: "can the activation key have unlimited hosts"
description: "can the activation key have unlimited hosts"
release_version:
type: string
required: false
description: "content release version"
service_level:
type: string
required: false
description: "service level"
auto_attach:
type: boolean
required: false
description: "auto attach subscriptions upon registration"
purpose_usage:
type: string
required: false
description: "Sets the system purpose usage"
purpose_role:
type: string
required: false
description: "Sets the system purpose usage"
purpose_addons:
type: array
required: false
description: "Sets the system add-ons"
2 changes: 1 addition & 1 deletion actions/activation_keys.remove_subscriptions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ parameters:
"description: Array of subscriptions to add
parameters:
id:
description: Subscription Pool uuid
required: false
type: string
description: Subscription Pool uuid
"
4 changes: 2 additions & 2 deletions actions/activation_keys.subscriptions_create.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ parameters:
"description: Array of subscriptions to add
parameters:
id:
description: Subscription Pool uuid
required: true
type: string
description: Subscription Pool uuid
quantity:
description: Quantity of this subscriptions to add
required: true
type: number
description: Quantity of this subscriptions to add
"
2 changes: 1 addition & 1 deletion actions/activation_keys.subscriptions_index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ parameters:
description: "How to order the sorted results (e.g. ASC for ascending)"
organization_id:
type: number
required: true
required: false
description: "Organization ID"
host_id:
type: string
Expand Down
14 changes: 13 additions & 1 deletion actions/activation_keys.update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,16 @@ parameters:
auto_attach:
type: boolean
required: false
description: "auto attach subscriptions upon registration"
description: "auto attach subscriptions upon registration"
purpose_usage:
type: string
required: false
description: "Sets the system purpose usage"
purpose_role:
type: string
required: false
description: "Sets the system purpose usage"
purpose_addons:
type: array
required: false
description: "Sets the system add-ons"
37 changes: 37 additions & 0 deletions actions/ansible_collections.compare.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
description: "List :resource (resource: GET /katello/api/ansible_collections/compare)"
enabled: true
runner_type: "python-script"
entry_point: lib/action.py
name: ansible_collections.compare
pack: foreman
parameters:
operation:
type: string
default: ansible_collections.compare
immutable: true
connection:
type: string
description: "Name of <connection> from this pack's configuration that specifies how to connect to a server."
required: false
server:
type: string
description: "Optional override of the server in <connection> (required if <connection> is not specified)."
required: false
username:
type: string
description: "Optional override of the username in <connection> (example: [email protected]) (required if <connection> is not specified)."
required: false
password:
type: string
description: "Optional override of the password in <connection>. (required if <connection> is not specified)"
required: false
secret: true
content_view_version_ids:
type: array
required: false
description: "content view versions to compare"
repository_id:
type: number
required: false
description: "Library repository id to restrict comparisons to"
85 changes: 85 additions & 0 deletions actions/ansible_collections.index.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
---
description: "List ansible_collections (resource: GET /katello/api/ansible_collections)"
enabled: true
runner_type: "python-script"
entry_point: lib/action.py
name: ansible_collections.index
pack: foreman
parameters:
operation:
type: string
default: ansible_collections.index
immutable: true
connection:
type: string
description: "Name of <connection> from this pack's configuration that specifies how to connect to a server."
required: false
server:
type: string
description: "Optional override of the server in <connection> (required if <connection> is not specified)."
required: false
username:
type: string
description: "Optional override of the username in <connection> (example: [email protected]) (required if <connection> is not specified)."
required: false
password:
type: string
description: "Optional override of the password in <connection>. (required if <connection> is not specified)"
required: false
secret: true
organization_id:
type: number
required: false
description: "organization identifier"
content_view_version_id:
type: number
required: false
description: "content view version identifier"
content_view_filter_id:
type: number
required: false
description: "content view filter identifier"
content_view_filter_rule_id:
type: number
required: false
description: "content view filter rule identifier"
repository_id:
type: number
required: false
description: "repository identifier"
environment_id:
type: number
required: false
description: "environment identifier"
ids:
type: array
required: false
description: "ids to filter content by"
search:
type: string
required: false
description: "Search string"
page:
type: number
required: false
description: "Page number, starting at 1"
per_page:
type: number
required: false
description: "Number of results per page to return"
order:
type: string
required: false
description: "Sort field and order, eg. 'id DESC'"
full_result:
type: boolean
required: false
description: "Whether or not to show all results"
sort_by:
type: string
required: false
description: "Field to sort the results on"
sort_order:
type: string
required: false
description: "How to order the sorted results (e.g. ASC for ascending)"
37 changes: 37 additions & 0 deletions actions/ansible_collections.show.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
description: "Show an ansible collection (resource: GET /katello/api/ansible_collections/:id)"
enabled: true
runner_type: "python-script"
entry_point: lib/action.py
name: ansible_collections.show
pack: foreman
parameters:
operation:
type: string
default: ansible_collections.show
immutable: true
connection:
type: string
description: "Name of <connection> from this pack's configuration that specifies how to connect to a server."
required: false
server:
type: string
description: "Optional override of the server in <connection> (required if <connection> is not specified)."
required: false
username:
type: string
description: "Optional override of the username in <connection> (example: [email protected]) (required if <connection> is not specified)."
required: false
password:
type: string
description: "Optional override of the password in <connection>. (required if <connection> is not specified)"
required: false
secret: true
repository_id:
type: number
required: false
description: "repository identifier"
id:
type: string
required: true
description: "an ansible collection identifier"
45 changes: 45 additions & 0 deletions actions/ansible_inventories.hosts.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
---
description: "Show Ansible inventory for hosts (resource: POST /api/ansible_inventories/hosts)"
enabled: true
runner_type: "python-script"
entry_point: lib/action.py
name: ansible_inventories.hosts
pack: foreman
parameters:
operation:
type: string
default: ansible_inventories.hosts
immutable: true
connection:
type: string
description: "Name of <connection> from this pack's configuration that specifies how to connect to a server."
required: false
server:
type: string
description: "Optional override of the server in <connection> (required if <connection> is not specified)."
required: false
username:
type: string
description: "Optional override of the username in <connection> (example: [email protected]) (required if <connection> is not specified)."
required: false
password:
type: string
description: "Optional override of the password in <connection>. (required if <connection> is not specified)"
required: false
secret: true
location_id:
type: number
required: false
description: "Set the current location context for the request"
organization_id:
type: number
required: false
description: "Set the current organization context for the request"
host_ids:
type: array
required: true
description: "IDs of hosts included in inventory"
hostgroup_ids:
type: array
required: true
description: "IDs of hostgroups included in inventory"
Loading