aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roles/rate_mirrors/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'roles/rate_mirrors/tasks')
-rw-r--r--roles/rate_mirrors/tasks/main.yml7
1 files changed, 4 insertions, 3 deletions
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 }}