This commit is contained in:
LooseSeal2
2019-07-20 07:04:32 -07:00
parent 940cb8e394
commit 510968b3bf

View File

@@ -61,7 +61,7 @@
- name: Set cname
set_fact:
cname: ",{{ucname.stdout}}.{{domain.stdout}}"
when: ucname is succeeded and ucname.stdout != ""
when: ucname_check.stat.exists == true and ucname.stdout != ""
- name: check if user port file exists
stat:
@@ -77,7 +77,7 @@
- name: Change extport
set_fact:
extport: "{{ueport.stdout}}"
when: ueport is succeeded and ueport.stdout != ""
when: ueport_check.stat.exists and ueport.stdout != ""
- name: Remove {{pgrole}} Container
docker_container: