Skip to content

Commit

Permalink
#11: Workaround: Skip a task due to an error occurred at RHEL.
Browse files Browse the repository at this point in the history
  • Loading branch information
ktooi committed Oct 5, 2022
1 parent 5b6f5c1 commit 936cfa0
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions tasks/configure-admin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,9 @@
olcRootDN: '{{ ldap_admin_dn }}'
olcRootPW: '{{ ldap_admin_hashed_passwd }}'
state: exact
# WORKAROUND: Skip this task due to the following error occurred at RedHat 7
# WORKAROUND: Skip this task due to the following error occurred at RedHat 7/8/9
# OTHER: {'info': '<olcModuleLoad> handler exited with 1', 'desc': 'Other (e.g., implementation specific) error'}
when: >-
not ( ansible_os_family == "RedHat"
and ansible_distribution_major_version == "7" )
# See also: https://github.com/ktooi/ansible-role-slapd/issues/11
when: not ansible_os_family == "RedHat"
tags:
- molecule-idempotence-notest

0 comments on commit 936cfa0

Please sign in to comment.