From 1e63f6c1e1938c93f4bc1ff9a3c0d61f869d0895 Mon Sep 17 00:00:00 2001 From: Julian Foad Date: Wed, 26 Apr 2023 18:59:33 +0100 Subject: [PATCH] support ansible check mode --- roles/ynh_apps/tasks/apps.yml | 1 + roles/ynh_config/tasks/smtp_relay.yml | 1 + roles/ynh_setup/tasks/domains.yml | 1 + roles/ynh_setup/tasks/users.yml | 1 + 4 files changed, 4 insertions(+) diff --git a/roles/ynh_apps/tasks/apps.yml b/roles/ynh_apps/tasks/apps.yml index 240a6df..a2f69f6 100644 --- a/roles/ynh_apps/tasks/apps.yml +++ b/roles/ynh_apps/tasks/apps.yml @@ -22,6 +22,7 @@ ansible.builtin.command: yunohost app map --output-as json register: ynh_installed_apps_raw changed_when: False + check_mode: False tags: apps - name: Format json of apps diff --git a/roles/ynh_config/tasks/smtp_relay.yml b/roles/ynh_config/tasks/smtp_relay.yml index a3f68b3..3ea8ca9 100644 --- a/roles/ynh_config/tasks/smtp_relay.yml +++ b/roles/ynh_config/tasks/smtp_relay.yml @@ -23,6 +23,7 @@ "yunohost settings get smtp.relay.{{ item.key }}" register: _ynh_smtp_current_values changed_when: false + check_mode: false tags: - yunohost - smtp diff --git a/roles/ynh_setup/tasks/domains.yml b/roles/ynh_setup/tasks/domains.yml index 02a2368..e8a4d2d 100644 --- a/roles/ynh_setup/tasks/domains.yml +++ b/roles/ynh_setup/tasks/domains.yml @@ -22,6 +22,7 @@ ansible.builtin.command: yunohost domain list --output-as json register: ynh_installed_domains_raw changed_when: False + check_mode: False tags: - yunohost - domains diff --git a/roles/ynh_setup/tasks/users.yml b/roles/ynh_setup/tasks/users.yml index 84cbc56..19b1c78 100644 --- a/roles/ynh_setup/tasks/users.yml +++ b/roles/ynh_setup/tasks/users.yml @@ -22,6 +22,7 @@ ansible.builtin.command: yunohost user list --output-as json register: ynh_registered_users_raw changed_when: False + check_mode: False tags: - yunohost - users