From b83590e0ccc5dc8939a5d1601fcf28a8089776b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Sachse?= <joerg.sachse@slub-dresden.de> Date: Fri, 21 Apr 2023 14:20:37 +0200 Subject: [PATCH] chore: remove leftovers from Bash completion tasks. This is now done by postinstall scripts in the Debian package itself --- tasks/install_subapp.yml | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/tasks/install_subapp.yml b/tasks/install_subapp.yml index 2d71af3..6153369 100644 --- a/tasks/install_subapp.yml +++ b/tasks/install_subapp.yml @@ -206,30 +206,8 @@ owner: "{{ vault_subapp_user }}" group: "{{ vault_subapp_group }}" -# Bash-Completion funktioniert ab 2020.2 anders, s. Abschnitt AUTOCOMPLETION in perldoc bin/subapp_rosetta.pl und bin/disapp_rosetta.pl -# https://ansible-lint.readthedocs.io/en/latest/usage/#false-positives-skipping-rules -- name: Bash-Completion aktivieren # noqa command-instead-of-shell - ansible.builtin.shell: - chdir: "/usr/local/bin/" - cmd: "{{ item }}" - executable: "/usr/bin/bash" # Yup, this REALLY needs a Bash, so we HAVE to use ansible.builtin.shell, so don't show linter errors - loop: - - "complete -C subapp_rosetta.pl subapp_rosetta.pl" - - "complete -C disapp_rosetta.pl disapp_rosetta.pl" - changed_when: false -- name: alte Bash-Completion entfernen - ansible.builtin.file: - path: "/home/{{ vault_subapp_user }}/.bash_completion" - state: absent -# - name: Konfiguration für Bash-Completion einspielen -# ansible.builtin.copy: -# src: "home/{{ vault_subapp_user }}/.bash_completion" -# dest: "/home/{{ vault_subapp_user }}/.bash_completion" -# owner: "{{ vault_subapp_user }}" -# group: "{{ vault_subapp_group }}" -# mode: "0644" - name: alte Stichproben entfernen block: -- GitLab