add changed when to init command
This commit is contained in:
parent
678f56b732
commit
039b037f30
@ -8,6 +8,8 @@
|
|||||||
--work-dir {{ certbot_work_dir }}
|
--work-dir {{ certbot_work_dir }}
|
||||||
--logs-dir {{ certbot_log_dir }}
|
--logs-dir {{ certbot_log_dir }}
|
||||||
{{ certbot_command_arguments | join(' ') }}
|
{{ certbot_command_arguments | join(' ') }}
|
||||||
|
register: certbot_init
|
||||||
|
changed_when: certbot_init.rc == 130
|
||||||
become: True
|
become: True
|
||||||
become_user: "{{ certbot_user }}"
|
become_user: "{{ certbot_user }}"
|
||||||
when: certbot_initial_run_enabled
|
when: certbot_initial_run_enabled
|
||||||
|
Loading…
Reference in New Issue
Block a user