From 65936930c081ed7d797fbd7e53085db9a3a9e5ae Mon Sep 17 00:00:00 2001 From: willtome Date: Mon, 10 Jun 2024 08:37:23 -0400 Subject: [PATCH] Add state exists for credentials (#150) --- cloud/setup.yml | 1 + linux/setup.yml | 1 + openshift/setup.yml | 1 + satellite/setup.yml | 2 ++ 4 files changed, 5 insertions(+) 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/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