Advertisement
Guest User

Untitled

a guest
Feb 5th, 2015
232
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.56 KB | None | 0 0
  1. ---
  2. - name: Set kernel.shmmax in sysctl.conf
  3.   lineinfile:
  4.     dest: "/etc/sysctl.conf"
  5.     line: "kernel.shmmax=134217728"
  6.     regexp: "^kernel.shmmax"
  7.     state: present
  8.   sudo: yes
  9.  
  10. - name: Set kernel.shmmax with sysctl
  11.   shell: sysctl -w kernel.shmmax=134217728
  12.   sudo: yes
  13.  
  14. - name: Set kernel.shmall in sysctl.conf
  15.   lineinfile:
  16.     dest: "/etc/sysctl.conf"
  17.     line: "kernel.shmall=2097152"
  18.     regexp: "^kernel.shmall"
  19.     state: present
  20.   sudo: yes
  21.  
  22. - name: Set kernel.shmall with sysctl
  23.   shell: sysctl -w kernel.shmall=2097152
  24.   sudo: yes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement