mirror of
https://github.com/geerlingguy/ansible-role-docker.git
synced 2025-07-28 13:46:36 +02:00
Fix idempotency
This commit is contained in:
parent
d44e0a20ff
commit
ff11a4a2a2
@ -2,6 +2,7 @@
|
||||
- name: Update cache
|
||||
apk:
|
||||
update_cache: true
|
||||
changed_when: false
|
||||
|
||||
- name: Make sure dependencies are present
|
||||
apk:
|
||||
@ -50,15 +51,15 @@
|
||||
when: swapaccount.changed and configure_swapaccount
|
||||
|
||||
- debug:
|
||||
msg: |
|
||||
For memory and swap limit support,
|
||||
please follow https://wiki.alpinelinux.org/wiki/Docker#Extlinux
|
||||
msg: |
|
||||
For memory and swap limit support,
|
||||
please follow https://wiki.alpinelinux.org/wiki/Docker#Extlinux
|
||||
when: bootloader.stdout == "syslinux"
|
||||
|
||||
- debug:
|
||||
msg: |
|
||||
For memory and swap limit support,
|
||||
please follow https://wiki.alpinelinux.org/wiki/Docker#Extlinux
|
||||
msg: |
|
||||
For memory and swap limit support,
|
||||
please follow https://wiki.alpinelinux.org/wiki/Docker#Extlinux
|
||||
when: bootloader.stdout == "grub" and not configure_swapaccount
|
||||
|
||||
- name: Reload facts
|
||||
|
Loading…
Reference in New Issue
Block a user