Set package on hold after installation

This commit is contained in:
phil 2024-01-21 12:16:59 +01:00
parent 24e959e72c
commit a7fa50096b
3 changed files with 23 additions and 1 deletions

View file

@ -13,6 +13,13 @@
- name: "Opensearch | Install opensearch"
ansible.builtin.apt:
name: opensearch
allow_change_held_packages: true
- name: Opensearch | Hold package
ansible.builtin.dpkg_selections:
name: opensearch
selection: hold
when: opensearch_plugins is defined
- name: "Opensearch | Install plugins"
ansible.builtin.command: