]> git.phdru.name Git - ansible.git/commitdiff
Feat: Improve task names
authorOleg Broytman <phd@phdru.name>
Mon, 18 Nov 2019 17:12:47 +0000 (20:12 +0300)
committerOleg Broytman <phd@phdru.name>
Mon, 18 Nov 2019 17:12:47 +0000 (20:12 +0300)
playbooks/debian/init-local-phd.yml
playbooks/debian/roles/add-dns-domain/tasks/main.yml
playbooks/redhat/init-local-phd.yml
playbooks/roles/packages/tasks/main.yml
playbooks/roles/phd/tasks/main.yml
playbooks/roles/python-dev-packages/tasks/main.yml
playbooks/roles/python-packages/tasks/main.yml

index 1c1f89fecfe3e67b79cd0ce3120433f2d407cdf5..63e188b193c66b572a7c030dce49d64409f1f490 100644 (file)
@@ -14,7 +14,7 @@
       become: true
       group:
         name: phd
-    - name: user phd
+    - name: Create user phd
       become: true
       user:
         name: phd
index e61fd3dcc33e2d89d6fce494ff0d3223f5d79aa6..cf5e1d2af188f53716fd3a806cfbbdb0b9a6319c 100644 (file)
@@ -15,7 +15,7 @@
         mode: '0600'
         force: no
 
-    - name: Update config
+    - name: Update domain config
       become: true
       shell: |
         echo '
index 0fb6baff1c9bab858ea898655d7cb9593b8cae4f..9ed9e9dd6f96497393cfaa896c5dbad6f72df147 100644 (file)
@@ -14,7 +14,7 @@
       become: true
       group:
         name: phd
-    - name: user phd
+    - name: Create user phd
       become: true
       user:
         name: phd
index bcc6668ae28c046a888531a7440015451bb23511..c3220831be25f408d87b21b189af25b9945e2c41 100644 (file)
@@ -1,4 +1,4 @@
-- name: Install software packages
+- name: Install software packages (Debian)
   become: true
   apt:
     autoclean: yes
@@ -12,7 +12,7 @@
     update_cache: yes
   when: ansible_facts.os_family == 'Debian'
 
-- name: Install software packages
+- name: Install software packages (RedHat)
   become: true
   dnf:
     name: ['adjtimex', 'arj', 'mailx', 'elinks', 'fetchmail', 'links',
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
index 03670d12e10085235398ac0903b84436dc2b6871..a0cfe3c6ab91c74abcc9c2f6472e27f525d30826 100644 (file)
@@ -11,7 +11,7 @@
     update_cache: yes
   when: ansible_facts.os_family == 'Debian' and ansible_facts.distribution_major_version == '9'
 
-- name: Install development packages
+- name: Install development packages (Debian)
   become: true
   apt:
     autoclean: yes
@@ -29,7 +29,7 @@
     update_cache: yes
   when: ansible_facts.os_family == 'Debian'
 
-- name: Install development packages
+- name: Install development packages (RedHat)
   become: true
   dnf:
     name: ['bzip2-devel', 'expat-devel', 'gdbm-devel', 'gmp-devel',
index 0abb3a1ea6a6a1d068207ca5172fc90e50b52302..e01e020dfa39fea00ad78452dc00be488fd27870 100644 (file)
@@ -1,4 +1,4 @@
-- name: Install Python and packages
+- name: Install Python and packages (Debian)
   become: true
   apt:
     autoclean: yes
@@ -14,7 +14,7 @@
   register: python
   when: ansible_facts.os_family == 'Debian'
 
-- name: Install Python and packages
+- name: Install Python and packages (RedHat)
   become: true
   dnf:
     name: ['python2', 'python3', 'python2-pip', 'python3-pip',