feat: add when condition to allow other upgrades in the future
This commit is contained in:
parent
51e4ca3843
commit
0ecefd6843
1 changed files with 3 additions and 0 deletions
|
|
@ -10,3 +10,6 @@
|
|||
# force update time
|
||||
- name: "import alpine upgrade tasks"
|
||||
ansible.builtin.import_tasks: "tasks/alpine323.yaml"
|
||||
when:
|
||||
- "ansible_distribution == 'Alpine'"
|
||||
- "'3.22' in ansible_distribution_version"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue