diff options
| author | Kevin Fenzi <kevin@scrye.com> | 2016-11-01 16:29:49 +0000 |
|---|---|---|
| committer | Kevin Fenzi <kevin@scrye.com> | 2016-11-01 16:29:49 +0000 |
| commit | b1a2d105c9727e9713ec0b00c1b04fcac77fcddc (patch) | |
| tree | df88db8f22498635499b75bc1db895a6921db712 /roles/dnf-automatic | |
| parent | 1fe7e9264d2e7fdc45e97060dc04d9e5867a50e3 (diff) | |
| download | ansible-b1a2d105c9727e9713ec0b00c1b04fcac77fcddc.tar.gz ansible-b1a2d105c9727e9713ec0b00c1b04fcac77fcddc.tar.xz ansible-b1a2d105c9727e9713ec0b00c1b04fcac77fcddc.zip | |
In ansible 2.2 always_run is depreciated. Switch to check_mode.
Diffstat (limited to 'roles/dnf-automatic')
| -rw-r--r-- | roles/dnf-automatic/tasks/main.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/dnf-automatic/tasks/main.yml b/roles/dnf-automatic/tasks/main.yml index 563f3222a..2047ae3a4 100644 --- a/roles/dnf-automatic/tasks/main.yml +++ b/roles/dnf-automatic/tasks/main.yml @@ -31,7 +31,7 @@ - name: check if dnf-automatic.timer is active command: systemctl is-active dnf-automatic.timer register: automaticative - always_run: yes + check_mode: no changed_when: 1 != 1 ignore_errors: true |
