add changed when to init command

This commit is contained in:
Robert Kaussow 2018-06-26 22:03:58 +02:00
parent 678f56b732
commit 039b037f30
1 changed files with 2 additions and 0 deletions

View File

@ -8,6 +8,8 @@
--work-dir {{ certbot_work_dir }}
--logs-dir {{ certbot_log_dir }}
{{ certbot_command_arguments | join(' ') }}
register: certbot_init
changed_when: certbot_init.rc == 130
become: True
become_user: "{{ certbot_user }}"
when: certbot_initial_run_enabled