test fixes
This commit is contained in:
parent
0fa55af484
commit
c35e5d3696
|
|
@ -1,5 +1,9 @@
|
|||
---
|
||||
|
||||
no_prompts: false
|
||||
debug: false
|
||||
testing: false
|
||||
|
||||
# default config => is overwritten by provided config
|
||||
defaults_certs:
|
||||
mode: 'selfsigned' # selfsigned, ca, pki, le_certbot
|
||||
|
|
@ -94,6 +98,3 @@ default_le_certbot_cert:
|
|||
# example2:
|
||||
# domains: ['example2.ansibleguy.net']
|
||||
# email: 'dummy@ansibleguy.net'
|
||||
|
||||
debug: false
|
||||
testing: false
|
||||
|
|
|
|||
|
|
@ -14,6 +14,6 @@
|
|||
state: started
|
||||
|
||||
- name: Checking if nginx is running
|
||||
wait_for:
|
||||
ansible.builtin.wait_for:
|
||||
port: 80
|
||||
timeout: 4
|
||||
|
|
|
|||
|
|
@ -24,7 +24,9 @@
|
|||
- name: Certificates | Checking for invalid domains/hostnames
|
||||
ansible.builtin.pause:
|
||||
prompt: "It seems you have configured an invalid domain/hostname: '{{ item }}' - do you want to continue?"
|
||||
when: not item | valid_hostname
|
||||
when:
|
||||
- not no_prompts
|
||||
- not item | valid_hostname
|
||||
loop: "{{ CERT_CONFIG.cert.domains }}"
|
||||
|
||||
- name: Certificates | Internal signed
|
||||
|
|
|
|||
Loading…
Reference in New Issue