Commit a57219e9 authored by Andreas Hamacher's avatar Andreas Hamacher
Browse files

Merge branch 'increase_ssd_disk' into 'master'

Made /var/lib/sssd 80 M instead of 40M

See merge request !546
parents f300485f 2c71b1ad
......@@ -55,8 +55,21 @@
become_user: root
notify: restart sssd
- name: Setting the size of /var/lib/sssd disk for ComputeNodes
set_fact:
ssd_size: "40M"
when: not ( (( inventory_hostname in groups.LoginNodes ) or ( inventory_hostname in groups.BackupNodes )))
- name: Setting the size of /var/lib/sssd disk for LoginNodes or Backup Nodes
set_fact:
ssd_size: "80M"
when: (( inventory_hostname in groups.LoginNodes ) or ( inventory_hostname in groups.BackupNodes ))
- name: Print size of /var/lib/sssd disk
debug: msg="Size of /var/lib/sssd disk is {{ ssd_size }}"
- name: "Make the cache a tmpfs"
mount: name=/var/lib/sss/db/ src=tmpfs fstype=tmpfs opts='size=40m' state=mounted
mount: name=/var/lib/sss/db/ src=tmpfs fstype=tmpfs opts='size={{ ssd_size }}' state=mounted
become: true
become_user: root
......
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