Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
jaydrogers committed Oct 9, 2024
1 parent 1565c59 commit 907c70f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion roles/linux_common/tasks/validate-inputs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,11 @@
- server_contact != '[email protected]'
fail_msg: "⚠️ WARNING: The server_contact is set to the default value. Please update it with a valid contact email."
success_msg: "✅ Server notifications will be sent to {{ server_contact }}"
ignore_errors: yes
register: server_contact_check
failed_when: false
changed_when: server_contact_check is failed

- name: Display warning if server_contact is not changed
ansible.builtin.debug:
msg: "{{ server_contact_check.fail_msg }}"
when: server_contact_check is failed

0 comments on commit 907c70f

Please sign in to comment.