Remove dpkg hook
It seams not possible to run hooks only on specific package updates
This commit is contained in:
parent
ebeb090ef8
commit
fd4b90f43d
2 changed files with 0 additions and 12 deletions
|
@ -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"
|
|
||||||
|
|
|
@ -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";};
|
|
Loading…
Reference in a new issue