Commit 2a64eddb authored by viscapi's avatar viscapi
Browse files

Allows for installation in either provider or consumer mode

parent 95568a69
......@@ -45,13 +45,21 @@
},
"catalog_provider_hosts": [
{% if irods_server_mode == "provider" %}
"{{ ansible_fqdn }}"
{% elif irods_server_mode == "consumer" %}
"{{ provider_hostname }}"
{% endif %}
],
"catalog_service_role": "provider",
"catalog_service_role": "{{ irods_server_mode }}",
"default_dir_mode": "0750",
"default_file_mode": "0600",
"default_hash_scheme": "SHA256",
"default_resource_name": "{{ default_resource }}",
"default_hash_scheme": "SHA256",
{% if irods_server_mode == "provider" %}
"default_resource_name": "{{ default_resource }}",
{% elif irods_server_mode == "consumer" %}
"default_resource_name": "{{ inventory_hostname_short }}Resource",
{% endif %}
"environment_variables": {},
"federation": [],
"match_hash_policy": "compatible",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment