Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: support 2 type SSL cert (gcp / external) #2

Merged
merged 4 commits into from
Mar 2, 2025
Merged

Conversation

prakasa1904
Copy link
Member

@prakasa1904 prakasa1904 commented Mar 2, 2025

Description

Create GCP certificate, you can create Google-managed certificate or external certificate, this PR depend to ansible-collections/google.cloud#672

Google-managed SSL

---

- name: Create Google-managed SSL Certificate
  hosts: localhost
  gather_facts: false
  
  vars:
    cloud_provider: "gcp"
    cloud_provider_resource_type: "certificate"
    cloud_provider_auth:
      project_id: "terpusat"
      auth_kind: "serviceaccount"
      service_acount_token: "../credential.json"
    cloud_provider_resource_detail:
      # certificate parameters
      certificate_type: "managed"
      cert_name: "cert-dpanel-example"
      cert_description: "Certificate for gcp.terpusat.me"
      cert_managed:
        domains:
        - gcp.terpusat.me
      state: "present"

  roles:
    - role: dpanel.cloud-provider

@prakasa1904 prakasa1904 changed the title fix: support 2 type SSL cert (gcp / external) fix: [WIP] support 2 type SSL cert (gcp / external) Mar 2, 2025
@prakasa1904 prakasa1904 changed the title fix: [WIP] support 2 type SSL cert (gcp / external) fix: support 2 type SSL cert (gcp / external) Mar 2, 2025
@prakasa1904 prakasa1904 merged commit 09af63b into main Mar 2, 2025
@prakasa1904 prakasa1904 deleted the raka/ssl-module branch March 2, 2025 04:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant