aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roles/common/tasks
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
parentdowngrade Ansible (diff)
downloadmaintenance-727ab17a644d52105746e18c301cf733b1181507.tar.gz
maintenance-727ab17a644d52105746e18c301cf733b1181507.zip
move Ansible files to src/
Diffstat (limited to 'roles/common/tasks')
-rw-r--r--roles/common/tasks/main.yml17
-rw-r--r--roles/common/tasks/tool.yml8
2 files changed, 0 insertions, 25 deletions
diff --git a/roles/common/tasks/main.yml b/roles/common/tasks/main.yml
deleted file mode 100644
index fb0eaed..0000000
--- a/roles/common/tasks/main.yml
+++ /dev/null
@@ -1,17 +0,0 @@
-- name: Check available tools
- ansible.builtin.include_tasks: tool.yml
- loop:
- - apt
- - docker
- - flatpak
- - pacman
- - rate-mirrors
- - snap
- - vagrant
- - yay
-
-- name: Check if /etc is versioned
- become: true
- ansible.builtin.stat:
- path: /etc/.git/config
- register: etc_versioned
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 }}"