--- - name: Initialise certbot block: - name: Initial run of certbot command: > {{ certbot_bin | default(__certbot_bin) }} --config-dir {{ certbot_config_dir }} --work-dir {{ certbot_work_dir }} --logs-dir {{ certbot_log_dir }} --agree-tos {{ certbot_command_arguments | join(' ') }} register: certbot_init changed_when: certbot_init.rc == 130 ignore_errors: True become: True become_user: "{{ certbot_user }}" when: certbot_initial_run_enabled