Skip to content

Commit

Permalink
renaming some missed hub_vars (#968)
Browse files Browse the repository at this point in the history
* modified:   CONVERSION_GUIDE.md
	new file:   changelogs/fragments/hub_vars.yml
	modified:   galaxy.yml
	modified:   roles/dispatch/README.md
	modified:   roles/dispatch/defaults/main.yml
	modified:   roles/dispatch/meta/argument_specs.yml
	modified:   roles/dispatch/tests/configs/images.yml
	modified:   roles/dispatch/tests/configs/registries.yml
	modified:   roles/dispatch/tests/configs/repositories.yml
	modified:   roles/hub_collection/README.md
	modified:   roles/hub_collection/defaults/main.yml
	modified:   roles/hub_collection/meta/argument_specs.yml
	modified:   roles/hub_collection/tasks/main.yml
	modified:   roles/hub_collection_remote/README.md
	modified:   roles/hub_collection_remote/meta/argument_specs.yml
	modified:   roles/hub_collection_remote/tasks/main.yml
	modified:   roles/hub_collection_remote/tests/vars/repositories.yml
	modified:   roles/hub_collection_repository/README.md
	modified:   roles/hub_collection_repository/meta/argument_specs.yml
	modified:   roles/hub_collection_repository/tasks/main.yml
	modified:   roles/hub_collection_repository/tests/vars/repositories.yml
	modified:   roles/hub_collection_repository_sync/README.md
	modified:   roles/hub_collection_repository_sync/meta/argument_specs.yml
	modified:   roles/hub_collection_repository_sync/tasks/main.yml
	modified:   roles/hub_collection_repository_sync/tests/vars/repositories.yml
	modified:   roles/hub_ee_image/README.md
	modified:   roles/hub_ee_image/defaults/main.yml
	modified:   roles/hub_ee_image/meta/argument_specs.yml
	modified:   roles/hub_ee_image/tasks/main.yml
	modified:   roles/hub_ee_image/tests/vars/ee_images.yml
	modified:   roles/hub_ee_registry/README.md
	modified:   roles/hub_ee_registry/defaults/main.yml
	modified:   roles/hub_ee_registry/meta/argument_specs.yml
	modified:   roles/hub_ee_registry/tasks/main.yml
	modified:   roles/hub_ee_registry/tests/vars/ee_registries.yml
	modified:   roles/hub_ee_registry_index/README.md
	modified:   roles/hub_ee_registry_index/defaults/main.yml
	modified:   roles/hub_ee_registry_index/meta/argument_specs.yml
	modified:   roles/hub_ee_registry_index/tasks/main.yml
	modified:   roles/hub_ee_registry_index/tests/vars/ee_registries.yml
	modified:   roles/hub_ee_registry_sync/README.md
	modified:   roles/hub_ee_registry_sync/defaults/main.yml
	modified:   roles/hub_ee_registry_sync/meta/argument_specs.yml
	modified:   roles/hub_ee_registry_sync/tasks/main.yml
	modified:   roles/hub_ee_registry_sync/tests/vars/ee_registries.yml
	modified:   roles/hub_ee_repository/README.md
	modified:   roles/hub_ee_repository/defaults/main.yml
	modified:   roles/hub_ee_repository/meta/argument_specs.yml
	modified:   roles/hub_ee_repository/tasks/main.yml
	modified:   roles/hub_ee_repository/tests/vars/ee_repositories.yml
	modified:   roles/hub_ee_repository_sync/README.md
	modified:   roles/hub_ee_repository_sync/defaults/main.yml
	modified:   roles/hub_ee_repository_sync/meta/argument_specs.yml
	modified:   roles/hub_ee_repository_sync/tasks/main.yml
	modified:   roles/hub_ee_repository_sync/tests/vars/ee_repositories.yml
	modified:   roles/hub_group_roles/README.md
	modified:   roles/hub_group_roles/defaults/main.yml
	modified:   roles/hub_group_roles/meta/argument_specs.yml
	modified:   roles/hub_group_roles/tasks/main.yml
	modified:   roles/hub_group_roles/tests/vars/group_roles.yml
	modified:   roles/hub_namespace/README.md
	modified:   roles/hub_namespace/defaults/main.yml
	modified:   roles/hub_namespace/meta/argument_specs.yml
	modified:   roles/hub_namespace/tasks/main.yml
	modified:   roles/hub_namespace/tests/vars/namespaces.yml
	modified:   roles/hub_publish/README.md
	modified:   roles/hub_publish/defaults/main.yml
	modified:   roles/hub_publish/meta/argument_specs.yml
	modified:   roles/hub_publish/tasks/main.yml
	modified:   roles/hub_publish/tests/vars/collections.yml
	modified:   roles/hub_role/README.md
	modified:   roles/hub_role/defaults/main.yml
	modified:   roles/hub_role/meta/argument_specs.yml
	modified:   roles/hub_role/tasks/main.yml
	modified:   roles/hub_role/tests/vars/roles.yml
	modified:   tests/configs/hub/ah_collections.yml
	modified:   tests/configs/hub/ah_ee_images.yml
	modified:   tests/configs/hub/ah_ee_repositories.yml
	modified:   tests/configs/hub/ah_group_roles.yml
	modified:   tests/configs/hub/ah_namespaces.yml
	modified:   tests/configs/hub/ah_repository.yml
	modified:   tests/configs/hub/ah_roles.yml

* modified:   roles/dispatch/README.md
	modified:   roles/dispatch/defaults/main.yml
	modified:   roles/dispatch/meta/argument_specs.yml
	modified:   roles/hub_ee_repository_sync/tasks/main.yml

* modified:   roles/dispatch/README.md
	modified:   roles/dispatch/defaults/main.yml
	modified:   roles/dispatch/meta/argument_specs.yml

* modified:   roles/hub_ee_repository_sync/tasks/main.yml

* modified:   CONVERSION_GUIDE.md
	modified:   roles/hub_collection/README.md
	modified:   roles/hub_collection/defaults/main.yml
	modified:   roles/hub_collection/meta/argument_specs.yml
	modified:   roles/hub_collection/tasks/main.yml
	modified:   roles/hub_collection_remote/README.md
	modified:   roles/hub_collection_remote/defaults/main.yml
	modified:   roles/hub_collection_remote/meta/argument_specs.yml
	modified:   roles/hub_collection_remote/tasks/main.yml
	modified:   roles/hub_collection_repository/README.md
	modified:   roles/hub_collection_repository/defaults/main.yml
	modified:   roles/hub_collection_repository/meta/argument_specs.yml
	modified:   roles/hub_collection_repository/tasks/main.yml
	modified:   roles/hub_collection_repository_sync/README.md
	modified:   roles/hub_collection_repository_sync/defaults/main.yml
	modified:   roles/hub_collection_repository_sync/meta/argument_specs.yml
	modified:   roles/hub_collection_repository_sync/tasks/main.yml
	modified:   roles/hub_ee_image/README.md
	modified:   roles/hub_ee_image/defaults/main.yml
	modified:   roles/hub_ee_image/meta/argument_specs.yml
	modified:   roles/hub_ee_image/tasks/main.yml
	modified:   roles/hub_ee_registry/README.md
	modified:   roles/hub_ee_registry/defaults/main.yml
	modified:   roles/hub_ee_registry/meta/argument_specs.yml
	modified:   roles/hub_ee_registry/tasks/main.yml
	modified:   roles/hub_ee_registry_index/README.md
	modified:   roles/hub_ee_registry_index/defaults/main.yml
	modified:   roles/hub_ee_registry_index/meta/argument_specs.yml
	modified:   roles/hub_ee_registry_index/tasks/main.yml
	modified:   roles/hub_ee_registry_sync/README.md
	modified:   roles/hub_ee_registry_sync/defaults/main.yml
	modified:   roles/hub_ee_registry_sync/meta/argument_specs.yml
	modified:   roles/hub_ee_registry_sync/tasks/main.yml
	modified:   roles/hub_ee_repository/README.md
	modified:   roles/hub_ee_repository/defaults/main.yml
	modified:   roles/hub_ee_repository/meta/argument_specs.yml
	modified:   roles/hub_ee_repository/tasks/main.yml
	modified:   roles/hub_ee_repository_sync/README.md
	modified:   roles/hub_ee_repository_sync/defaults/main.yml
	modified:   roles/hub_ee_repository_sync/meta/argument_specs.yml
	modified:   roles/hub_ee_repository_sync/tasks/main.yml
	modified:   roles/hub_group/README.md
	modified:   roles/hub_group/defaults/main.yml
	modified:   roles/hub_group/meta/argument_specs.yml
	modified:   roles/hub_group/tasks/main.yml
	modified:   roles/hub_group_roles/README.md
	modified:   roles/hub_group_roles/defaults/main.yml
	modified:   roles/hub_group_roles/meta/argument_specs.yml
	modified:   roles/hub_group_roles/tasks/main.yml
	modified:   roles/hub_namespace/README.md
	modified:   roles/hub_namespace/defaults/main.yml
	modified:   roles/hub_namespace/meta/argument_specs.yml
	modified:   roles/hub_namespace/tasks/main.yml
	modified:   roles/hub_publish/README.md
	modified:   roles/hub_publish/defaults/main.yml
	modified:   roles/hub_publish/meta/argument_specs.yml
	modified:   roles/hub_publish/tasks/main.yml
	modified:   roles/hub_role/README.md
	modified:   roles/hub_role/defaults/main.yml
	modified:   roles/hub_role/meta/argument_specs.yml
	modified:   roles/hub_role/tasks/main.yml
	modified:   roles/hub_user/README.md
	modified:   roles/hub_user/defaults/main.yml
	modified:   roles/hub_user/meta/argument_specs.yml
	modified:   roles/hub_user/tasks/main.yml
	modified:   tests/configs/hub/ah_auth.yml
	modified:   tests/configs/hub/ah_collections.yml
	modified:   tests/configs/hub/ah_ee_repositories.yml
	modified:   tests/configs/hub/ah_repository.yml
  • Loading branch information
djdanielsson authored Nov 7, 2024
1 parent 69d60d9 commit 7254f2e
Show file tree
Hide file tree
Showing 94 changed files with 513 additions and 507 deletions.
20 changes: 11 additions & 9 deletions CONVERSION_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,15 @@ ah_configuration vars:

- aap_teams <- ah_groups
- aap_user_accounts <- ah_users
- ah_namespaces
- ah_collections
- ah_ee_registries
- ah_ee_repositories
- ah_ee_images
- ah_collection_remotes
- ah_collection_repositories
- hub_namespaces <- ah_namespaces
- hub_collections <- ah_collections
- hub_ee_registries <- ah_ee_registries
- hub_ee_repositories <- ah_ee_repositories
- hub_ee_images <- ah_ee_images
- hub_collection_remotes <- ah_collection_remotes
- hub_collection_repositories <- ah_collection_repositories
- hub_group_roles <- ah_group_roles
- hub_roles <- ah_roles

controller_configuration vars:

Expand Down Expand Up @@ -175,7 +177,7 @@ controller_configuration_projects_loop_delay
however
ah_configuration_collection_repository_async_delay
is now
ah_configuration_collection_repository_loop_delay
hub_configuration_collection_repository_loop_delay

These are the following global variables:

Expand Down Expand Up @@ -204,7 +206,7 @@ Format:
- `prefix`+`role_name`+`_loop_delay`
- `prefix`+`role_name`+`_async_dir`

use these to tweak how the role runs, this is particulary useful for projects syncing, long lists of job templates, and other tasks that can take a while to loop around. These all have defaults, and each global var is described above as to what it does.
use these to tweak how the role runs, this is particularly useful for projects syncing, long lists of job templates, and other tasks that can take a while to loop around. These all have defaults, and each global var is described above as to what it does.

## Dispatch changes

Expand Down
4 changes: 4 additions & 0 deletions changelogs/fragments/hub_vars.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
major_changes:
- renamed some more vars that got missed in the new naming convention.
...
2 changes: 1 addition & 1 deletion galaxy.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
namespace: infra
name: aap_configuration
version: 3.0.0
version: 3.1.0
description: A collection of roles to manage Ansible Controller
readme: README.md
authors:
Expand Down
28 changes: 14 additions & 14 deletions roles/dispatch/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ This is a meta role, its purpose is to run the other roles in the collection, it
```yaml
aap_configuration_dispatcher_roles: >
{{ gateway_configuration_dispatcher_roles
+ ah_configuration_dispatcher_roles
+ hub_configuration_dispatcher_roles
+ controller_configuration_dispatcher_roles
+ eda_configuration_dispatcher_roles
}}
Expand Down Expand Up @@ -70,42 +70,42 @@ gateway_configuration_dispatcher_roles:
#### Hub Roles
```yaml
ah_configuration_dispatcher_roles:
hub_configuration_dispatcher_roles:
- role: hub_namespace
var: ah_namespaces
var: hub_namespaces
tags: namespaces
- role: hub_collection
var: ah_collections
var: hub_collections
tags: collections
- role: hub_ee_registry
var: ah_ee_registries
var: hub_ee_registries
tags: registries
- role: hub_ee_repository
var: ah_ee_repositories
var: hub_ee_repositories
tags: repos
- role: hub_ee_repository_sync
var: ah_ee_repository_sync
var: hub_ee_repository_sync
tags: reposync
- role: hub_ee_image
var: ah_ee_images
var: hub_ee_images
tags: images
- role: hub_ee_registry
var: ah_ee_registries
var: hub_ee_registries
tags: registry
- role: hub_ee_registry_index
var: ah_ee_registries
var: hub_ee_registries
tags: ee_indices
- role: hub_ee_registry_sync
var: ah_ee_registries
var: hub_ee_registries
tags: regsync
- role: hub_collection_remote
var: ah_collection_remotes
var: hub_collection_remotes
tags: collectionremote
- role: hub_collection_repository
var: ah_collection_repositories
var: hub_collection_repositories
tags: collectionsrep
- role: hub_collection_repository_sync
var: ah_collection_repositories
var: hub_collection_repositories
tags: collectionsrepsync
```
Expand Down
28 changes: 14 additions & 14 deletions roles/dispatch/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,42 +43,42 @@ gateway_configuration_dispatcher_roles:
var: aap_user_accounts
tags: teams

ah_configuration_dispatcher_roles:
hub_configuration_dispatcher_roles:
- role: hub_namespace
var: ah_namespaces
var: hub_namespaces
tags: namespaces
- role: hub_collection
var: ah_collections
var: hub_collections
tags: collections
- role: hub_ee_registry
var: ah_ee_registries
var: hub_ee_registries
tags: registries
- role: hub_ee_repository
var: ah_ee_repositories
var: hub_ee_repositories
tags: repos
- role: hub_ee_repository_sync
var: ah_ee_repository_sync
var: hub_ee_repository_sync
tags: reposync
- role: hub_ee_image
var: ah_ee_images
var: hub_ee_images
tags: images
- role: hub_ee_registry
var: ah_ee_registries
var: hub_ee_registries
tags: registry
- role: hub_ee_registry_index
var: ah_ee_registries
var: hub_ee_registries
tags: ee_indices
- role: hub_ee_registry_sync
var: ah_ee_registries
var: hub_ee_registries
tags: regsync
- role: hub_collection_remote
var: ah_collection_remotes
var: hub_collection_remotes
tags: collectionremote
- role: hub_collection_repository
var: ah_collection_repositories
var: hub_collection_repositories
tags: collectionsrep
- role: hub_collection_repository_sync
var: ah_collection_repositories
var: hub_collection_repositories
tags: collectionsrepsync

controller_configuration_dispatcher_roles:
Expand Down Expand Up @@ -191,7 +191,7 @@ eda_configuration_dispatcher_roles:

aap_configuration_dispatcher_roles: >
{{ gateway_configuration_dispatcher_roles
+ ah_configuration_dispatcher_roles
+ hub_configuration_dispatcher_roles
+ controller_configuration_dispatcher_roles
+ eda_configuration_dispatcher_roles
}}
Expand Down
56 changes: 28 additions & 28 deletions roles/dispatch/meta/argument_specs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,49 +112,49 @@ argument_specs:
- role: controller_workflow_launch
var: controller_workflow_launch_jobs
tags: workflow_launch
ah_configuration_dispatcher_roles:
hub_configuration_dispatcher_roles:
default:
- role: pah_group
var: ah_groups
- role: hub_group
var: aap_teams
tags: groups
- role: pah_user
- role: hub_user
var: aap_user_accounts
tags: users
- role: pah_namespace
var: ah_namespaces
- role: hub_namespace
var: hub_namespaces
tags: namespaces
- role: pah_collection
var: ah_collections
- role: hub_collection
var: hub_collections
tags: collections
- role: pah_ee_registry
var: ah_ee_registries
- role: hub_ee_registry
var: hub_ee_registries
tags: registries
- role: pah_ee_repository
var: ah_ee_repositories
- role: hub_ee_repository
var: hub_ee_repositories
tags: repos
- role: pah_ee_repository_sync
var: ah_ee_repository_sync
- role: phub_ee_repository_sync
var: hub_ee_repository_sync
tags: reposync
- role: pah_ee_image
var: ah_ee_images
- role: hub_ee_image
var: hub_ee_images
tags: images
- role: pah_ee_registry_index
var: ah_ee_registries
- role: hub_ee_registry_index
var: hub_ee_registries
tags: indices
- role: pah_ee_registry_sync
var: ah_ee_registries
- role: hub_ee_registry_sync
var: hub_ee_registries
tags: regsync
- role: pah_collection_remote
var: ah_collection_remotes
- role: hub_collection_remote
var: hub_collection_remotes
tags: collectionremote
- role: pah_collection_repository
var: ah_collection_repositories
- role: hub_collection_repository
var: hub_collection_repositories
tags: collectionsrep
- role: pah_collection_repository_sync
var: ah_collection_repositories
- role: hub_collection_repository_sync
var: hub_collection_repositories
tags: collectionsrepsync
- role: pah_group_roles
var: ah_group_roles
- role: hub_group_roles
var: hub_group_roles
tags: group_roles
eda_configuration_dispatcher_roles:
default:
Expand Down
2 changes: 1 addition & 1 deletion roles/dispatch/tests/configs/images.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
ah_ee_images:
hub_ee_images:
- name: ansible-automation-platform-22-early-access/ee-supported-rhel8:2.0.0-15
state: present
append: false
Expand Down
2 changes: 1 addition & 1 deletion roles/dispatch/tests/configs/registries.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
ah_ee_registries:
hub_ee_registries:
- name: registry.redhat
url: registry.redhat.io
username: myuser
Expand Down
2 changes: 1 addition & 1 deletion roles/dispatch/tests/configs/repositories.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
ah_ee_repositories:
hub_ee_repositories:
- name: abc123
description: string
readme: "# My EE repository"
Expand Down
18 changes: 9 additions & 9 deletions roles/hub_collection/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ An Ansible Role to update, or destroy Automation Hub Collections.
|`aap_request_timeout`|`10`|no|Specify the timeout Ansible should use in requests to the Galaxy or Automation Hub host.||
|`ah_path_prefix`|""|no|API path used to access the api. Either galaxy, automation-hub, or custom||
|`aap_configuration_async_dir`|`null`|no|Sets the directory to write the results file for async tasks. The default value is set to `null` which uses the Ansible Default of `/root/.ansible_async/`.||
|`ah_collections`|`see below`|yes|Data structure describing your collections, described below.||
|`hub_collections`|`see below`|yes|Data structure describing your collections, described below.||

These are the sub options for the vars `ah_collections` which are dictionaries with the options you want. See examples for details.
These are the sub options for the vars `hub_collections` which are dictionaries with the options you want. See examples for details.

|Variable Name|Default Value|Required|Description|Example|
|:---:|:---:|:---:|:---:|:---:|
Expand Down Expand Up @@ -45,24 +45,24 @@ This also speeds up the overall role.
|Variable Name|Default Value|Required|Description|
|:---:|:---:|:---:|:---:|
|`aap_configuration_async_timeout`|1000|no|This variable sets the async timeout for the role globally.|
|`ah_configuration_collection_async_timeout`|`aap_configuration_async_timeout`|no|This variable sets the async timeout for the role.|
|`hub_configuration_collection_async_timeout`|`aap_configuration_async_timeout`|no|This variable sets the async timeout for the role.|
|`aap_configuration_async_retries`|50|no|This variable sets the number of retries to attempt for the role globally.|
|`ah_configuration_collection_async_retries`|`aap_configuration_async_retries`|no|This variable sets the number of retries to attempt for the role.|
|`hub_configuration_collection_async_retries`|`aap_configuration_async_retries`|no|This variable sets the number of retries to attempt for the role.|
|`aap_configuration_loop_delay`|1000|no|This variable sets the loop_delay for the role globally.|
|`ah_configuration_collection_loop_delay`|`aap_configuration_loop_delay`|no|This variable sets the loop_delay for the role.|
|`hub_configuration_collection_loop_delay`|`aap_configuration_loop_delay`|no|This variable sets the loop_delay for the role.|
|`aap_configuration_async_delay`|1|no|This sets the delay between retries for the role globally.|
|`ah_configuration_collection_async_delay`|`aap_configuration_async_delay`|no|This sets the delay between retries for the role.|
|`hub_configuration_collection_async_delay`|`aap_configuration_async_delay`|no|This sets the delay between retries for the role.|

### Secure Logging Variables

The following Variables compliment each other.
If Both variables are not set, secure logging defaults to false.
The role defaults to False as normally the add repository task does not include sensitive information.
ah_configuration_repository_secure_logging defaults to the value of aap_configuration_secure_logging if it is not explicitly called. This allows for secure logging to be toggled for the entire suite of automation hub configuration roles with a single variable, or for the user to selectively use it.
hub_configuration_repository_secure_logging defaults to the value of aap_configuration_secure_logging if it is not explicitly called. This allows for secure logging to be toggled for the entire suite of automation hub configuration roles with a single variable, or for the user to selectively use it.

|Variable Name|Default Value|Required|Description|
|:---:|:---:|:---:|:---:|
|`ah_configuration_collection_secure_logging`|`False`|no|Whether or not to include the sensitive collection role tasks in the log. Set this value to `True` if you will be providing your sensitive values from elsewhere.|
|`hub_configuration_collection_secure_logging`|`False`|no|Whether or not to include the sensitive collection role tasks in the log. Set this value to `True` if you will be providing your sensitive values from elsewhere.|
|`aap_configuration_secure_logging`|`False`|no|This variable enables secure logging as well, but is shared across multiple roles, see above.|

## Data Structure
Expand All @@ -73,7 +73,7 @@ ah_configuration_repository_secure_logging defaults to the value of aap_configur

```yaml
---
ah_collections:
hub_collections:
- namespace: 'awx'
name: 'awx'
path: /var/tmp/collections/awx_awx-15.0.0.tar.gz
Expand Down
12 changes: 6 additions & 6 deletions roles/hub_collection/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# aap_validate_certs: false

# These are the default variables specific to the collection role
ah_collections: []
hub_collections: []
# possible fields:
# - namespace
# - name
Expand All @@ -18,10 +18,10 @@ ah_collections: []
# - overwrite_existing
# - state

ah_configuration_collection_secure_logging: "{{ aap_configuration_secure_logging | default(false) }}"
ah_configuration_collection_async_timeout: "{{ aap_configuration_async_timeout | default(1000) }}"
ah_configuration_collection_async_retries: "{{ aap_configuration_async_retries | default(50) }}"
ah_configuration_collection_async_delay: "{{ aap_configuration_async_delay | default(1) }}"
ah_configuration_collection_loop_delay: "{{ aap_configuration_loop_delay | default(0) }}"
hub_configuration_collection_secure_logging: "{{ aap_configuration_secure_logging | default(false) }}"
hub_configuration_collection_async_timeout: "{{ aap_configuration_async_timeout | default(1000) }}"
hub_configuration_collection_async_retries: "{{ aap_configuration_async_retries | default(50) }}"
hub_configuration_collection_async_delay: "{{ aap_configuration_async_delay | default(1) }}"
hub_configuration_collection_loop_delay: "{{ aap_configuration_loop_delay | default(0) }}"
aap_configuration_async_dir: null
...
8 changes: 4 additions & 4 deletions roles/hub_collection/meta/argument_specs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,23 @@ argument_specs:
main:
short_description: An Ansible Role to update, or destroy Automation Hub Collections.
options:
ah_collections:
hub_collections:
default: []
required: false
description: Data structure describing your collections to manage.
type: list
elements: dict

# Async variables
ah_configuration_collection_async_retries:
hub_configuration_collection_async_retries:
default: "{{ aap_configuration_async_retries | default(50) }}"
required: false
description: This variable sets the number of retries to attempt for the role.
aap_configuration_async_retries:
default: 50
required: false
description: This variable sets number of retries across all roles as a default.
ah_configuration_collection_async_delay:
hub_configuration_collection_async_delay:
default: "{{ aap_configuration_async_delay | default(1) }}"
required: false
description: This variable sets delay between retries for the role.
Expand All @@ -33,7 +33,7 @@ argument_specs:
description: Sets the directory to write the results file for async tasks. The default value is set to `null` which uses the Ansible Default of `/root/.ansible_async/`.

# No_log variables
ah_configuration_collection_secure_logging:
hub_configuration_collection_secure_logging:
default: "{{ aap_configuration_secure_logging | default(false) }}"
required: false
type: bool
Expand Down
Loading

0 comments on commit 7254f2e

Please sign in to comment.