diff options
author | Aaron LI <aly@aaronly.me> | 2018-03-02 09:05:29 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2018-03-14 11:35:07 +0800 |
commit | c6ff8399ef89f8970e64c3189f2602f77fc988df (patch) | |
tree | 06c5bf22a3facb33d74e0df1205168cdfdb5e968 | |
parent | 997d7b8f6ffbf10200a85e4b78bca39c2d9a76b7 (diff) | |
download | ansible-dfly-vps-c6ff8399ef89f8970e64c3189f2602f77fc988df.tar.bz2 |
minor updates
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | roles/dns/tasks/main.yml | 4 |
2 files changed, 3 insertions, 2 deletions
@@ -1,5 +1,6 @@ *~ *.swp +*.pyc *.bak *.old *.retry diff --git a/roles/dns/tasks/main.yml b/roles/dns/tasks/main.yml index f414e59..fe2a53a 100644 --- a/roles/dns/tasks/main.yml +++ b/roles/dns/tasks/main.yml @@ -29,7 +29,7 @@ - name: unbound - generate self-signed key/cert for control command: unbound-control-setup - when: stat_result.stat.exists == False + when: not stat_result.stat.exists - name: unbound - copy configuration copy: @@ -61,7 +61,7 @@ - name: NSD - generate self-signed key/cert for control command: nsd-control-setup - when: stat_result.stat.exists == False + when: not stat_result.stat.exists - name: NSD - create zones directory file: |