|
@@ -18,12 +18,6 @@ |
|
@@ -18,12 +18,6 @@ |
18
|
when: stat_result.stat.exists == False
|
18
|
when: stat_result.stat.exists == False
|
19
|
|
19
|
|
20
|
|
20
|
|
21
|
-# make sure vaviable [nameserver] exist
|
|
|
22
|
-- name: "make sure variable [nameservers] exists"
|
|
|
23
|
- fail:
|
|
|
24
|
- msg: "variable [nameservers] not exist "
|
|
|
25
|
- when: nameservers == ''
|
|
|
26
|
-
|
|
|
27
|
|
21
|
|
28
|
# make sure group exists
|
22
|
# make sure group exists
|
29
|
- name: make sure groups exist in inventory file
|
23
|
- name: make sure groups exist in inventory file
|
|
@@ -31,6 +25,7 @@ |
|
@@ -31,6 +25,7 @@ |
31
|
msg: "group {{ item }} not exist!"
|
25
|
msg: "group {{ item }} not exist!"
|
32
|
when: item not in groups
|
26
|
when: item not in groups
|
33
|
with_items:
|
27
|
with_items:
|
|
|
28
|
+ - nameservers
|
34
|
- java-nginx
|
29
|
- java-nginx
|
35
|
- java-gateway
|
30
|
- java-gateway
|
36
|
- java-brower
|
31
|
- java-brower
|