Commit ec723b82 authored by nanahira's avatar nanahira

use block

parent 48fd15f3
Pipeline #2752 failed with stage
in 8 minutes and 2 seconds
......@@ -6,7 +6,7 @@
creates: /swapfile
- name: swap fstab
become: true
lineinfile:
blockinfile:
path: /etc/fstab
line: '/swapfile none swap defaults 0 0'
insertafter: 'EOF'
block: '/swapfile none swap defaults 0 0'
marker: '# Generated by MyCard Init'
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