Commit 0527bf61 authored by 神楽坂玲奈's avatar 神楽坂玲奈

fix always changed

parent d20fa56c
Pipeline #1676 passed with stage
in 4 minutes and 2 seconds
......@@ -16,6 +16,7 @@
- name: check RTL8111
shell: 'lspci | grep RTL8111 || true'
register: check_rtl_result
changed_when: False
- name: install RTL8111 driver
become: true
apt:
......
......@@ -8,6 +8,7 @@
- name: detect swap
shell: 'swapon'
register: swap_result
changed_when: false
- name: add swap
include_tasks: 'swapon.yml'
when: 'ansible_memtotal_mb < 1024 and not swap_result.stdout'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment