summaryrefslogtreecommitdiff
path: root/roles
diff options
context:
space:
mode:
authorDmitry Ilvokhin <d@ilvokhin.com>2024-03-11 22:11:00 +0000
committerDmitry Ilvokhin <d@ilvokhin.com>2024-03-11 22:11:00 +0000
commitf83bde262941cbb3f6f4ed3b1e56f557529bda91 (patch)
treecae80a991fcab8efdefc02f98c8693397f109d72 /roles
parent388bc6a6a113e0c424995645b3805275e37f3616 (diff)
downloadinfra-f83bde262941cbb3f6f4ed3b1e56f557529bda91.tar.gz
infra-f83bde262941cbb3f6f4ed3b1e56f557529bda91.tar.bz2
infra-f83bde262941cbb3f6f4ed3b1e56f557529bda91.zip
Add tags to dotfiles role
Diffstat (limited to 'roles')
-rw-r--r--roles/dotfiles/tasks/main.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/roles/dotfiles/tasks/main.yml b/roles/dotfiles/tasks/main.yml
index 85879a2..beb8aeb 100644
--- a/roles/dotfiles/tasks/main.yml
+++ b/roles/dotfiles/tasks/main.yml
@@ -5,6 +5,7 @@
# installed and then bring relevant dotfiles for it.
- name: Configure bash if installed
+ tags: bash
block:
- name: Check if bash is installed
ansible.builtin.command: bash --version
@@ -25,6 +26,7 @@
when: has_bash.rc == 0
- name: Configure vim if installed
+ tags: vim
block:
- name: Check if vim is installed
ansible.builtin.command: vim --version
@@ -39,6 +41,7 @@
when: has_vim.rc == 0
- name: Configure screen if installed
+ tags: screen
block:
- name: Check if screen is installed
ansible.builtin.command: screen --version
@@ -54,6 +57,7 @@
when: has_screen.rc == 1
- name: Configure ssh if installed
+ tags: ssh
block:
- name: Check if ssh is installed
ansible.builtin.command: ssh -V
@@ -88,6 +92,7 @@
- jumphost
- name: Configure git if installed
+ tags: git
block:
- name: Check if git is installed
ansible.builtin.command: git --version
@@ -102,6 +107,7 @@
when: has_git.rc == 0
- name: Configure gdb if installed
+ tags: gdb
block:
- name: Check if gdb is installed
ansible.builtin.command: gdb --version
@@ -116,6 +122,7 @@
when: has_gdb.rc == 0
- name: Configure mutt if installed
+ tags: mutt
block:
- name: Check if mutt is installed
ansible.builtin.command: mutt -v
@@ -130,6 +137,7 @@
when: has_mutt.rc == 0
- name: Copy templates files if necessary
+ tags: templates
block:
- name: Check if C++ compiler is installed
ansible.builtin.command: c++ --version