Skip to content
Snippets Groups Projects
Commit ca9ca26d authored by Shahaan Ayyub's avatar Shahaan Ayyub
Browse files

Changed 'and' to 'or'

parent ca163187
No related branches found
No related tags found
No related merge requests found
......@@ -25,9 +25,9 @@
set_fact: needcert=True
when: key.stat.exists == false
- name: "set needcert if cert is missing"
- name: "set needcert if cert is missing or of zero size"
set_fact: needcert=True
when: cert.stat.exists == false and cert.stat.size == 0
when: cert.stat.exists == false or cert.stat.size == 0
- name: "Delete Zero Sized Ceritificates"
remote_user: "{{ hostvars[x509_ca_server]['ansible_ssh_user'] }}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment