Skip to content

Commit

Permalink
Fix configure step for iCAT
Browse files Browse the repository at this point in the history
  • Loading branch information
lwesterhof committed Nov 21, 2024
1 parent df1d6c6 commit d2acbb2
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion roles/irods_icat/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@

- name: Configure iRODS iCAT server
become: true
ansible.builtin.command: python /var/lib/irods/scripts/setup_irods.py --json_configuration_file=/etc/irods/setup_irods_provider.json
ansible.builtin.command: python3 /var/lib/irods/scripts/setup_irods.py --json_configuration_file=/etc/irods/setup_irods_provider.json
args:
creates: /etc/irods/service_account.config
run_once: true
Expand Down
6 changes: 5 additions & 1 deletion roles/irods_icat/templates/setup_irods_provider.json.j2
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@
"default_resource_name": "{{ irods_default_resc }}",
"environment_variables": {},
"federation": [],
"host_resolution": {
"host_entries": []
},
"match_hash_policy": "compatible",
"negotiation_key": "{{ irods_negotiation_key }}",
"plugin_configuration": {
Expand Down Expand Up @@ -113,5 +116,6 @@
"zone_name": "{{ irods_zone }}",
"zone_port": {{ irods_icat_port }},
"zone_user": "rods"
}
},
"default_resource_name": "{{ irods_default_resc }}"
}
1 change: 1 addition & 0 deletions roles/postgresql_odbc/tasks/setup-debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@
ansible.builtin.package:
name:
- unixodbc
- unixodbc-dev
- odbcinst
state: present
1 change: 1 addition & 0 deletions roles/postgresql_odbc/tasks/setup-redhat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@
name:
- "postgresql{{ pgsql_version }}-odbc"
- unixODBC
- unixODBC-devel
state: present
when: not ansible_check_mode

0 comments on commit d2acbb2

Please sign in to comment.