oravirt/ansible-oracle

roles/oraswgi_install/tasks/assert.yml fails on empty default_gipass, even if sysasmpassword/asmmonitorpassword are set

ThiloSolbrig opened this issue · 2 comments

- name: Oraswgi_install | Assert variables
  ansible.builtin.assert:
    quiet: true
    that:
      - default_gipass | length > 0
      - oracle_install_version_gi is defined
      - oracle_gi_cluster_type in ('STANDARD', 'STANDALONE')
  tags: always

asserts default_gipass was set. default_gipass doesn't need to be mandatory if sysasmpassword and asmmonitorpassword are set instead.

I'm going to provide a fix by myself.