Showing
1 changed file
with
3 additions
and
5 deletions
@@ -11,12 +11,10 @@ | @@ -11,12 +11,10 @@ | ||
11 | 11 | ||
12 | 12 | ||
13 | # make sure vaviable exist | 13 | # make sure vaviable exist |
14 | -- name: make sure varivable exists | 14 | +- name: make sure variable nameservers exists |
15 | fail: | 15 | fail: |
16 | - msg: "{{ item }} not exits!" | ||
17 | - when: "{{item}} == ''" | ||
18 | - with_items: | ||
19 | - - nameservers | 16 | + msg: "variable nameservers not exist " |
17 | + when: nameservers == '' | ||
20 | 18 | ||
21 | 19 | ||
22 | # make sure group exists | 20 | # make sure group exists |
-
Please register or login to post a comment