]> git.phdru.name Git - ansible.git/blobdiff - playbooks/roles/phd/tasks/main.yml
Feat: Improve task names
[ansible.git] / playbooks / roles / phd / tasks / main.yml
index 985a98ec9d3a9b16d5a446c74839d956363f6573..163a34bc0b6a468ae646ac1488e744198bc2e7ce 100644 (file)
@@ -30,7 +30,7 @@
         group: phd
         groups: "{{ system_groups }}"
 
-    - name: Remove mc directories
+    - name: Remove default mc directories
       file:
         path: "{{ item }}"
         state: absent
@@ -43,7 +43,7 @@
       register: phd_extracted
       failed_when: "(ansible_facts.os_family == 'Debian' and 'rc' in phd_extracted and phd_extracted.rc != 0) or (ansible_facts.os_family == 'RedHat' and ('rc' in phd_extracted and phd_extracted.rc not in [0, 139]))"
 
-    - name: Add alias
+    - name: Add alias (Debian)
       become: true
       lineinfile:
         path: /etc/aliases
@@ -52,7 +52,7 @@
       when: ansible_facts.os_family == 'Debian'
   when: phd_exists.results|selectattr('stat.exists')|list|length != 2
 
-- name: Add alias
+- name: Add alias (RedHat)
   become: true
   lineinfile:
     path: /etc/aliases