Commit a855431c by Kevin Falcone

Merge pull request #3063 from edx/jibsheet/better-task-message

Seeing fail: in ansible output is confusing to folks
parents 83c3735d 91c2202d
......@@ -6,7 +6,8 @@
sudo: True
gather_facts: False
tasks:
- fail: msg="you must pass a hostname_fqdn var into this play"
- name: "Ensure we have a hostname"
fail: msg="you must pass a hostname_fqdn var into this play"
when: hostname_fqdn is not defined
- name: Set hostname
hostname: name={{ hostname_fqdn.split('.')[0] }}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment