Skip to content

support "content" in ssl map #139

@yoshikakbudto

Description

@yoshikakbudto

Use case:
We store all of our secrets in Hashicorp Vault. And that is true for the SSL pem
It would be nice to support a "content" parameter for the constructions like these:

---
haproxy_ssl_map:
  - content: "{{ lookup('hashi_vault', 'secret=..... }}"
    dest: /etc/ssl/private/mysite.pem
   ...

  - content: !vault |
ANSIBLE_VAULT;1.2;AES256;dev
          61323931353866666336306139373937316366366138656131323863373866376666353364373761
...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions