From de5dda78f46cfc8288316e56361497ba755cbf59 Mon Sep 17 00:00:00 2001 From: nazunalika Date: Sat, 26 Dec 2020 12:04:50 -0700 Subject: [PATCH] add defaults --- README.md | 4 ++-- defaults/main.yml | 24 +++++++++++++++++++++++- meta/main.yml | 29 ++++++++++++----------------- 3 files changed, 37 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 13ffe68..5cbd15b 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ CI Badge -# Ansible template role -basic Role to use going forward because I forget pieces +# RabbitMQ Role +The RabbitMQ role for Rocky Linux infrastructure ## Getting started Ensure all dependencies are installed and then follow the below process diff --git a/defaults/main.yml b/defaults/main.yml index 7faaf71..2733803 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -1,2 +1,24 @@ --- -# ansible default variables - most variables live here \ No newline at end of file +# ansible default variables - most variables live here + +# You are expected to deploy the certificates yourself +rabbitmq_tls_ca_cert: "/etc/pki/tls/certs/ca-bundle.crt" +rabbitmq_tls_cert: "/etc/pki/tls/certs/{{ ansible_fqdn }}.crt" +rabbitmq_tls_key: "/etc/pki/tls/private/{{ ansible_fqdn }}.key" +rabbitmq_tls_link_dir: "/etc/rabbitmq/certs" +rabbitmq_file_limit: 500000 + +# You are expected to set these yourself in your playbook +#rabbitmq_cookie_staging: ... +#rabbitmq_cookie_production: ... + +# You are expected to set these yourself in your playbook +#rabbitmq_admin_password_staging: ... +#rabbitmq_admin_password_production: ... + +rabbitmq_plugins: + - rabbitmq_amqp1_0 + - rabbitmq_auth_backend_ldap + - rabbitmq_auth_mechanism_ssl + - rabbitmq_management + - rabbitmq_mqtt diff --git a/meta/main.yml b/meta/main.yml index 568c597..c4cfe5f 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -1,7 +1,7 @@ galaxy_info: - author: your name - description: your role description - company: your company (optional) + author: Louis Abel + description: RabbitMQ Role + company: Rocky Linux Foundation # If the issue tracker for your role is not on github, uncomment the # next line and provide a value @@ -16,7 +16,7 @@ galaxy_info: # - CC-BY-4.0 license: MIT - min_ansible_version: 2.8 + min_ansible_version: 2.9 # If this a Container Enabled role, provide the minimum Ansible Container version. # min_ansible_container_version: @@ -27,17 +27,10 @@ galaxy_info: # To view available platforms and versions (or releases), visit: # https://galaxy.ansible.com/api/v1/platforms/ # - # platforms: - # - name: Fedora - # versions: - # - all - # - 25 - # - name: SomePlatform - # versions: - # - all - # - 1.0 - # - 7 - # - 99.99 + platforms: + - name: EL + versions: + - 8 galaxy_tags: [] # List tags for your role here, one per line. A tag is a keyword that describes @@ -47,7 +40,9 @@ galaxy_info: # NOTE: A tag is limited to a single word comprised of alphanumeric characters. # Maximum 20 tags per role. -dependencies: [] + dependencies: + - community.rabbitmq + # List your role dependencies here, one per line. Be sure to remove the '[]' above, # if you add dependencies to this list. - \ No newline at end of file +