commit 38fa0cc62439b54986c7c4dba4d34f82f97cd26c Author: Beth Date: Sat Oct 5 13:21:15 2024 -0500 Initial testing commit diff --git a/README.md b/README.md new file mode 100644 index 0000000..fb096db --- /dev/null +++ b/README.md @@ -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 \ No newline at end of file diff --git a/defaults/main.yml b/defaults/main.yml new file mode 100644 index 0000000..2949b39 --- /dev/null +++ b/defaults/main.yml @@ -0,0 +1,2 @@ +--- +# defaults file for certbot diff --git a/handlers/main.yml b/handlers/main.yml new file mode 100644 index 0000000..bce305f --- /dev/null +++ b/handlers/main.yml @@ -0,0 +1,2 @@ +--- +# handlers file for certbot diff --git a/meta/main.yml b/meta/main.yml new file mode 100644 index 0000000..60064f1 --- /dev/null +++ b/meta/main.yml @@ -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. diff --git a/tasks/main.yml b/tasks/main.yml new file mode 100644 index 0000000..5ba915b --- /dev/null +++ b/tasks/main.yml @@ -0,0 +1,6 @@ +--- +# tasks file for certbot +- name: install certbot + ansible.builtin.package: + name: certbot + state: present diff --git a/tests/inventory b/tests/inventory new file mode 100644 index 0000000..878877b --- /dev/null +++ b/tests/inventory @@ -0,0 +1,2 @@ +localhost + diff --git a/tests/test.yml b/tests/test.yml new file mode 100644 index 0000000..d9df338 --- /dev/null +++ b/tests/test.yml @@ -0,0 +1,5 @@ +--- +- hosts: localhost + remote_user: root + roles: + - certbot diff --git a/vars/main.yml b/vars/main.yml new file mode 100644 index 0000000..d158fe5 --- /dev/null +++ b/vars/main.yml @@ -0,0 +1,2 @@ +--- +# vars file for certbot