Skip to content

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

Merged
prakasa1904 merged 4 commits into
mainfrom
raka/ssl-module
Mar 2, 2025
Merged

fix: support 2 type SSL cert (gcp / external)#2
prakasa1904 merged 4 commits into
mainfrom
raka/ssl-module

Conversation

@prakasa1904

@prakasa1904 prakasa1904 commented Mar 2, 2025

Copy link
Copy Markdown
Member

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