From 4410fbcd9a524840b905c783a981afc8d36ce645 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 11 Sep 2023 14:51:02 +0200 Subject: fix some ansible-lint warnings --- roles/rate_mirrors/tasks/main.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'roles/rate_mirrors/tasks/main.yml') diff --git a/roles/rate_mirrors/tasks/main.yml b/roles/rate_mirrors/tasks/main.yml index d000b13..9d40fa2 100644 --- a/roles/rate_mirrors/tasks/main.yml +++ b/roles/rate_mirrors/tasks/main.yml @@ -10,13 +10,14 @@ become: true block: - name: Check for changes in /etc - ansible.builtin.command: git status --porcelain=v1 - args: + ansible.builtin.command: # noqa: command-instead-of-module + cmd: git status --porcelain=v1 chdir: /etc register: git_status changed_when: false - - ansible.builtin.fail: + - name: Fail + ansible.builtin.fail: msg: | There are uncommitted changes in /etc: {{ git_status.stdout }} -- cgit v1.2.3