add defaults

This commit is contained in:
nazunalika 2020-12-26 12:04:50 -07:00
parent 3f1b22af02
commit de5dda78f4
3 changed files with 37 additions and 20 deletions

View File

@ -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

View File

@ -1,2 +1,24 @@
---
# ansible default variables - most variables live here
# 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

View File

@ -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.