scaleuptechnologies.utils.serverius_qbine_cert_upload (1.2.5) — module

Upload SSL Certificates to Serverius Qbine

| "added in version" 1.0.0 of scaleuptechnologies.utils"

Authors: Sven Anders (@tabacha)

Install collection

Install with ansible-galaxy collection install scaleuptechnologies.utils:==1.2.5


Add to requirements.yml

  collections:
    - name: scaleuptechnologies.utils
      version: 1.2.5

Description

This tasks uploads an Certificate+Key to qbine and sets an description with a sha256 hash of the uploaded material. With the hash it is able to evaluate if an upload is needed. See https://serverius.net/qbine/ for more information aboute Qbine WAF.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Serverius upload
  serverius_qbine_cert_upload:
    user: "{{ serverius_user }}"
    secret: "{{ serverius_password }}"
    api_url: https://api.serverius.net
    domain_name_uuid: "{{ letsencrypt_key.serverius_qbine_uuid }}"
    keyfile: "/etc/letsencrypt/certs/{{ letsencrypt_key.name }}/privkey.key"
    certfile: "/etc/letsencrypt/certs/{{ letsencrypt_key.name }}/fullchain.pem"

Inputs

    
user:
    description: Serverius Api Username
    required: true
    type: str

secret:
    description: Serverius Api Password
    required: true
    type: str

api_url:
    default: https://api.serverius.net
    description: Serverius Api Url
    type: str

keyfile:
    description: Path to a ssl keyfile.
    required: true
    type: str

certfile:
    description: Path to a ssl Certfile.
    required: true
    type: str

domain_name_uuid:
    description: UUID of Serverius Doman
    required: true
    type: str

Outputs

description:
  description: The Description set in Domain at serverius.
  returned: always
  sample: 'Uploaded key by ansible with sha256: 07d...'
  type: str