Skip to content

Commit

Permalink
Linting (#947)
Browse files Browse the repository at this point in the history
* modified:   .ansible-lint
	modified:   .markdownlint.yml
	modified:   .pre-commit-config.yaml
	renamed:    .yamllint.yml -> .yamllint
	modified:   meta/runtime.yml
	modified:   playbooks/configure_aap.yml
	modified:   playbooks/get_stats.yml
	modified:   playbooks/rename_objects.yaml
	modified:   playbooks/set_organization.yaml
	modified:   roles/ansible_config/defaults/main.yml
	modified:   roles/ansible_config/meta/argument_specs.yml
	modified:   roles/ansible_config/meta/main.yml
	modified:   roles/ansible_config/tasks/main.yml
	modified:   roles/ansible_config/tests/test.yml
	modified:   roles/controller_ad_hoc_command/meta/argument_specs.yml
	modified:   roles/controller_ad_hoc_command/meta/main.yml
	modified:   roles/controller_ad_hoc_command/tasks/main.yml
	modified:   roles/controller_ad_hoc_command/tests/test.yml
	modified:   roles/controller_ad_hoc_command_cancel/meta/argument_specs.yml
	modified:   roles/controller_ad_hoc_command_cancel/meta/main.yml
	modified:   roles/controller_ad_hoc_command_cancel/tasks/main.yml
	modified:   roles/controller_ad_hoc_command_cancel/tests/test.yml
	modified:   roles/controller_applications/defaults/main.yml
	modified:   roles/controller_applications/meta/argument_specs.yml
	modified:   roles/controller_applications/meta/main.yml
	modified:   roles/controller_applications/tasks/main.yml
	modified:   roles/controller_applications/tests/test.yml
	modified:   roles/controller_bulk_host_create/defaults/main.yml
	modified:   roles/controller_bulk_host_create/meta/argument_specs.yml
	modified:   roles/controller_bulk_host_create/meta/main.yml
	modified:   roles/controller_bulk_host_create/tasks/main.yml
	modified:   roles/controller_bulk_job_launch/meta/argument_specs.yml
	modified:   roles/controller_bulk_job_launch/meta/main.yml
	modified:   roles/controller_bulk_job_launch/tasks/main.yml
	modified:   roles/controller_credential_input_sources/defaults/main.yml
	modified:   roles/controller_credential_input_sources/meta/argument_specs.yml
	modified:   roles/controller_credential_input_sources/meta/main.yml
	modified:   roles/controller_credential_input_sources/tasks/main.yml
	modified:   roles/controller_credential_input_sources/tests/test.yml
	modified:   roles/controller_credential_types/defaults/main.yml
	modified:   roles/controller_credential_types/meta/argument_specs.yml
	modified:   roles/controller_credential_types/meta/main.yml
	modified:   roles/controller_credential_types/tasks/main.yml
	modified:   roles/controller_credential_types/tests/test.yml
	modified:   roles/controller_credentials/defaults/main.yml
	modified:   roles/controller_credentials/meta/argument_specs.yml
	modified:   roles/controller_credentials/meta/main.yml
	modified:   roles/controller_credentials/tasks/main.yml
	modified:   roles/controller_credentials/tests/test.yml
	modified:   roles/controller_execution_environments/defaults/main.yml
	modified:   roles/controller_execution_environments/meta/argument_specs.yml
	modified:   roles/controller_execution_environments/meta/main.yml
	modified:   roles/controller_execution_environments/tasks/main.yml
	modified:   roles/controller_execution_environments/tests/test.yml
	modified:   roles/controller_host_groups/defaults/main.yml
	modified:   roles/controller_host_groups/meta/argument_specs.yml
	modified:   roles/controller_host_groups/meta/main.yml
	modified:   roles/controller_host_groups/tasks/main.yml
	modified:   roles/controller_host_groups/tests/test.yml
	modified:   roles/controller_hosts/defaults/main.yml
	modified:   roles/controller_hosts/meta/argument_specs.yml
	modified:   roles/controller_hosts/meta/main.yml
	modified:   roles/controller_hosts/tasks/main.yml
	modified:   roles/controller_hosts/tests/test.yml
	modified:   roles/controller_instance_groups/defaults/main.yml
	modified:   roles/controller_instance_groups/meta/argument_specs.yml
	modified:   roles/controller_instance_groups/meta/main.yml
	modified:   roles/controller_instance_groups/tasks/main.yml
	modified:   roles/controller_instance_groups/tests/test.yml
	modified:   roles/controller_instances/defaults/main.yml
	modified:   roles/controller_instances/meta/argument_specs.yml
	modified:   roles/controller_instances/meta/main.yml
	modified:   roles/controller_instances/tasks/main.yml
	modified:   roles/controller_instances/tests/test.yml
	modified:   roles/controller_inventories/defaults/main.yml
	modified:   roles/controller_inventories/meta/argument_specs.yml
	modified:   roles/controller_inventories/meta/main.yml
	modified:   roles/controller_inventories/tasks/main.yml
	modified:   roles/controller_inventories/tests/configs/inventories.yml
	modified:   roles/controller_inventories/tests/test.yml
	modified:   roles/controller_inventory_source_update/defaults/main.yml
	modified:   roles/controller_inventory_source_update/meta/argument_specs.yml
	modified:   roles/controller_inventory_source_update/meta/main.yml
	modified:   roles/controller_inventory_source_update/tasks/main.yml
	modified:   roles/controller_inventory_source_update/tests/test.yml
	modified:   roles/controller_inventory_sources/defaults/main.yml
	modified:   roles/controller_inventory_sources/meta/argument_specs.yml
	modified:   roles/controller_inventory_sources/meta/main.yml
	modified:   roles/controller_inventory_sources/tasks/main.yml
	modified:   roles/controller_inventory_sources/tests/test.yml
	modified:   roles/controller_job_launch/meta/argument_specs.yml
	modified:   roles/controller_job_launch/meta/main.yml
	modified:   roles/controller_job_launch/tasks/main.yml
	modified:   roles/controller_job_launch/tests/test.yml
	modified:   roles/controller_job_templates/defaults/main.yml
	modified:   roles/controller_job_templates/meta/argument_specs.yml
	modified:   roles/controller_job_templates/meta/main.yml
	modified:   roles/controller_job_templates/tasks/async.yml
	modified:   roles/controller_job_templates/tasks/main.yml
	modified:   roles/controller_job_templates/tests/test.yml
	modified:   roles/controller_jobs_cancel/meta/argument_specs.yml
	modified:   roles/controller_jobs_cancel/meta/main.yml
	modified:   roles/controller_jobs_cancel/tasks/main.yml
	modified:   roles/controller_jobs_cancel/tests/test.yml
	modified:   roles/controller_labels/defaults/main.yml
	modified:   roles/controller_labels/meta/argument_specs.yml
	modified:   roles/controller_labels/meta/main.yml
	modified:   roles/controller_labels/tasks/main.yml
	modified:   roles/controller_labels/tests/test.yml
	modified:   roles/controller_license/meta/argument_specs.yml
	modified:   roles/controller_license/meta/main.yml
	modified:   roles/controller_license/tasks/main.yml
	modified:   roles/controller_license/tasks/manifest.yml
	modified:   roles/controller_license/tasks/subscription.yml
	modified:   roles/controller_license/tests/config/license.yml
	modified:   roles/controller_license/tests/test.yml
	modified:   roles/controller_notification_templates/defaults/main.yml
	modified:   roles/controller_notification_templates/meta/argument_specs.yml
	modified:   roles/controller_notification_templates/meta/main.yml
	modified:   roles/controller_notification_templates/tasks/main.yml
	modified:   roles/controller_notification_templates/tests/configs/notifications.yml
	modified:   roles/controller_notification_templates/tests/test.yml
	modified:   roles/controller_organizations/defaults/main.yml
	modified:   roles/controller_organizations/meta/argument_specs.yml
	modified:   roles/controller_organizations/meta/main.yml
	modified:   roles/controller_organizations/tasks/main.yml
	modified:   roles/controller_organizations/tests/test.yml
	modified:   roles/controller_project_update/defaults/main.yml
	modified:   roles/controller_project_update/meta/argument_specs.yml
	modified:   roles/controller_project_update/meta/main.yml
	modified:   roles/controller_project_update/tasks/main.yml
	modified:   roles/controller_project_update/tests/test.yml
	modified:   roles/controller_projects/defaults/main.yml
	modified:   roles/controller_projects/meta/argument_specs.yml
	modified:   roles/controller_projects/meta/main.yml
	modified:   roles/controller_projects/tasks/main.yml
	modified:   roles/controller_projects/tests/test.yml
	modified:   roles/controller_roles/defaults/main.yml
	modified:   roles/controller_roles/meta/argument_specs.yml
	modified:   roles/controller_roles/meta/main.yml
	modified:   roles/controller_roles/tasks/main.yml
	modified:   roles/controller_roles/tests/test.yml
	modified:   roles/controller_schedules/defaults/main.yml
	modified:   roles/controller_schedules/meta/argument_specs.yml
	modified:   roles/controller_schedules/meta/main.yml
	modified:   roles/controller_schedules/tasks/main.yml
	modified:   roles/controller_schedules/tests/test.yml
	modified:   roles/controller_settings/defaults/main.yml
	modified:   roles/controller_settings/meta/argument_specs.yml
	modified:   roles/controller_settings/meta/main.yml
	modified:   roles/controller_settings/tasks/main.yml
	modified:   roles/controller_settings/tests/configs/settings.yml
	modified:   roles/controller_settings/tests/test.yml
	modified:   roles/controller_teams/defaults/main.yml
	modified:   roles/controller_teams/meta/argument_specs.yml
	modified:   roles/controller_teams/meta/main.yml
	modified:   roles/controller_teams/tasks/main.yml
	modified:   roles/controller_teams/tests/configs/teams.yml
	modified:   roles/controller_teams/tests/test.yml
	modified:   roles/controller_users/defaults/main.yml
	modified:   roles/controller_users/meta/argument_specs.yml
	modified:   roles/controller_users/meta/main.yml
	modified:   roles/controller_users/tasks/main.yml
	modified:   roles/controller_users/tests/test.yml
	modified:   roles/controller_workflow_job_templates/defaults/main.yml
	modified:   roles/controller_workflow_job_templates/meta/argument_specs.yml
	modified:   roles/controller_workflow_job_templates/meta/main.yml
	modified:   roles/controller_workflow_job_templates/tasks/add_workflows_schema.yml
	modified:   roles/controller_workflow_job_templates/tasks/main.yml
	modified:   roles/controller_workflow_job_templates/tests/configs/controller_workflows.yml
	modified:   roles/controller_workflow_job_templates/tests/test.yaml
	modified:   roles/controller_workflow_launch/meta/argument_specs.yml
	modified:   roles/controller_workflow_launch/meta/main.yml
	modified:   roles/controller_workflow_launch/tasks/main.yml
	modified:   roles/controller_workflow_launch/tests/test.yml
	modified:   roles/dispatch/meta/argument_specs.yml
	modified:   roles/dispatch/meta/main.yml
	modified:   roles/dispatch/tasks/main.yml
	modified:   roles/dispatch/tests/configs/credentials.yml
	modified:   roles/dispatch/tests/configs/inventories.yml
	modified:   roles/dispatch/tests/test.yml
	modified:   roles/eda_controller_tokens/defaults/main.yml
	modified:   roles/eda_controller_tokens/meta/argument_specs.yml
	modified:   roles/eda_controller_tokens/meta/main.yml
	modified:   roles/eda_controller_tokens/tasks/main.yml
	modified:   roles/eda_controller_tokens/tests/test.yml
	modified:   roles/eda_credential_types/defaults/main.yml
	modified:   roles/eda_credential_types/meta/argument_specs.yml
	modified:   roles/eda_credential_types/meta/main.yml
	modified:   roles/eda_credential_types/tasks/main.yml
	modified:   roles/eda_credential_types/tests/test.yml
	modified:   roles/eda_credentials/defaults/main.yml
	modified:   roles/eda_credentials/meta/argument_specs.yml
	modified:   roles/eda_credentials/meta/main.yml
	modified:   roles/eda_credentials/tasks/main.yml
	modified:   roles/eda_credentials/tests/test.yml
	modified:   roles/eda_credentials/tests/vars/credentials.yml
	modified:   roles/eda_decision_environments/defaults/main.yml
	modified:   roles/eda_decision_environments/meta/argument_specs.yml
	modified:   roles/eda_decision_environments/meta/main.yml
	modified:   roles/eda_decision_environments/tasks/main.yml
	modified:   roles/eda_decision_environments/tests/test.yml
	modified:   roles/eda_event_streams/defaults/main.yml
	modified:   roles/eda_event_streams/meta/argument_specs.yml
	modified:   roles/eda_event_streams/meta/main.yml
	modified:   roles/eda_event_streams/tasks/main.yml
	modified:   roles/eda_event_streams/tests/test.yml
	modified:   roles/eda_event_streams/tests/vars/event_streams.yml
	modified:   roles/eda_projects/defaults/main.yml
	modified:   roles/eda_projects/meta/argument_specs.yml
	modified:   roles/eda_projects/meta/main.yml
	modified:   roles/eda_projects/tasks/main.yml
	modified:   roles/eda_projects/tests/test.yml
	modified:   roles/eda_rulebook_activations/defaults/main.yml
	modified:   roles/eda_rulebook_activations/meta/argument_specs.yml
	modified:   roles/eda_rulebook_activations/meta/main.yml
	modified:   roles/eda_rulebook_activations/tasks/main.yml
	modified:   roles/eda_rulebook_activations/tests/test.yml
	modified:   roles/eda_users/defaults/main.yml
	modified:   roles/eda_users/meta/argument_specs.yml
	modified:   roles/eda_users/meta/main.yml
	modified:   roles/eda_users/tasks/main.yml
	modified:   roles/eda_users/tests/test.yml
	modified:   roles/gateway_applications/defaults/main.yml
	modified:   roles/gateway_applications/meta/argument_specs.yml
	modified:   roles/gateway_applications/tasks/main.yml
	modified:   roles/gateway_applications/tests/test.yml
	modified:   roles/gateway_authenticator_maps/defaults/main.yml
	modified:   roles/gateway_authenticator_maps/meta/argument_specs.yml
	modified:   roles/gateway_authenticator_maps/tasks/main.yml
	modified:   roles/gateway_authenticators/defaults/main.yml
	modified:   roles/gateway_authenticators/meta/argument_specs.yml
	modified:   roles/gateway_authenticators/tasks/main.yml
	modified:   roles/gateway_http_ports/defaults/main.yml
	modified:   roles/gateway_http_ports/meta/argument_specs.yml
	modified:   roles/gateway_http_ports/tasks/main.yml
	modified:   roles/gateway_organizations/defaults/main.yml
	modified:   roles/gateway_organizations/meta/argument_specs.yml
	modified:   roles/gateway_organizations/tasks/main.yml
	modified:   roles/gateway_role_user_assignments/defaults/main.yml
	modified:   roles/gateway_role_user_assignments/meta/argument_specs.yml
	modified:   roles/gateway_role_user_assignments/tasks/main.yml
	modified:   roles/gateway_routes/defaults/main.yml
	modified:   roles/gateway_routes/meta/argument_specs.yml
	modified:   roles/gateway_routes/tasks/main.yml
	modified:   roles/gateway_service_clusters/defaults/main.yml
	modified:   roles/gateway_service_clusters/meta/argument_specs.yml
	modified:   roles/gateway_service_clusters/tasks/main.yml
	modified:   roles/gateway_service_keys/defaults/main.yml
	modified:   roles/gateway_service_keys/meta/argument_specs.yml
	modified:   roles/gateway_service_keys/tasks/main.yml
	modified:   roles/gateway_service_nodes/defaults/main.yml
	modified:   roles/gateway_service_nodes/meta/argument_specs.yml
	modified:   roles/gateway_service_nodes/tasks/main.yml
	modified:   roles/gateway_services/defaults/main.yml
	modified:   roles/gateway_services/meta/argument_specs.yml
	modified:   roles/gateway_services/tasks/main.yml
	modified:   roles/gateway_settings/meta/argument_specs.yml
	modified:   roles/gateway_teams/defaults/main.yml
	modified:   roles/gateway_teams/meta/argument_specs.yml
	modified:   roles/gateway_teams/tasks/main.yml
	modified:   roles/gateway_users/defaults/main.yml
	modified:   roles/gateway_users/meta/argument_specs.yml
	modified:   roles/gateway_users/tasks/main.yml
	modified:   roles/global_vars/defaults/main.yml
	modified:   roles/global_vars/meta/main.yml
	modified:   roles/hub_collection/defaults/main.yml
	modified:   roles/hub_collection/meta/argument_specs.yml
	modified:   roles/hub_collection/meta/main.yml
	modified:   roles/hub_collection/tasks/main.yml
	modified:   roles/hub_collection/tests/test.yml
	modified:   roles/hub_collection_remote/defaults/main.yml
	modified:   roles/hub_collection_remote/meta/argument_specs.yml
	modified:   roles/hub_collection_remote/meta/main.yml
	modified:   roles/hub_collection_remote/tasks/main.yml
	modified:   roles/hub_collection_remote/tests/test.yml
	modified:   roles/hub_collection_repository/defaults/main.yml
	modified:   roles/hub_collection_repository/meta/argument_specs.yml
	modified:   roles/hub_collection_repository/meta/main.yml
	modified:   roles/hub_collection_repository/tasks/main.yml
	modified:   roles/hub_collection_repository/tests/test.yml
	modified:   roles/hub_collection_repository/tests/vars/repositories.yml
	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/meta/main.yml
	modified:   roles/hub_collection_repository_sync/tasks/main.yml
	modified:   roles/hub_collection_repository_sync/tests/test.yml
	modified:   roles/hub_collection_repository_sync/tests/vars/repositories.yml
	modified:   roles/hub_ee_image/defaults/main.yml
	modified:   roles/hub_ee_image/meta/argument_specs.yml
	modified:   roles/hub_ee_image/meta/main.yml
	modified:   roles/hub_ee_image/tasks/main.yml
	modified:   roles/hub_ee_image/tests/test.yml
	modified:   roles/hub_ee_registry/defaults/main.yml
	modified:   roles/hub_ee_registry/meta/argument_specs.yml
	modified:   roles/hub_ee_registry/meta/main.yml
	modified:   roles/hub_ee_registry/tasks/main.yml
	modified:   roles/hub_ee_registry/tests/test.yml
	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/meta/main.yml
	modified:   roles/hub_ee_registry_index/tasks/main.yml
	modified:   roles/hub_ee_registry_index/tests/test.yml
	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/meta/main.yml
	modified:   roles/hub_ee_registry_sync/tasks/main.yml
	modified:   roles/hub_ee_registry_sync/tests/test.yml
	modified:   roles/hub_ee_repository/defaults/main.yml
	modified:   roles/hub_ee_repository/meta/argument_specs.yml
	modified:   roles/hub_ee_repository/meta/main.yml
	modified:   roles/hub_ee_repository/tasks/main.yml
	modified:   roles/hub_ee_repository/tests/test.yml
	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/meta/main.yml
	modified:   roles/hub_ee_repository_sync/tasks/main.yml
	modified:   roles/hub_ee_repository_sync/tests/test.yml
	modified:   roles/hub_group/defaults/main.yml
	modified:   roles/hub_group/meta/argument_specs.yml
	modified:   roles/hub_group/meta/main.yml
	modified:   roles/hub_group/tasks/main.yml
	modified:   roles/hub_group/tests/test.yml
	modified:   roles/hub_group_roles/defaults/main.yml
	modified:   roles/hub_group_roles/meta/argument_specs.yml
	modified:   roles/hub_group_roles/meta/main.yml
	modified:   roles/hub_group_roles/tasks/main.yml
	modified:   roles/hub_group_roles/tests/test.yml
	modified:   roles/hub_namespace/defaults/main.yml
	modified:   roles/hub_namespace/meta/argument_specs.yml
	modified:   roles/hub_namespace/meta/main.yml
	modified:   roles/hub_namespace/tasks/main.yml
	modified:   roles/hub_namespace/tests/test.yml
	modified:   roles/hub_namespace/tests/vars/namespaces.yml
	modified:   roles/hub_publish/defaults/main.yml
	modified:   roles/hub_publish/meta/argument_specs.yml
	modified:   roles/hub_publish/meta/main.yml
	modified:   roles/hub_publish/tasks/main.yml
	modified:   roles/hub_publish/tests/test.yml
	modified:   roles/hub_role/defaults/main.yml
	modified:   roles/hub_role/meta/argument_specs.yml
	modified:   roles/hub_role/meta/main.yml
	modified:   roles/hub_role/tasks/main.yml
	modified:   roles/hub_role/tests/test.yml
	modified:   roles/hub_user/defaults/main.yml
	modified:   roles/hub_user/meta/argument_specs.yml
	modified:   roles/hub_user/meta/main.yml
	modified:   roles/hub_user/tasks/main.yml
	modified:   roles/hub_user/tests/test.yml
	modified:   roles/meta_dependency_check/meta/main.yml
	modified:   roles/meta_dependency_check/tasks/main.yml
	modified:   roles/meta_dependency_check/tests/test.yml
	modified:   tests/configs/controller/credential_input_sources.yml
	modified:   tests/configs/controller/credentials.yml
	modified:   tests/configs/controller/differential_items.yml
	modified:   tests/configs/controller/execution_environments.yml
	modified:   tests/configs/controller/inventories.yml
	modified:   tests/configs/controller/notifications.yml
	modified:   tests/configs/controller/roles.yml
	modified:   tests/configs/controller/schedule.yml
	modified:   tests/configs/controller/settings.yml
	modified:   tests/configs/controller/settings_individuale.yml
	modified:   tests/configs/controller/teams.yml
	modified:   tests/configs/controller/templates.yml
	modified:   tests/configs/gateway/authenticator_maps.yml
	modified:   tests/configs/gateway/service_cluster.yml
	modified:   tests/configs/gateway/services.yml
	modified:   tests/configs/hub/ah_ansible_config.yml
	modified:   tests/configs/hub/ah_auth.yml
	modified:   tests/configs/hub/ah_collections.yml
	modified:   tests/configs/hub/ah_namespaces.yml
	modified:   tests/configs/hub/ah_repository.yml
	modified:   tests/configs_export_model/credentials_export.yml
	modified:   tests/configs_export_model/differential_items.yml
	modified:   tests/configs_export_model/inventory_export.yml
	modified:   tests/configs_export_model/inventory_sources_export.yml
	modified:   tests/configs_export_model/job_templates_export.yml
	modified:   tests/configs_export_model/notifications_templates_export.yml
	modified:   tests/configs_export_model/organizations_export.yml
	modified:   tests/configs_export_model/projects_export.yml
	modified:   tests/configs_export_model/teams_export.yml
	modified:   tests/configs_export_model/workflows.yml
	modified:   tests/configure_controller.yml
	modified:   tests/configure_controller_export_model.yml
	modified:   tests/configure_platform.yml
	modified:   tests/tasks/ad_hoc_cancel.yml
	modified:   tests/tasks/differential.yml

* modified:   roles/controller_credential_input_sources/tasks/main.yml
	modified:   roles/controller_credential_types/tasks/main.yml
	modified:   roles/controller_credentials/tasks/main.yml
	modified:   roles/controller_execution_environments/tasks/main.yml
	modified:   roles/controller_host_groups/tasks/main.yml
	modified:   roles/controller_hosts/tasks/main.yml
	modified:   roles/controller_instance_groups/tasks/main.yml
	modified:   roles/controller_instances/tasks/main.yml
	modified:   roles/controller_inventories/tasks/main.yml
	modified:   roles/controller_inventory_source_update/tasks/main.yml
	modified:   roles/controller_inventory_sources/tasks/main.yml
	modified:   roles/controller_job_templates/tasks/main.yml
	modified:   roles/controller_labels/tasks/main.yml
	modified:   roles/controller_notification_templates/tasks/main.yml
	modified:   roles/controller_organizations/tasks/main.yml
	modified:   roles/controller_projects/tasks/main.yml
	modified:   roles/controller_roles/tasks/main.yml
	modified:   roles/controller_schedules/tasks/main.yml
	modified:   roles/controller_users/tasks/main.yml
	modified:   roles/controller_workflow_job_templates/tasks/add_workflows_schema.yml
	modified:   roles/controller_workflow_job_templates/tasks/main.yml
	modified:   roles/dispatch/defaults/main.yml
	modified:   roles/eda_controller_tokens/tasks/main.yml
	modified:   roles/eda_credential_types/tasks/main.yml
	modified:   roles/eda_credentials/tasks/main.yml
	modified:   roles/eda_event_streams/tasks/main.yml
	modified:   roles/gateway_organizations/tasks/main.yml
	modified:   roles/gateway_role_user_assignments/tasks/main.yml
	modified:   roles/gateway_routes/tasks/main.yml
	modified:   roles/gateway_service_keys/tasks/main.yml
	modified:   roles/gateway_service_nodes/tasks/main.yml
	modified:   roles/gateway_services/tasks/main.yml
	modified:   roles/gateway_teams/tasks/main.yml
	modified:   roles/gateway_users/tasks/main.yml
	modified:   roles/hub_collection/tasks/main.yml
	modified:   roles/hub_ee_registry/tasks/main.yml
	modified:   roles/hub_ee_registry_index/tasks/main.yml
	modified:   roles/hub_ee_registry_sync/tasks/main.yml
	modified:   roles/hub_ee_repository/tasks/main.yml
	modified:   roles/hub_ee_repository_sync/tasks/main.yml
	modified:   roles/hub_group_roles/tasks/main.yml
	modified:   roles/hub_namespace/tasks/main.yml
	modified:   tests/configure_controller.yml
	modified:   tests/configure_controller_export_model.yml

* modified:   playbooks/get_stats.yml
	modified:   roles/controller_ad_hoc_command/meta/argument_specs.yml
	modified:   roles/controller_ad_hoc_command_cancel/meta/argument_specs.yml
	modified:   roles/controller_applications/meta/argument_specs.yml
	modified:   roles/controller_bulk_host_create/meta/argument_specs.yml
	modified:   roles/controller_bulk_job_launch/meta/argument_specs.yml
	modified:   roles/controller_credential_input_sources/meta/argument_specs.yml
	modified:   roles/controller_credential_types/meta/argument_specs.yml
	modified:   roles/controller_credentials/meta/argument_specs.yml
	modified:   roles/controller_execution_environments/meta/argument_specs.yml
	modified:   roles/controller_host_groups/meta/argument_specs.yml
	modified:   roles/controller_hosts/meta/argument_specs.yml
	modified:   roles/controller_instance_groups/meta/argument_specs.yml
	modified:   roles/controller_instances/meta/argument_specs.yml
	modified:   roles/controller_inventories/meta/argument_specs.yml
	modified:   roles/controller_inventory_source_update/meta/argument_specs.yml
	modified:   roles/controller_inventory_sources/meta/argument_specs.yml
	modified:   roles/controller_job_launch/meta/argument_specs.yml
	modified:   roles/controller_job_templates/meta/argument_specs.yml
	modified:   roles/controller_jobs_cancel/meta/argument_specs.yml
	modified:   roles/controller_labels/meta/argument_specs.yml
	modified:   roles/controller_license/meta/argument_specs.yml
	modified:   roles/controller_notification_templates/meta/argument_specs.yml
	modified:   roles/controller_organizations/meta/argument_specs.yml
	modified:   roles/controller_project_update/meta/argument_specs.yml
	modified:   roles/controller_projects/meta/argument_specs.yml
	modified:   roles/controller_roles/meta/argument_specs.yml
	modified:   roles/controller_schedules/meta/argument_specs.yml
	modified:   roles/controller_settings/meta/argument_specs.yml
	modified:   roles/controller_teams/meta/argument_specs.yml
	modified:   roles/controller_users/meta/argument_specs.yml
	modified:   roles/controller_workflow_job_templates/meta/argument_specs.yml
	modified:   roles/controller_workflow_launch/meta/argument_specs.yml
	modified:   roles/dispatch/meta/argument_specs.yml
	modified:   roles/eda_controller_tokens/meta/argument_specs.yml
	modified:   roles/eda_credential_types/meta/argument_specs.yml
	modified:   roles/eda_credentials/meta/argument_specs.yml
	modified:   roles/eda_decision_environments/meta/argument_specs.yml
	modified:   roles/eda_event_streams/meta/argument_specs.yml
	modified:   roles/eda_projects/meta/argument_specs.yml
	modified:   roles/eda_rulebook_activations/meta/argument_specs.yml
	modified:   roles/eda_users/meta/argument_specs.yml
	modified:   roles/gateway_applications/meta/argument_specs.yml
	modified:   roles/gateway_authenticator_maps/meta/argument_specs.yml
	modified:   roles/gateway_authenticators/meta/argument_specs.yml
	modified:   roles/gateway_http_ports/meta/argument_specs.yml
	modified:   roles/gateway_organizations/meta/argument_specs.yml
	modified:   roles/gateway_role_user_assignments/meta/argument_specs.yml
	modified:   roles/gateway_routes/meta/argument_specs.yml
	modified:   roles/gateway_service_clusters/meta/argument_specs.yml
	modified:   roles/gateway_service_keys/meta/argument_specs.yml
	modified:   roles/gateway_service_nodes/meta/argument_specs.yml
	modified:   roles/gateway_services/meta/argument_specs.yml
	modified:   roles/gateway_settings/meta/argument_specs.yml
	modified:   roles/gateway_teams/meta/argument_specs.yml
	modified:   roles/gateway_users/meta/argument_specs.yml
	modified:   roles/hub_collection/meta/argument_specs.yml
	modified:   roles/hub_collection_remote/meta/argument_specs.yml
	modified:   roles/hub_collection_repository/meta/argument_specs.yml
	modified:   roles/hub_collection_repository_sync/meta/argument_specs.yml
	modified:   roles/hub_ee_image/meta/argument_specs.yml
	modified:   roles/hub_ee_registry/meta/argument_specs.yml
	modified:   roles/hub_ee_registry_index/meta/argument_specs.yml
	modified:   roles/hub_ee_registry_sync/meta/argument_specs.yml
	modified:   roles/hub_ee_repository/meta/argument_specs.yml
	modified:   roles/hub_ee_repository_sync/meta/argument_specs.yml
	modified:   roles/hub_group/meta/argument_specs.yml
	modified:   roles/hub_group_roles/meta/argument_specs.yml
	modified:   roles/hub_namespace/meta/argument_specs.yml
	modified:   roles/hub_publish/meta/argument_specs.yml
	modified:   roles/hub_role/meta/argument_specs.yml
	modified:   roles/hub_user/meta/argument_specs.yml

* modified:   roles/controller_credential_types/tasks/main.yml
	modified:   roles/controller_execution_environments/tasks/main.yml
	modified:   roles/controller_host_groups/tasks/main.yml
	modified:   roles/controller_hosts/tasks/main.yml
	modified:   roles/controller_instance_groups/tasks/main.yml
	modified:   roles/controller_instances/tasks/main.yml
	modified:   roles/controller_inventories/tasks/main.yml
	modified:   roles/controller_inventory_sources/tasks/main.yml
	modified:   roles/controller_job_templates/tasks/async.yml
	modified:   roles/controller_job_templates/tasks/main.yml
	modified:   roles/controller_license/tasks/main.yml
	modified:   roles/controller_license/tasks/manifest.yml
	modified:   roles/controller_notification_templates/tasks/main.yml
	modified:   roles/controller_organizations/tasks/main.yml
	modified:   roles/controller_projects/tasks/main.yml
	modified:   roles/controller_roles/tasks/main.yml
	modified:   roles/controller_schedules/tasks/main.yml
	modified:   roles/controller_users/tasks/main.yml
	modified:   roles/controller_workflow_job_templates/tasks/add_workflows_schema.yml
	modified:   roles/controller_workflow_job_templates/tasks/main.yml

* modified:   CONVERSION_GUIDE.md
	modified:   EXPORT_README.md
	modified:   roles/ansible_config/README.md
	modified:   roles/controller_ad_hoc_command/README.md
	modified:   roles/controller_ad_hoc_command_cancel/README.md
	modified:   roles/controller_applications/README.md
	modified:   roles/controller_applications/meta/argument_specs.yml
	modified:   roles/controller_bulk_host_create/README.md
	modified:   roles/controller_bulk_job_launch/README.md
	modified:   roles/controller_credential_input_sources/README.md
	modified:   roles/controller_credential_types/README.md
	modified:   roles/controller_credentials/README.md
	modified:   roles/controller_credentials/meta/argument_specs.yml
	modified:   roles/controller_execution_environments/README.md
	modified:   roles/controller_host_groups/README.md
	modified:   roles/controller_hosts/README.md
	modified:   roles/controller_instance_groups/README.md
	modified:   roles/controller_instances/README.md
	modified:   roles/controller_inventories/README.md
	modified:   roles/controller_inventory_source_update/README.md
	modified:   roles/controller_inventory_sources/README.md
	modified:   roles/controller_job_launch/README.md
	modified:   roles/controller_job_launch/meta/argument_specs.yml
	modified:   roles/controller_job_templates/README.md
	modified:   roles/controller_jobs_cancel/README.md
	modified:   roles/controller_labels/README.md
	modified:   roles/controller_license/README.md
	modified:   roles/controller_notification_templates/README.md
	modified:   roles/controller_organizations/README.md
	modified:   roles/controller_project_update/README.md
	modified:   roles/controller_projects/README.md
	modified:   roles/controller_projects/meta/argument_specs.yml
	modified:   roles/controller_roles/README.md
	modified:   roles/controller_schedules/README.md
	modified:   roles/controller_settings/README.md
	modified:   roles/controller_teams/README.md
	modified:   roles/controller_users/README.md
	modified:   roles/controller_users/meta/argument_specs.yml
	modified:   roles/controller_workflow_job_templates/README.md
	modified:   roles/controller_workflow_launch/README.md
	modified:   roles/controller_workflow_launch/meta/argument_specs.yml
	modified:   roles/eda_controller_tokens/README.md
	modified:   roles/eda_credential_types/README.md
	modified:   roles/eda_credentials/README.md
	modified:   roles/eda_decision_environments/README.md
	modified:   roles/eda_event_streams/README.md
	modified:   roles/eda_projects/README.md
	modified:   roles/eda_rulebook_activations/README.md
	modified:   roles/eda_users/README.md
	modified:   roles/gateway_applications/README.md
	modified:   roles/gateway_applications/meta/argument_specs.yml
	modified:   roles/gateway_authenticator_maps/README.md
	modified:   roles/gateway_authenticators/README.md
	modified:   roles/gateway_http_ports/README.md
	modified:   roles/gateway_http_ports/meta/argument_specs.yml
	modified:   roles/gateway_organizations/README.md
	modified:   roles/gateway_role_user_assignments/README.md
	modified:   roles/gateway_routes/README.md
	modified:   roles/gateway_service_clusters/README.md
	modified:   roles/gateway_service_keys/README.md
	modified:   roles/gateway_service_nodes/README.md
	modified:   roles/gateway_services/README.md
	modified:   roles/gateway_settings/README.md
	modified:   roles/gateway_teams/README.md
	modified:   roles/gateway_users/README.md
	modified:   roles/gateway_users/meta/argument_specs.yml
	modified:   roles/hub_collection/README.md
	modified:   roles/hub_collection_remote/README.md
	modified:   roles/hub_collection_repository/README.md
	modified:   roles/hub_collection_repository_sync/README.md
	modified:   roles/hub_ee_image/README.md
	modified:   roles/hub_ee_registry/README.md
	modified:   roles/hub_ee_registry_index/README.md
	modified:   roles/hub_ee_registry_sync/README.md
	modified:   roles/hub_ee_repository/README.md
	modified:   roles/hub_ee_repository_sync/README.md
	modified:   roles/hub_group/README.md
	modified:   roles/hub_group_roles/README.md
	modified:   roles/hub_namespace/README.md
	modified:   roles/hub_publish/README.md
	modified:   roles/hub_role/README.md
	modified:   roles/hub_user/README.md
	modified:   tests/configs/controller/settings.yml
	modified:   tests/configs/controller/settings_individuale.yml
	modified:   tests/templated_role_example/README.md
  • Loading branch information
djdanielsson authored Nov 8, 2024
1 parent 7254f2e commit f74483f
Show file tree
Hide file tree
Showing 450 changed files with 3,045 additions and 3,113 deletions.
159 changes: 129 additions & 30 deletions .ansible-lint
Original file line number Diff line number Diff line change
@@ -1,37 +1,25 @@
---
# The exclude_paths does not appear to be working in pre-commit
# this issue describes similar behavior but suggested fix doesn't work
# https://github.com/ansible/ansible-lint/issues/371
# exclude_paths:
# .ansible-lint

profile: production # min, basic, moderate,safety, shared, production

# Allows dumping of results in SARIF format
# sarif_file: result.sarif

# exclude_paths included in this file are parsed relative to this file's location
# and not relative to the CWD of execution. CLI arguments passed to the --exclude
# option are parsed relative to the CWD of execution.
exclude_paths:
- '.github/'
- 'changelogs/'
- 'tests/templated_role_example'
- .github/
- changelogs/
- tests/templated_role_example

parseable: true
use_default_rules: true
# https://github.com/ansible/ansible-lint/issues/808
# with verbosity set to 1, its dumping 'unknown file type messages'
# quiet: true
# strict: true
# verbosity: 1
skip_list:
# Skipping fqcn[action] because this collection supports using either the awx.awx or ansible.controller collection
# so a FQCN cannot be used in module names
- fqcn[action]
- fqcn[keyword]
- jinja[spacing]
- meta-runtime # This collection with the appropriate awx.awx or ansible.controller still works with older ansible.
- role-name[path]
- sanity[cannot-ignore] # We're only ignoring sanity rules when we have to
- var-naming[no-role-prefix]
kinds:
- playbooks: "**/examples/templates/*.{yml,yaml}"
- playbooks: "**/examples/*.{yml,yaml}"
- playbooks: "**/examples/automatetheautomation/*.{yml,yaml}"
- tasks: "**/examples/tasks/*.yml"
- vars: "**/examples/automatetheautomation/orgs_vars/**/*.yml"
- vars: "**/examples/configs/*.yml"
- vars: "**/examples/configs_export_model/*.yml"
- vars: "**/examples/vars/*.yml"
- vars: "**/roles/**/tests/configs/*.yml"

# Mock modules or roles in order to pass ansible-playbook --syntax-check
mock_modules:
- ansible.platform.authenticator_map
- ansible.platform.user
Expand All @@ -48,4 +36,115 @@ mock_modules:
- ansible.platform.http_port
- ansible.platform.route
- job_wait

# mock_roles:
# - mocked_role
# - author.role_name # old standalone galaxy role
# - fake_namespace.fake_collection.fake_role # role within a collection

# Enable checking of loop variable prefixes in roles
loop_var_prefix: ^(__|{role}_)

# Enforce variable names to follow pattern below, in addition to Ansible own
# requirements, like avoiding python identifiers. To disable add `var-naming`
# to skip_list.
var_naming_pattern: ^[a-z_][a-z0-9_]*$

use_default_rules: true
# Load custom rules from this specific folder
# rulesdir:
# - ./rule/directory/

# Ansible-lint is able to recognize and load skip rules stored inside
# `.ansible-lint-ignore` (or `.config/ansible-lint-ignore.txt`) files.
# To skip a rule just enter filename and tag, like "playbook.yml package-latest"
# on a new line.
# Optionally you can add comments after the tag, prefixed by "#". We discourage
# the use of skip_list below because that will hide violations from the output.
# When putting ignores inside the ignore file, they are marked as ignored, but
# still visible, making it easier to address later.
skip_list:
# Skipping fqcn[action] because this collection supports using either the awx.awx or ansible.controller collection
# so a FQCN cannot be used in module names
- fqcn[action]
- fqcn[keyword]
- jinja[spacing]
- meta-runtime # This collection with the appropriate awx.awx or ansible.controller still works with older ansible.
- role-name[path]
- sanity[cannot-ignore] # We're only ignoring sanity rules when we have to
- var-naming[no-role-prefix]

# Ansible-lint does not automatically load rules that have the 'opt-in' tag.
# You must enable opt-in rules by listing each rule 'id' below.
enable_list:
- args
- empty-string-compare # opt-in
- no-log-password # opt-in
- no-same-owner # opt-in
- name[prefix] # opt-in
- galaxy-version-incorrect # opt-in
# add yaml here if you want to avoid ignoring yaml checks when yamllint
# library is missing. Normally its absence just skips using that rule.
- yaml
# Report only a subset of tags and fully ignore any others
# tags:
# - jinja[spacing]

# Ansible-lint does not fail on warnings from the rules or tags listed below
warn_list:
- experimental # experimental is included in the implicit list
# - role-name
# - yaml[document-start] # you can also use sub-rule matches

# Some rules can transform files to fix (or make it easier to fix) identified
# errors. `ansible-lint --fix` will reformat YAML files and run these transforms.
# By default it will run all transforms (effectively `write_list: ["all"]`).
# You can disable running transforms by setting `write_list: ["none"]`.
# Or only enable a subset of rule transforms by listing rules/tags here.
# write_list:
# - all

# Offline mode disables installation of requirements.yml and schema refreshing
offline: true

# Define required Ansible's variables to satisfy syntax check
# extra_vars:
# foo: bar
# multiline_string_variable: |
# line1
# line2
# complex_variable: ":{;\t$()"

# Uncomment to enforce action validation with tasks, usually is not
# needed as Ansible syntax check also covers it.
# skip_action_validation: false

# List of additional kind:pattern to be added at the top of the default
# match list, first match determines the file kind.
# kinds:
# - playbook: "**/examples/*.{yml,yaml}"
# - galaxy: "**/folder/galaxy.yml"
# - tasks: "**/tasks/*.yml"
# - vars: "**/vars/*.yml"
# - meta: "**/meta/main.yml"
# - yaml: "**/*.yaml-too"

# List of additional collections to allow in only-builtins rule.
# only_builtins_allow_collections:
# - example_ns.example_collection

# List of additions modules to allow in only-builtins rule.
# only_builtins_allow_modules:
# - example_module

# Allow setting custom prefix for name[prefix] rule
task_name_prefix: "{stem} | "
# Complexity related settings

# Limit the depth of the nested blocks:
# max_block_depth: 20

# Also recognize these versions of Ansible as supported:
# supported_ansible_also:
# - "2.14"
...
4 changes: 2 additions & 2 deletions .markdownlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ default: true
# MD003/heading-style/header-style - Heading style
# This will ensure that the heading format is consistent across all markdown files
MD003:
style: "atx"
style: atx

# MD013/line-length - Line length
# Setting to false to match the yamllint setting
Expand All @@ -17,5 +17,5 @@ MD0046:

MD033:
allowed_elements:
- "br"
- br
...
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
repos:
- repo: 'https://github.com/pre-commit/pre-commit-hooks'
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: 'https://github.com/ansible-community/ansible-lint.git'
- repo: https://github.com/ansible-community/ansible-lint.git
rev: v24.9.2
hooks:
# see discussions here about what arguments are used, and behavior
Expand All @@ -15,12 +15,12 @@ repos:
- id: ansible-lint
pass_filenames: false
always_run: true
entry: "ansible-lint"
entry: ansible-lint
args:
- "--profile=production"
- --profile=production
additional_dependencies:
- "ansible-core>=2.15"
- "yamllint>=1.26,<2.0"
- ansible-core>=2.15
- yamllint>=1.26,<2.0
- repo: https://github.com/DavidAnson/markdownlint-cli2
rev: v0.14.0
hooks:
Expand Down
6 changes: 3 additions & 3 deletions .yamllint.yml → .yamllint
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ rules:
min-spaces-from-content: 1 # prettier compatibility
comments-indentation: false
document-start: disable
document-end: {present: true}
document-end: { present: true }
indentation:
level: error
# Require indentation https://redhat-cop.github.io/automation-good-practices/#_yaml_and_jinja2_syntax
Expand All @@ -31,6 +31,6 @@ rules:
level: error
# Allow only YAML 1.2 booleans https://redhat-cop.github.io/automation-good-practices/#_yaml_and_jinja2_syntax
allowed-values:
- 'true'
- 'false'
- "true"
- "false"
...
6 changes: 3 additions & 3 deletions CONVERSION_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ These are the connection variables, These are used to connect to the platform. T
|Variable Name|Default Value|Required|Description|Example|
|:---|:---:|:---:|:---|:---|
|`aap_hostname`|""|yes|URL to the Ansible Automation Platform Server.|127.0.0.1|
|`aap_validate_certs`|`True`|no|Whether or not to validate the Ansible Automation Platform Server's SSL certificate.||
|`aap_validate_certs`|`true`|no|Whether or not to validate the Ansible Automation Platform Server's SSL certificate.||
|`aap_username`|""|no|Admin User on the Ansible Automation Platform Server. Either username / password or oauthtoken need to be specified.||
|`aap_password`|""|no|Platform Admin User's password on the Server. This should be stored in an Ansible Vault at vars/platform-secrets.yml or elsewhere and called from a parent playbook.||
|`aap_token`|""|no|Controller Admin User's token on the Ansible Automation Platform Server. This should be stored in an Ansible Vault at or elsewhere and called from a parent playbook. Either username / password or oauthtoken need to be specified.||
Expand All @@ -52,8 +52,8 @@ Other Variables that will apply to all roles when used globally. Each of these h

|Variable Name|Default Value|Required|Description|
|:---|:---:|:---:|:---|
|`aap_configuration_enforce_defaults`|`False`|no|Whether or not to enforce default option values. This is not universal and it is a best effort to enforce the default values of fields.|
|`aap_configuration_secure_logging`|`False`|no|Whether or not to include the sensitive Registry role tasks in the log. Set this value to `True` if you will be providing your sensitive values from elsewhere.|
|`aap_configuration_enforce_defaults`|`false`|no|Whether or not to enforce default option values. This is not universal and it is a best effort to enforce the default values of fields.|
|`aap_configuration_secure_logging`|`false`|no|Whether or not to include the sensitive Registry role tasks in the log. Set this value to `true` if you will be providing your sensitive values from elsewhere.|
|`aap_configuration_async_retries`|50|no|This variable sets the number of retries to attempt for each role globally.|
|`aap_configuration_async_delay`|1|no|This sets the delay between retries for each role globally.|
|`aap_configuration_loop_delay`|1000|no|This variable sets the loop_delay for each role globally.|
Expand Down
4 changes: 2 additions & 2 deletions EXPORT_README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ awx export --conf.host https://localhost --conf.username admin --conf.password *
CONTROLLER_HOST: https://localhost
CONTROLLER_USERNAME: admin
CONTROLLER_PASSWORD: password
CONTROLLER_VERIFY_SSL: False
CONTROLLER_VERIFY_SSL: false

tasks:
- name: Export projects
Expand All @@ -50,7 +50,7 @@ awx export --conf.host https://localhost --conf.username admin --conf.password *

- name: Export projects to file
ansible.builtin.copy:
content: "{{ export_results | to_nice_yaml(width=50, explicit_start=True, explicit_end=True) }}"
content: "{{ export_results | to_nice_yaml(width=50, explicit_start=true, explicit_end=true) }}"
dest: projects.yaml
...
```
Expand Down
2 changes: 1 addition & 1 deletion meta/runtime.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
---
requires_ansible: '>=2.15.0'
requires_ansible: ">=2.15.0"
...
2 changes: 1 addition & 1 deletion playbooks/configure_aap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
ansible.builtin.include_vars:
dir: "{{ aap_configs_dir | default((lookup('env', 'AAP_CONFIGS_DIR') == '') | ternary('./configs', lookup('env', 'AAP_CONFIGS_DIR'))) }}"
ignore_files: [controller_config.yml.template]
extensions: ["yml"]
extensions: [yml]
tags:
- always

Expand Down
6 changes: 3 additions & 3 deletions playbooks/get_stats.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
tasks:
- name: Get number of JT
ansible.builtin.uri:
url: "https://{{ aap_hostname }}/api/v2/metrics/?format=json"
url: https://{{ aap_hostname }}/api/v2/metrics/?format=json
method: GET
force_basic_auth: true
user: "{{ aap_username }}"
Expand All @@ -39,7 +39,7 @@

- name: Get users info
ansible.builtin.uri:
url: "https://{{ aap_hostname }}/api/v2/users/?format=json"
url: https://{{ aap_hostname }}/api/v2/users/?format=json
method: GET
force_basic_auth: true
user: "{{ aap_username }}"
Expand Down Expand Up @@ -82,7 +82,7 @@

- name: Get subscription info
ansible.builtin.uri:
url: "https://{{ aap_hostname }}/api/v2/settings/all/?format=json"
url: https://{{ aap_hostname }}/api/v2/settings/all/?format=json
method: GET
force_basic_auth: true
user: "{{ aap_username }}"
Expand Down
10 changes: 5 additions & 5 deletions playbooks/rename_objects.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
- name: "Play to rename an object to every other object that is using it"
- name: Play to rename an object to every other object that is using it
hosts: localhost
connection: local
gather_facts: false
tasks:
- name: "Get all the files using this object from the specified path"
- name: Get all the files using this object from the specified path
ansible.builtin.find:
paths: "{{ path }}"
file_type: file
Expand All @@ -13,11 +13,11 @@
contains: "{{ current_name | regex_escape() }}"
register: __list_files

- name: "Update the name into the found files"
- name: Update the name into the found files
ansible.builtin.replace:
path: "{{ __file.path }}"
regexp: '^(.*){{ current_name | regex_escape() }}(.*)$'
replace: '\1{{ new_name }}\2'
regexp: ^(.*){{ current_name | regex_escape() }}(.*)$
replace: \1{{ new_name }}\2
loop: "{{ __list_files.files }}"
loop_control:
loop_var: __file
Expand Down
10 changes: 5 additions & 5 deletions playbooks/set_organization.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
---
- name: "Play to set given organization to every object found in the search path"
- name: Play to set given organization to every object found in the search path
hosts: localhost
connection: local
gather_facts: false
tasks:
- name: "Get all the files from the specified path"
- name: Get all the files from the specified path
ansible.builtin.find:
paths: "{{ path }}"
file_type: file
recurse: true
register: __list_files

- name: "Update the organization into the found files"
- name: Update the organization into the found files
ansible.builtin.replace:
path: "{{ __file.path }}"
regexp: '^(.*)organization: (.*)$'
replace: '\1organization: {{ new_organization }}'
regexp: "^(.*)organization: (.*)$"
replace: "\\1organization: {{ new_organization }}"
loop: "{{ __list_files.files }}"
loop_control:
loop_var: __file
Expand Down
6 changes: 3 additions & 3 deletions roles/ansible_config/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ Currently:

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 ansible config task does not by default include sensitive information, we highly recommend the use of ansible vault for passwords and tokens.
The role defaults to false as normally the ansible config task does not by default include sensitive information, we highly recommend the use of ansible vault for passwords and tokens.
aap_configuration_ansible_config_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|
|:---:|:---:|:---:|:---:|
|`aap_configuration_ansible_config_secure_logging`|`False`|no|Whether or not to include the sensitive ansible config 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.|
|`aap_configuration_ansible_config_secure_logging`|`false`|no|Whether or not to include the sensitive ansible config 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 Structures

Expand Down
2 changes: 1 addition & 1 deletion roles/ansible_config/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# ansible_config_owner: # optional
# ansible_config_group: # optional
ansible_config_mode: "0644"
aap_configuration_working_dir: "/var/tmp"
aap_configuration_working_dir: /var/tmp
validate_certs: false
ah_path_prefix: galaxy
# a list of dictionaries describing the Automation Hub namespace
Expand Down
Loading

0 comments on commit f74483f

Please sign in to comment.