mirror of
https://github.com/ansible/awx.git
synced 2026-03-11 06:29:31 -02:30
[collection] Remove instance defaults from docs (#12964)
We don't specify defaults in the module (because it messes up Instance updates because AWX things we are trying to change things to be the default). - Update the docs to remove the defaults that no longer exist - Update tests to make them pass (oops) - Fix tangentially related typo in Kind development docs Signed-off-by: Rick Elrod <rick@elrod.me>
This commit is contained in:
@@ -37,12 +37,10 @@ options:
|
||||
- If true, the instance will be enabled and used.
|
||||
required: False
|
||||
type: bool
|
||||
default: True
|
||||
managed_by_policy:
|
||||
description:
|
||||
- Managed by policy
|
||||
required: False
|
||||
default: True
|
||||
type: bool
|
||||
node_type:
|
||||
description:
|
||||
@@ -51,7 +49,6 @@ options:
|
||||
- execution
|
||||
required: False
|
||||
type: str
|
||||
default: execution
|
||||
node_state:
|
||||
description:
|
||||
- Indicates the current life cycle stage of this instance.
|
||||
@@ -59,13 +56,11 @@ options:
|
||||
- deprovisioning
|
||||
- installed
|
||||
required: False
|
||||
default: installed
|
||||
type: str
|
||||
listener_port:
|
||||
description:
|
||||
- Port that Receptor will listen for incoming connections on.
|
||||
required: False
|
||||
default: 27199
|
||||
type: int
|
||||
extends_documentation_fragment: awx.awx.auth
|
||||
'''
|
||||
|
||||
@@ -14,6 +14,8 @@
|
||||
- name: Create an instance
|
||||
awx.awx.instance:
|
||||
hostname: "{{ item }}"
|
||||
node_type: execution
|
||||
node_state: installed
|
||||
with_items:
|
||||
- "{{ hostname1 }}"
|
||||
- "{{ hostname2 }}"
|
||||
@@ -26,6 +28,8 @@
|
||||
- name: Create an instance with non-default config
|
||||
awx.awx.instance:
|
||||
hostname: "{{ hostname3 }}"
|
||||
node_type: execution
|
||||
node_state: installed
|
||||
capacity_adjustment: 0.4
|
||||
listener_port: 31337
|
||||
register: result
|
||||
|
||||
Reference in New Issue
Block a user