Merge "Add trove-guestagent.conf"
This commit is contained in:
commit
8dfab9675c
@ -71,6 +71,27 @@
|
|||||||
notify:
|
notify:
|
||||||
- "Restart {{ item.key }} container"
|
- "Restart {{ item.key }} container"
|
||||||
|
|
||||||
|
- name: Copying over trove-guestagent.conf
|
||||||
|
vars:
|
||||||
|
services_need_confs:
|
||||||
|
- trove-taskmanager
|
||||||
|
merge_configs:
|
||||||
|
sources:
|
||||||
|
- "{{ role_path }}/templates/trove-guestagent.conf.j2"
|
||||||
|
- "{{ node_custom_config }}/trove-guestagent.conf"
|
||||||
|
- "{{ node_custom_config }}/trove/trove-guestagent.conf"
|
||||||
|
- "{{ node_custom_config }}/trove/{{ inventory_hostname }}/trove-guestagent.conf"
|
||||||
|
dest: "{{ node_config_directory }}/{{ item.key }}/trove-guestagent.conf"
|
||||||
|
mode: "0660"
|
||||||
|
become: true
|
||||||
|
when:
|
||||||
|
- item.key in services_need_confs
|
||||||
|
- inventory_hostname in groups[item.value.group]
|
||||||
|
- item.value.enabled | bool
|
||||||
|
with_dict: "{{ trove_services }}"
|
||||||
|
notify:
|
||||||
|
- "Restart {{ item.key }} container"
|
||||||
|
|
||||||
- name: Copying over trove.conf
|
- name: Copying over trove.conf
|
||||||
vars:
|
vars:
|
||||||
service_name: "{{ item.key }}"
|
service_name: "{{ item.key }}"
|
||||||
|
6
ansible/roles/trove/templates/trove-guestagent.conf.j2
Normal file
6
ansible/roles/trove/templates/trove-guestagent.conf.j2
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
[DEFAULT]
|
||||||
|
transport_url = {{ rpc_transport_url }}
|
||||||
|
control_exchange = trove
|
||||||
|
root_grant = ALL
|
||||||
|
root_grant_option = True
|
||||||
|
debug = {{ trove_logging_debug }}
|
@ -6,7 +6,13 @@
|
|||||||
"dest": "/etc/trove/trove-taskmanager.conf",
|
"dest": "/etc/trove/trove-taskmanager.conf",
|
||||||
"owner": "trove",
|
"owner": "trove",
|
||||||
"perm": "0600"
|
"perm": "0600"
|
||||||
}{% if trove_policy_file is defined %},
|
},
|
||||||
|
{
|
||||||
|
"source": "{{ container_config_directory }}/trove-guestagent.conf",
|
||||||
|
"dest": "/etc/trove/trove-guestagent.conf",
|
||||||
|
"owner": "trove",
|
||||||
|
"perm": "0600"
|
||||||
|
}{% if trove_policy_file is defined %},
|
||||||
{
|
{
|
||||||
"source": "{{ container_config_directory }}/{{ trove_policy_file }}",
|
"source": "{{ container_config_directory }}/{{ trove_policy_file }}",
|
||||||
"dest": "/etc/trove/{{ trove_policy_file }}",
|
"dest": "/etc/trove/{{ trove_policy_file }}",
|
||||||
|
@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
other:
|
||||||
|
- |
|
||||||
|
Add trove-guestagent.conf for trove
|
Loading…
Reference in New Issue
Block a user