From c6ff8399ef89f8970e64c3189f2602f77fc988df Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Fri, 2 Mar 2018 09:05:29 +0800 Subject: minor updates --- .gitignore | 1 + roles/dns/tasks/main.yml | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 68fe279..f3b2ca8 100644 --- a/.gitignore +++ b/.gitignore @@ -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: -- cgit v1.2.2