rabbitmq: prepare for different rabbitmq clusters
This commit is contained in:
parent
6ea0e5dd16
commit
24eb76dfc1
@ -10,7 +10,7 @@
|
||||
- vars/vaults/netbox.yml
|
||||
- vars/netbox.yml
|
||||
|
||||
# This is to try to avoid the handler issue in pre/post tasks
|
||||
# This is to try to avoid the handler issue in pre/post tasks
|
||||
handlers:
|
||||
- import_tasks: handlers/main.yml
|
||||
|
||||
@ -25,7 +25,7 @@
|
||||
that:
|
||||
- "not no_ansible.stat.exists"
|
||||
success_msg: "We are able to run on this node"
|
||||
fail_msg: "/etc/no-ansible exists - skipping run on this node"
|
||||
fail_msg: "/etc/no-ansible exists - skipping run on this node"
|
||||
|
||||
#tasks:
|
||||
#- include_tasks: tasks/efs_mount.yml
|
||||
|
@ -1,14 +1,14 @@
|
||||
---
|
||||
# Stands up a RabbitMQ Cluster
|
||||
- name: Configure RabbitMQ
|
||||
hosts: rabbitmq
|
||||
hosts: rabbitmq_mbs
|
||||
become: true
|
||||
vars_files:
|
||||
# vars/vaults/encpass.yml
|
||||
- vars/common.yml
|
||||
- vars/rabbitmq.yml
|
||||
- vars/rabbitmq_vhost.yml
|
||||
- vars/rabbitmq_users.yml
|
||||
- vars/rabbitmq/mbs/rabbitmq.yml
|
||||
- vars/rabbitmq/mbs/rabbitmq_vhost.yml
|
||||
- vars/rabbitmq/mbs/rabbitmq_users.yml
|
||||
|
||||
# This is to try to avoid the handler issue in pre/post tasks
|
||||
handlers:
|
@ -1,5 +1,7 @@
|
||||
---
|
||||
- name: Download netbox
|
||||
ansible.builtin.get_url:
|
||||
url:
|
||||
url: "https://github.com/netbox-community/netbox/archive/refs/tags/v{{ netbox_version }}.tar.gz"
|
||||
dest: "/tmp/netbox-{{ netbox_version }}"
|
||||
checksum: "{{ netbox_checksum }}"
|
||||
...
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
netbox_version: "3.7.4"
|
||||
netbox_checksum: ""
|
||||
netbox_checksum: "f0c2026b81ab9785f3530eb3c59a922517630976c2af1f95eea02f8bfb9613fd"
|
||||
netbox_server_name: "netbox.rockylinux.org"
|
||||
netbox_admin_name: "Infrastructure Team"
|
||||
netbox_admin_content: "infrastructure@rockylinux.org"
|
||||
|
Loading…
Reference in New Issue
Block a user