Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hspaans/ansible-role-certificates
Ansible Role to maintain X.509 certificates
https://github.com/hspaans/ansible-role-certificates
ansible ansible-role template
Last synced: 7 days ago
JSON representation
Ansible Role to maintain X.509 certificates
- Host: GitHub
- URL: https://github.com/hspaans/ansible-role-certificates
- Owner: hspaans
- License: mit
- Created: 2020-12-27T11:25:26.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2023-12-29T01:04:06.000Z (about 1 year ago)
- Last Synced: 2025-01-31T17:17:32.483Z (11 days ago)
- Topics: ansible, ansible-role, template
- Language: Python
- Homepage:
- Size: 46.9 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Role Name
Push X.509 certificates to servers and using the structure from certbot for deployment.
## Requirements
None.
## Role Variables
Default variables are set in `defaults/main.yml`.
## Dependencies
No dependency on other Ansible Galaxy roles.
## Example Playbook
- hosts: servers
vars:
certificates_private:
- name: www.example.org
cert: !vault |
$ANSIBLE_VAULT;1.1;AES256
62663162646531663532611139313861653138656136313135385312643435613463623438633837
chain: !vault |
$ANSIBLE_VAULT;1.1;AES256
62663162646531663532611139313861653138656136313135385312643435613463623438633837
fullchain: !vault |
$ANSIBLE_VAULT;1.1;AES256
62663162646531663532611139313861653138656136313135385312643435613463623438633837
privkey: !vault |
$ANSIBLE_VAULT;1.1;AES256
62663162646531663532611139313861653138656136313135385312643435613463623438633837
- name: mail.example.org
cert: !vault |
$ANSIBLE_VAULT;1.1;AES256
62663162646531663532611139313861653138656136313135385312643435613463623438633837
chain: !vault |
$ANSIBLE_VAULT;1.1;AES256
62663162646531663532611139313861653138656136313135385312643435613463623438633837
fullchain: !vault |
$ANSIBLE_VAULT;1.1;AES256
62663162646531663532611139313861653138656136313135385312643435613463623438633837
privkey: !vault |
$ANSIBLE_VAULT;1.1;AES256
62663162646531663532611139313861653138656136313135385312643435613463623438633837
roles:
- { role: hspaans.certificates, become: true }## License
MIT
## Author Information
This role was created in 2020 by [Hans Spaans](https://github.com/hspaans).