Commit 05297ac5 authored by nanahira's avatar nanahira

fix sysctl

parent 7509b85c
Pipeline #40099 failed with stage
in 7 minutes and 6 seconds
- name: check if /etc/sysctl.d exists
stat:
path: /etc/sysctl.d
register: sysctl_d_exists
- name: create sysctl.d symlink when /etc/sysctl.d exists
become: true
file:
src: /etc/sysctl.conf
dest: /etc/sysctl.d/mycard-init.conf
state: link
force: yes
when: sysctl_d_exists.stat.exists
- name: swappiness
become: true
sysctl:
......
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