Skip to content

Commit

Permalink
fix insertafter
Browse files Browse the repository at this point in the history
  • Loading branch information
tsmeele committed Dec 18, 2024
1 parent 064ccf7 commit fe39837
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions playbooks/roles/irods_server/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@
- name: Bypass hostname check in iRODS setup (hack needed because workspace FQDN != localhost)
ansible.builtin.lineinfile:
path: /var/lib/irods/scripts/setup_irods.py
regexp: "^def check_hostname"
insertafter: '^def check_hostname'
state: present
insertafter: " return"
line: ' return'

- name: Run irods configuration script
command: python3 /var/lib/irods/scripts/setup_irods.py --json_configuration_file /etc/irods/server_unattended_config.json
Expand Down

0 comments on commit fe39837

Please sign in to comment.