Skip to content

Commit

Permalink
test_2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
khaledk2 committed Dec 1, 2024
1 parent 7aa4579 commit 44eee2c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions ansible/idr-omero-web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@
- hosts: "{{ idr_environment | default('idr') }}-omeroreadonly-hosts"
become: true

# pre_tasks:
# - name: check if ms user exist
# ansible.builtin.user:
# name: "omero-server"
# check_mode: true
# register: service_user
pre_tasks:
- name: check if ms user exist
ansible.builtin.user:
name: "omero-server"
check_mode: true
register: service_user

roles:
- role: ome.omero_ms_image_region
# when: "{{ service_user.state | d('') == 'present' }}"
when: "{{ service_user.state | d('') == 'present' }}"

environment: "{{ idr_ANSIBLE_ENVIRONMENT_VARIABLES | default({}) }}"

0 comments on commit 44eee2c

Please sign in to comment.