Initial testing commit

This commit is contained in:
Beth Parker 2024-10-05 13:21:15 -05:00
commit 38fa0cc624
8 changed files with 91 additions and 0 deletions

39
README.md Normal file
View file

@ -0,0 +1,39 @@
certbot
=========
This role installs certbot and configures it to automatically update certs for local services
Requirements
------------
Generally paired with nginx-ssl for ssl termination, but might have uses outside of that
Role Variables
--------------
This role does not require any extra variables to be set at this time
Dependencies
------------
nginx-ssl (optional)
Example Playbook Template
----------------
Playbook creation should be handled by playbook-builder. To include role in a playbook, add one of these lines (changing version/branch as needed) to the template somewhere after core/standard entries:
certbot:tags:v1.0
certbot:branch:testing
[include instructions on how to specify domains that are in use]
License
-------
GPL
Author Information
------------------
Beth Parker, ejparker@atcur.com

2
defaults/main.yml Normal file
View file

@ -0,0 +1,2 @@
---
# defaults file for certbot

2
handlers/main.yml Normal file
View file

@ -0,0 +1,2 @@
---
# handlers file for certbot

33
meta/main.yml Normal file
View file

@ -0,0 +1,33 @@
galaxy_info:
author: Beth Parker
description: Actcur maintainer
# If the issue tracker for your role is not on github, uncomment the
# next line and provide a value
issue_tracker_url: https://git.actcur.com/actcur-ansible/role-certbot/issues
# Choose a valid license ID from https://spdx.org - some suggested licenses:
# - BSD-3-Clause (default)
# - MIT
# - GPL-2.0-or-later
# - GPL-3.0-only
# - Apache-2.0
# - CC-BY-4.0
license: license GPL-2.0-or-later
min_ansible_version: 2.1
# If this a Container Enabled role, provide the minimum Ansible Container version.
# min_ansible_container_version:
galaxy_tags: []
# List tags for your role here, one per line. A tag is a keyword that describes
# and categorizes the role. Users find roles by searching for tags. Be sure to
# remove the '[]' above, if you add tags to this list.
#
# NOTE: A tag is limited to a single word comprised of alphanumeric characters.
# Maximum 20 tags per role.
dependencies: []
# List your role dependencies here, one per line. Be sure to remove the '[]' above,
# if you add dependencies to this list.

6
tasks/main.yml Normal file
View file

@ -0,0 +1,6 @@
---
# tasks file for certbot
- name: install certbot
ansible.builtin.package:
name: certbot
state: present

2
tests/inventory Normal file
View file

@ -0,0 +1,2 @@
localhost

5
tests/test.yml Normal file
View file

@ -0,0 +1,5 @@
---
- hosts: localhost
remote_user: root
roles:
- certbot

2
vars/main.yml Normal file
View file

@ -0,0 +1,2 @@
---
# vars file for certbot