From 88b171bb489732c6301fc6353e505b9afa36648b Mon Sep 17 00:00:00 2001 From: willtome Date: Thu, 6 Jun 2024 09:38:57 -0400 Subject: [PATCH] add state exists to credentials --- cloud/setup.yml | 1 + collections/requirements.yml | 6 +++--- linux/setup.yml | 1 + openshift/setup.yml | 1 + satellite/setup.yml | 2 ++ 5 files changed, 8 insertions(+), 3 deletions(-) diff --git a/cloud/setup.yml b/cloud/setup.yml index c2a1f12..faa8804 100644 --- a/cloud/setup.yml +++ b/cloud/setup.yml @@ -20,6 +20,7 @@ controller_credentials: credential_type: Amazon Web Services organization: Default update_secrets: false + state: exists inputs: username: REPLACEME password: REPLACEME diff --git a/collections/requirements.yml b/collections/requirements.yml index 435dff2..4cd6753 100644 --- a/collections/requirements.yml +++ b/collections/requirements.yml @@ -1,9 +1,9 @@ --- collections: - name: ansible.controller - version: 4.4.0 - - name: redhat_cop.controller_configuration - version: 2.3.1 + version: 4.5.6 + - name: infra.controller_configuration + version: 2.8.1 # linux - name: ansible.posix version: 1.5.4 diff --git a/linux/setup.yml b/linux/setup.yml index 93a0221..dcc21c6 100644 --- a/linux/setup.yml +++ b/linux/setup.yml @@ -27,6 +27,7 @@ controller_credentials: - name: Insights Inventory credential_type: Insights Collection organization: Default + state: exists inputs: insights_user: REPLACEME insights_password: REPLACEME diff --git a/openshift/setup.yml b/openshift/setup.yml index a505b52..3c8cc9e 100644 --- a/openshift/setup.yml +++ b/openshift/setup.yml @@ -3,6 +3,7 @@ controller_credentials: - name: OpenShift Credential organization: Default credential_type: OpenShift or Kubernetes API Bearer Token + state: exists inputs: host: CHANGEME bearer_token: CHANGEME diff --git a/satellite/setup.yml b/satellite/setup.yml index 193ff6b..6ae2b6e 100644 --- a/satellite/setup.yml +++ b/satellite/setup.yml @@ -31,6 +31,7 @@ controller_credentials: - name: Satellite Inventory credential_type: Red Hat Satellite 6 organization: Default + state: exists inputs: host: https://satellite.example.com username: admin @@ -38,6 +39,7 @@ controller_credentials: - name: Satellite Credential credential_type: Satellite Collection organization: Default + state: exists inputs: host: https://satellite.example.com username: admin