...
|
...
|
@@ -18,12 +18,6 @@ |
|
|
when: stat_result.stat.exists == False
|
|
|
|
|
|
|
|
|
# make sure vaviable [nameserver] exist
|
|
|
- name: "make sure variable [nameservers] exists"
|
|
|
fail:
|
|
|
msg: "variable [nameservers] not exist "
|
|
|
when: nameservers == ''
|
|
|
|
|
|
|
|
|
# make sure group exists
|
|
|
- name: make sure groups exist in inventory file
|
...
|
...
|
@@ -31,6 +25,7 @@ |
|
|
msg: "group {{ item }} not exist!"
|
|
|
when: item not in groups
|
|
|
with_items:
|
|
|
- nameservers
|
|
|
- java-nginx
|
|
|
- java-gateway
|
|
|
- java-brower
|
...
|
...
|
|