From 34b6061ab56857976447e50104f585340dde0b05 Mon Sep 17 00:00:00 2001 From: Dmitriy Rabotyagov Date: Fri, 30 Jun 2023 15:28:35 +0200 Subject: [PATCH] Remove warn argument for command/shell Since ansible-core 2.14 you can't use warn as module argument. It's being removed to avoid module failure. Change-Id: I7287d449b8fd0ad970e37aa63b5cb25f88197858 --- tasks/systemd_mounts.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/tasks/systemd_mounts.yml b/tasks/systemd_mounts.yml index 9b18156..7f9536c 100644 --- a/tasks/systemd_mounts.yml +++ b/tasks/systemd_mounts.yml @@ -90,8 +90,6 @@ systemctl {{ systemd_mount_states[item.state] }} $(systemd-escape -p --suffix="{{ systemd_mount_suffix }}" "{{ systemd_mount_item }}") - args: - warn: no changed_when: false when: - item.state is defined