From 3f359ec1c2e8ce441201a4b9442cc7f2a640365b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=B6rg=20Sachse?= <Joerg.Sachse@slub-dresden.de>
Date: Fri, 23 Jul 2021 13:17:57 +0200
Subject: [PATCH] fix: ND-1993 - improve task names

---
 tasks/configure_apache.yml          |  4 ++--
 tasks/configure_local_mounts.yml    |  2 +-
 tasks/install_callas_pdf_engine.yml | 11 +++--------
 3 files changed, 6 insertions(+), 11 deletions(-)

diff --git a/tasks/configure_apache.yml b/tasks/configure_apache.yml
index 897311f..4c39fa6 100644
--- a/tasks/configure_apache.yml
+++ b/tasks/configure_apache.yml
@@ -1,6 +1,6 @@
 ---
 ### APACHE KONFIGURIEREN ###
-- name: Konfigurationsdateien einspielen (copied)
+- name: Apache-Konfigurationsdateien einspielen (copied)
   copy:
     src: "{{ item.src }}"
     dest: "{{ item.dest }}"
@@ -12,7 +12,7 @@
   notify:
     - restart apache
 
-- name: Konfigurationsdateien einspielen (templated)
+- name: Apache-Konfigurationsdateien einspielen (templated)
   template:
     src: "{{ item.src }}.j2"
     dest: "{{ item.dest }}"
diff --git a/tasks/configure_local_mounts.yml b/tasks/configure_local_mounts.yml
index 2a2eb80..acc351a 100644
--- a/tasks/configure_local_mounts.yml
+++ b/tasks/configure_local_mounts.yml
@@ -1,5 +1,5 @@
 ---
-- name: tmpfs
+- name: Mount tmpfs for non-persistent and fast /tmp directory
   mount:
     boot: "yes"
     fstype: "tmpfs"
diff --git a/tasks/install_callas_pdf_engine.yml b/tasks/install_callas_pdf_engine.yml
index 322953f..971f398 100644
--- a/tasks/install_callas_pdf_engine.yml
+++ b/tasks/install_callas_pdf_engine.yml
@@ -37,7 +37,7 @@
     path: "/usr/local/lib/callas_pdfEngineSDK_x64_Linux_{{ vault_callas_sdk_version }}.tar.gz"
     state: absent
 
-- name: set permissions
+- name: set permissions for PDFEngine
   file:
     path: "/usr/local/lib/callas_pdfEngine_SDK_x64"
     group: "www-data"
@@ -53,7 +53,7 @@
     - "lib"
     - "lang"
 
-- name: remove symlinks to distro version of libstdc++
+- name: remove symlinks to distro version of libstdc++, because we need to use what's provided with PDFEngine
   file:
     path: "{{ item }}"
     state: absent
@@ -61,12 +61,7 @@
     - "/usr/local/lib/callas_pdfEngine_SDK_x64/lib/libstdc++.so"
     - "/usr/local/lib/callas_pdfEngine_SDK_x64/lib/libstdc++.so.6"
 
-- name: install packages
-  apt:
-    name: "libstdc++-8-dev"
-    state: present
-
-- name: create symlinks to system libraries
+- name: create symlinks to system libraries, because we need to use what's provided with PDFEngine
   file:
     src: "{{ item.src }}"
     dest: "{{ item.dest }}"
-- 
GitLab