aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roles/common/tasks/tool.yml
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-07-31 23:44:54 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2023-07-31 23:44:54 +0200
commit727ab17a644d52105746e18c301cf733b1181507 (patch)
tree71113c6efae3074899de965aee5489cb76362f8e /roles/common/tasks/tool.yml
parentdowngrade Ansible (diff)
downloadmaintenance-727ab17a644d52105746e18c301cf733b1181507.tar.gz
maintenance-727ab17a644d52105746e18c301cf733b1181507.zip
move Ansible files to src/
Diffstat (limited to 'roles/common/tasks/tool.yml')
-rw-r--r--roles/common/tasks/tool.yml8
1 files changed, 0 insertions, 8 deletions
diff --git a/roles/common/tasks/tool.yml b/roles/common/tasks/tool.yml
deleted file mode 100644
index 48d0acc..0000000
--- a/roles/common/tasks/tool.yml
+++ /dev/null
@@ -1,8 +0,0 @@
-- name: "Check for {{ item }}"
- ansible.builtin.command: "{{ item }} --version"
- register: cmd_result
- changed_when: false
- failed_when: false
-
-- name: "Set fact about {{ item }}"
- ansible.builtin.set_fact: "has_{{ item | replace('-', '_') }}={{ cmd_result.rc == 0 }}"