aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roles/common/tasks/tool.yml
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-05-21 19:01:59 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2023-05-21 19:01:59 +0200
commitf20e3bf3557451047a3ab035de503cd2ce35a550 (patch)
treeaee99bb289cf4ca1a85ac983e8148f2eb1b8d82c /roles/common/tasks/tool.yml
parentmy_server: update docker-compose flags (diff)
downloadmaintenance-f20e3bf3557451047a3ab035de503cd2ce35a550.tar.gz
maintenance-f20e3bf3557451047a3ab035de503cd2ce35a550.zip
fix some ansible-lint warnings
Diffstat (limited to 'roles/common/tasks/tool.yml')
-rw-r--r--roles/common/tasks/tool.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/common/tasks/tool.yml b/roles/common/tasks/tool.yml
index f8fda64..48d0acc 100644
--- a/roles/common/tasks/tool.yml
+++ b/roles/common/tasks/tool.yml
@@ -1,8 +1,8 @@
- name: "Check for {{ item }}"
- command: "{{ item }} --version"
+ ansible.builtin.command: "{{ item }} --version"
register: cmd_result
changed_when: false
failed_when: false
- name: "Set fact about {{ item }}"
- set_fact: "has_{{ item | replace('-', '_') }}={{ cmd_result.rc == 0 }}"
+ ansible.builtin.set_fact: "has_{{ item | replace('-', '_') }}={{ cmd_result.rc == 0 }}"