Remove dpkg hook

It seams not possible to run hooks only on specific package
updates
This commit is contained in:
phil 2023-12-06 10:42:21 +01:00
parent ebeb090ef8
commit fd4b90f43d
2 changed files with 0 additions and 12 deletions

View file

@ -58,10 +58,3 @@
src: update-opensearch-plugins.j2 src: update-opensearch-plugins.j2
dest: "/usr/local/bin/{{ opensearch_plugin_update_script }}" dest: "/usr/local/bin/{{ opensearch_plugin_update_script }}"
mode: "0755" mode: "0755"
- name: "Opensearch | Enable dpkg hook"
ansible.builtin.template:
src: 72opensearch-updates.j2
dest: /etc/apt/apt.conf.d/72opensearch-updates
mode: "0644"

View file

@ -1,5 +0,0 @@
# {{ ansible_managed }}
# Reinstall Plugins
DPkg::Pre-Invoke {"/usr/local/bin/{{ opensearch_plugin_update_script }} purge";};
DPkg::Post-Invoke {"/usr/local/bin/{{ opensearch_plugin_update_script }} install";};