mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-11-04 12:18:17 +00:00 
			
		
		
		
	Solved testing mode bug
This commit is contained in:
		@@ -18,7 +18,7 @@
 | 
			
		||||
    {% else %}
 | 
			
		||||
    --letsencrypt-webroot-path "{{ LETSENCRYPT_WEBROOT_PATH }}"
 | 
			
		||||
    {% endif %}
 | 
			
		||||
    {{ '--mode-test' if MODE_TEST | bool else '' }}
 | 
			
		||||
    {{ '--mode-test' if MODE_DUMMY | bool else '' }}
 | 
			
		||||
  register: certbundle_result
 | 
			
		||||
  changed_when: >
 | 
			
		||||
    ('certificate not yet due for renewal' not in (certbundle_result.stdout | lower | default('')))
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user