Commit 7ef0e294 authored by nanahira's avatar nanahira

remove swapon

parent 0bbaac67
Pipeline #40699 failed with stage
in 4 minutes and 59 seconds
...@@ -5,13 +5,13 @@ ...@@ -5,13 +5,13 @@
- name: sshd config - name: sshd config
include_tasks: sshd_config.yml include_tasks: sshd_config.yml
when: not testing when: not testing
- name: detect swap #- name: detect swap
shell: '/sbin/swapon' # shell: '/sbin/swapon'
register: swap_result # register: swap_result
changed_when: false # changed_when: false
- name: add swap #- name: add swap
include_tasks: 'swapon.yml' # include_tasks: 'swapon.yml'
when: 'ansible_memtotal_mb < 1024 and not swap_result.stdout' # when: 'ansible_memtotal_mb < 1024 and not swap_result.stdout'
- name: railgun - name: railgun
include_tasks: 'railgun.yml' include_tasks: 'railgun.yml'
when: railgun when: railgun
......
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