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

support "content" in ssl map #139

Open
yoshikakbudto opened this issue Oct 28, 2022 · 0 comments
Open

support "content" in ssl map #139

yoshikakbudto opened this issue Oct 28, 2022 · 0 comments

Comments

@yoshikakbudto
Copy link

yoshikakbudto commented Oct 28, 2022

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
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants