Skip to content

Commit

Permalink
fix bug in domain-search (#383)
Browse files Browse the repository at this point in the history
  • Loading branch information
drobinson-moj authored Nov 1, 2023
1 parent ec80b33 commit 0db24ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ansible/roles/domain-search/handlers/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
service:
name: network
state: restarted
when: (ansible_distribution in ['redhat', 'oraclelinux']) and (ansible_distribution_major_version in ['5', '6', '7'])
when: (ansible_distribution in ['RedHat', 'OracleLinux']) and (ansible_distribution_major_version in ['5', '6', '7'])

- name: Restart network rhel8+
service:
Expand Down
2 changes: 1 addition & 1 deletion ansible/roles/domain-search/tasks/set-domain-search.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
owner: root
notify:
- Restart network pre rhel8
when: (ansible_distribution in ['redhat', 'oraclelinux']) and (ansible_distribution_major_version in ['5', '6', '7'])
when: (ansible_distribution in ['RedHat', 'OracleLinux']) and (ansible_distribution_major_version in ['5', '6', '7'])

# Cannot get the dhclient approach to work in RHEL8 so unfortunately have to go with this
- name: Rhel8+
Expand Down

0 comments on commit 0db24ea

Please sign in to comment.