Skip to content

Commit

Permalink
update testing (#566)
Browse files Browse the repository at this point in the history
  • Loading branch information
sean-m-sullivan committed Apr 27, 2023
1 parent d89cbe9 commit 437ac8e
Show file tree
Hide file tree
Showing 41 changed files with 182 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci_standalone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ jobs:
matrix:
awx_version:
- devel
- 22.0.0
- 21.14.0
- 21.13.0
- 21.12.0
- 21.11.0
# - 20.1.0 Diabled until working
# - 19.5.1 Diabled until working
uses: "./.github/workflows/ci_standalone_versioned.yml"
with:
awx_version: ${{ matrix.awx_version }}
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
collections/*
!collections/requirements.yml
galaxy.yml
*.tar.gz
*.pyc
id_rsa*
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@

This Ansible collection allows for easy interaction with an AWX or Ansible Controller server via Ansible roles using the AWX/Controller collection modules.

## WARNING!!! You are using a version of redhat_cop.controller_configuration that is no longer maintained please change to infra.controller_configuration.

Please either install from the validated collections included in the AAP bundeled installer, or from infra.controller_configuration on Galaxy.

## Requirements

The awx.awx or ansible.controller collections MUST be installed in order for this collection to work. It is recommended they be invoked in the playbook in the following way.
Expand Down
2 changes: 1 addition & 1 deletion ansible.cfg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[defaults]
collections_paths=collections
collections_paths=/home/runner/collections
roles_path=roles/
lookup_plugins=plugins/lookup/
31 changes: 31 additions & 0 deletions galaxy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
namespace: redhat_cop
name: controller_configuration
version: 2.3.2
description: A collection of roles to manage Ansible Controller
readme: README.md
authors:
- Andrew Huffman
- Adebisi Oyawale @aoyawale
- Kedar Kulkarni @kedark3
- Tom Page @Tompage1994
- Sean Sullivan @sean-m-sullivan
- David Danielsson @djdanielsson
repository: https://github.com/redhat-cop/controller_configuration
issues: https://github.com/redhat-cop/controller_configuration/issues
homepage: https://galaxy.ansible.com/infra/controller_configuration
build_ignore:
- galaxy.yml.j2
- release.yml
- .github
- .ansiblelint.yml
- .yamllint.yml
- '*.tar.gz'
license:
- GPL-3.0-or-later
tags:
- controller
- collection
- controller_configuration
- automation_platform
...
4 changes: 4 additions & 0 deletions roles/ad_hoc_command/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,8 @@
no_log: "{{ controller_configuration_ad_hoc_command_secure_logging }}"
register: controller_ad_hoc_commands_output
when: controller_ad_hoc_commands is defined

- name: Warn about namespace change
ansible.builtin.debug:
msg: WARNING!!! You are using a version of redhat_cop.controller_configuration that is no longer maintained please change to infra.controller_configuration.
...
4 changes: 4 additions & 0 deletions roles/ad_hoc_command_cancel/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,8 @@
loop_var: "__ad_hoc_command_cancel_item"
no_log: "{{ controller_configuration_ad_hoc_command_cancel_secure_logging }}"
when: controller_ad_hoc_commands_cancel is defined

- name: Warn about namespace change
ansible.builtin.debug:
msg: WARNING!!! You are using a version of redhat_cop.controller_configuration that is no longer maintained please change to infra.controller_configuration.
...
4 changes: 4 additions & 0 deletions roles/applications/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,8 @@
no_log: "{{ controller_configuration_applications_secure_logging }}"
vars:
ansible_async_dir: '/tmp/.ansible_async'

- name: Warn about namespace change
ansible.builtin.debug:
msg: WARNING!!! You are using a version of redhat_cop.controller_configuration that is no longer maintained please change to infra.controller_configuration.
...
4 changes: 4 additions & 0 deletions roles/bulk_host_create/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,8 @@
no_log: "{{ controller_configuration_bulk_hosts_secure_logging }}"
vars:
ansible_async_dir: '/tmp/.ansible_async'

- name: Warn about namespace change
ansible.builtin.debug:
msg: WARNING!!! You are using a version of redhat_cop.controller_configuration that is no longer maintained please change to infra.controller_configuration.
...
4 changes: 4 additions & 0 deletions roles/bulk_job_launch/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,8 @@
no_log: "{{ controller_configuration_bulk_job_launch_secure_logging }}"
register: bulk_launched_controller_jobs
when: controller_bulk_launch_jobs is defined

- name: Warn about namespace change
ansible.builtin.debug:
msg: WARNING!!! You are using a version of redhat_cop.controller_configuration that is no longer maintained please change to infra.controller_configuration.
...
4 changes: 4 additions & 0 deletions roles/credential_input_sources/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,8 @@
no_log: "{{ controller_configuration_credential_input_sources_secure_logging }}"
vars:
ansible_async_dir: '/tmp/.ansible_async'

- name: Warn about namespace change
ansible.builtin.debug:
msg: WARNING!!! You are using a version of redhat_cop.controller_configuration that is no longer maintained please change to infra.controller_configuration.
...
4 changes: 4 additions & 0 deletions roles/credential_types/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,8 @@
no_log: "{{ controller_configuration_credential_types_secure_logging }}"
vars:
ansible_async_dir: '/tmp/.ansible_async'

- name: Warn about namespace change
ansible.builtin.debug:
msg: WARNING!!! You are using a version of redhat_cop.controller_configuration that is no longer maintained please change to infra.controller_configuration.
...
4 changes: 4 additions & 0 deletions roles/credentials/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,8 @@
no_log: "{{ controller_configuration_credentials_secure_logging }}"
vars:
ansible_async_dir: '/tmp/.ansible_async'

- name: Warn about namespace change
ansible.builtin.debug:
msg: WARNING!!! You are using a version of redhat_cop.controller_configuration that is no longer maintained please change to infra.controller_configuration.
...
4 changes: 4 additions & 0 deletions roles/dispatch/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,8 @@
apply:
tags:
- organizations

- name: Warn about namespace change
ansible.builtin.debug:
msg: WARNING!!! You are using a version of redhat_cop.controller_configuration that is no longer maintained please change to infra.controller_configuration.
...
4 changes: 4 additions & 0 deletions roles/execution_environments/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,8 @@
no_log: "{{ controller_configuration_execution_environments_secure_logging }}"
vars:
ansible_async_dir: '/tmp/.ansible_async'

- name: Warn about namespace change
ansible.builtin.debug:
msg: WARNING!!! You are using a version of redhat_cop.controller_configuration that is no longer maintained please change to infra.controller_configuration.
...
4 changes: 4 additions & 0 deletions roles/filetree_create/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,8 @@
apply:
tags: "{{ input_tag | to_yaml }}"
tags: "{{ valid_tags }}"

- name: Warn about namespace change
ansible.builtin.debug:
msg: WARNING!!! You are using a version of redhat_cop.controller_configuration that is no longer maintained please change to infra.controller_configuration.
...
4 changes: 4 additions & 0 deletions roles/filetree_read/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,8 @@
loop: "{{ controller_configuration_filetree_read_tasks }}"
loop_control:
loop_var: __task_filetree_read

- name: Warn about namespace change
ansible.builtin.debug:
msg: WARNING!!! You are using a version of redhat_cop.controller_configuration that is no longer maintained please change to infra.controller_configuration.
...
4 changes: 4 additions & 0 deletions roles/groups/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,8 @@
no_log: "{{ controller_configuration_group_secure_logging }}"
vars:
ansible_async_dir: '/tmp/.ansible_async'

- name: Warn about namespace change
ansible.builtin.debug:
msg: WARNING!!! You are using a version of redhat_cop.controller_configuration that is no longer maintained please change to infra.controller_configuration.
...
4 changes: 4 additions & 0 deletions roles/hosts/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,8 @@
no_log: "{{ controller_configuration_hosts_secure_logging }}"
vars:
ansible_async_dir: '/tmp/.ansible_async'

- name: Warn about namespace change
ansible.builtin.debug:
msg: WARNING!!! You are using a version of redhat_cop.controller_configuration that is no longer maintained please change to infra.controller_configuration.
...
4 changes: 4 additions & 0 deletions roles/instance_groups/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,8 @@
no_log: "{{ controller_configuration_instance_groups_secure_logging }}"
vars:
ansible_async_dir: '/tmp/.ansible_async'

- name: Warn about namespace change
ansible.builtin.debug:
msg: WARNING!!! You are using a version of redhat_cop.controller_configuration that is no longer maintained please change to infra.controller_configuration.
...
4 changes: 4 additions & 0 deletions roles/instances/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,8 @@
no_log: "{{ controller_configuration_instances_secure_logging }}"
vars:
ansible_async_dir: '/tmp/.ansible_async'

- name: Warn about namespace change
ansible.builtin.debug:
msg: WARNING!!! You are using a version of redhat_cop.controller_configuration that is no longer maintained please change to infra.controller_configuration.
...
4 changes: 4 additions & 0 deletions roles/inventories/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,8 @@
no_log: "{{ controller_configuration_inventories_secure_logging }}"
vars:
ansible_async_dir: '/tmp/.ansible_async'

- name: Warn about namespace change
ansible.builtin.debug:
msg: WARNING!!! You are using a version of redhat_cop.controller_configuration that is no longer maintained please change to infra.controller_configuration.
...
4 changes: 4 additions & 0 deletions roles/inventory_source_update/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,8 @@
no_log: "{{ controller_configuration_inventory_source_update_secure_logging }}"
vars:
ansible_async_dir: '/tmp/.ansible_async'

- name: Warn about namespace change
ansible.builtin.debug:
msg: WARNING!!! You are using a version of redhat_cop.controller_configuration that is no longer maintained please change to infra.controller_configuration.
...
4 changes: 4 additions & 0 deletions roles/inventory_sources/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,8 @@
no_log: "{{ controller_configuration_inventory_sources_secure_logging }}"
vars:
ansible_async_dir: '/tmp/.ansible_async'

- name: Warn about namespace change
ansible.builtin.debug:
msg: WARNING!!! You are using a version of redhat_cop.controller_configuration that is no longer maintained please change to infra.controller_configuration.
...
4 changes: 4 additions & 0 deletions roles/job_launch/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,8 @@
no_log: "{{ controller_configuration_job_launch_secure_logging }}"
register: launched_controller_jobs
when: controller_launch_jobs is defined

- name: Warn about namespace change
ansible.builtin.debug:
msg: WARNING!!! You are using a version of redhat_cop.controller_configuration that is no longer maintained please change to infra.controller_configuration.
...
4 changes: 4 additions & 0 deletions roles/job_templates/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,8 @@
no_log: "{{ controller_configuration_job_templates_secure_logging }}"
vars:
ansible_async_dir: '/tmp/.ansible_async'

- name: Warn about namespace change
ansible.builtin.debug:
msg: WARNING!!! You are using a version of redhat_cop.controller_configuration that is no longer maintained please change to infra.controller_configuration.
...
4 changes: 4 additions & 0 deletions roles/jobs_cancel/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,8 @@
loop_var: "__controller_jobs_cancel_item"
no_log: "{{ controller_configuration_jobs_cancel_secure_logging }}"
when: controller_cancel_jobs is defined

- name: Warn about namespace change
ansible.builtin.debug:
msg: WARNING!!! You are using a version of redhat_cop.controller_configuration that is no longer maintained please change to infra.controller_configuration.
...
4 changes: 4 additions & 0 deletions roles/labels/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,8 @@
no_log: "{{ controller_configuration_labels_secure_logging }}"
vars:
ansible_async_dir: '/tmp/.ansible_async'

- name: Warn about namespace change
ansible.builtin.debug:
msg: WARNING!!! You are using a version of redhat_cop.controller_configuration that is no longer maintained please change to infra.controller_configuration.
...
4 changes: 4 additions & 0 deletions roles/license/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,8 @@
validate_certs: "{{ controller_validate_certs | default(omit) }}"
no_log: "{{ controller_configuration_license_secure_logging }}"
when: controller_license is defined

- name: Warn about namespace change
ansible.builtin.debug:
msg: WARNING!!! You are using a version of redhat_cop.controller_configuration that is no longer maintained please change to infra.controller_configuration.
...
4 changes: 4 additions & 0 deletions roles/notification_templates/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,8 @@
no_log: "{{ controller_configuration_notifications_secure_logging }}"
vars:
ansible_async_dir: '/tmp/.ansible_async'

- name: Warn about namespace change
ansible.builtin.debug:
msg: WARNING!!! You are using a version of redhat_cop.controller_configuration that is no longer maintained please change to infra.controller_configuration.
...
4 changes: 4 additions & 0 deletions roles/object_diff/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,8 @@
loop: "{{ controller_configuration_object_diff_tasks }}"
loop_control:
loop_var: __task_diff

- name: Warn about namespace change
ansible.builtin.debug:
msg: WARNING!!! You are using a version of redhat_cop.controller_configuration that is no longer maintained please change to infra.controller_configuration.
...
4 changes: 4 additions & 0 deletions roles/organizations/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,8 @@
no_log: "{{ controller_configuration_organizations_secure_logging }}"
vars:
ansible_async_dir: '/tmp/.ansible_async'

- name: Warn about namespace change
ansible.builtin.debug:
msg: WARNING!!! You are using a version of redhat_cop.controller_configuration that is no longer maintained please change to infra.controller_configuration.
...
4 changes: 4 additions & 0 deletions roles/project_update/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,8 @@
no_log: "{{ controller_configuration_project_update_secure_logging }}"
vars:
ansible_async_dir: '/tmp/.ansible_async'

- name: Warn about namespace change
ansible.builtin.debug:
msg: WARNING!!! You are using a version of redhat_cop.controller_configuration that is no longer maintained please change to infra.controller_configuration.
...
4 changes: 4 additions & 0 deletions roles/projects/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,8 @@
no_log: "{{ controller_configuration_projects_secure_logging }}"
vars:
ansible_async_dir: '/tmp/.ansible_async'

- name: Warn about namespace change
ansible.builtin.debug:
msg: WARNING!!! You are using a version of redhat_cop.controller_configuration that is no longer maintained please change to infra.controller_configuration.
...
4 changes: 4 additions & 0 deletions roles/roles/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,8 @@
no_log: "{{ controller_configuration_role_secure_logging }}"
vars:
ansible_async_dir: '/tmp/.ansible_async'

- name: Warn about namespace change
ansible.builtin.debug:
msg: WARNING!!! You are using a version of redhat_cop.controller_configuration that is no longer maintained please change to infra.controller_configuration.
...
4 changes: 4 additions & 0 deletions roles/schedules/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,8 @@
no_log: "{{ controller_configuration_schedules_secure_logging }}"
vars:
ansible_async_dir: '/tmp/.ansible_async'

- name: Warn about namespace change
ansible.builtin.debug:
msg: WARNING!!! You are using a version of redhat_cop.controller_configuration that is no longer maintained please change to infra.controller_configuration.
...
4 changes: 4 additions & 0 deletions roles/settings/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,8 @@
no_log: "{{ controller_configuration_settings_secure_logging }}"
vars:
ansible_async_dir: '/tmp/.ansible_async'

- name: Warn about namespace change
ansible.builtin.debug:
msg: WARNING!!! You are using a version of redhat_cop.controller_configuration that is no longer maintained please change to infra.controller_configuration.
...
4 changes: 4 additions & 0 deletions roles/teams/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,8 @@
no_log: "{{ controller_configuration_teams_secure_logging }}"
vars:
ansible_async_dir: '/tmp/.ansible_async'

- name: Warn about namespace change
ansible.builtin.debug:
msg: WARNING!!! You are using a version of redhat_cop.controller_configuration that is no longer maintained please change to infra.controller_configuration.
...
4 changes: 4 additions & 0 deletions roles/users/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,8 @@
no_log: "{{ controller_configuration_users_secure_logging }}"
vars:
ansible_async_dir: '/tmp/.ansible_async'

- name: Warn about namespace change
ansible.builtin.debug:
msg: WARNING!!! You are using a version of redhat_cop.controller_configuration that is no longer maintained please change to infra.controller_configuration.
...
4 changes: 4 additions & 0 deletions roles/workflow_job_templates/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,8 @@
when:
- __workflow_loop_item.simplified_workflow_nodes is defined
- (__workflow_loop_item.state | default('present')) == "present"

- name: Warn about namespace change
ansible.builtin.debug:
msg: WARNING!!! You are using a version of redhat_cop.controller_configuration that is no longer maintained please change to infra.controller_configuration.
...
4 changes: 4 additions & 0 deletions roles/workflow_launch/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,8 @@
no_log: "{{ controller_configuration_workflow_launch_secure_logging }}"
register: launched_controller_workflows
when: controller_workflow_launch_jobs is defined

- name: Warn about namespace change
ansible.builtin.debug:
msg: WARNING!!! You are using a version of redhat_cop.controller_configuration that is no longer maintained please change to infra.controller_configuration.
...

0 comments on commit 437ac8e

Please sign in to comment.