Skip to content
Snippets Groups Projects
Commit 0377e5de authored by Andreas Hamacher's avatar Andreas Hamacher
Browse files

semaphores should be redhat only

Former-commit-id: d1bfb86c
parent a31f8036
No related branches found
No related tags found
No related merge requests found
......@@ -3,8 +3,10 @@
set_fact:
SEM_COUNT: "500\t256000\t64\t10240"
when: SEM_COUNT is not defined
- name: test value
debug: msg="Value of semaphores is {{ SEM_COUNT }} " #"
- name: Place comment line in file
lineinfile:
path: /etc/sysctl.d/88-setSemaphore.conf
......@@ -45,6 +47,7 @@
register: current_sem
changed_when: current_sem.stdout not in "{{ SEM_COUNT }}"
check_mode: no
when: ansible_os_family == 'RedHat'
#- debug:
# var: current_sem
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment