Commit 4bb91b18 authored by viscapi's avatar viscapi
Browse files

Removed unnecessary check, now using creates parameter, solves John's 3rd issue on iRODS chat

parent 5ce27ba5
......@@ -5,15 +5,10 @@
src: templates/irods_setup.json.j2
dest: /tmp/irods_setup.json
- name: Check that iRODS hasn't been configured before
stat:
path: /etc/irods/server_config.json
register: config
- name: Execute setup_irods.py script
command: /usr/bin/python setup_irods.py --json_configuration_file=/tmp/irods_setup.json
args:
chdir: /var/lib/irods/scripts
when: config.stat.exists == False
creates: /etc/irods/server_config.json
...
Supports Markdown
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