Skip to content

Commit

Permalink
#157 fix lintern warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonio Arenzana Pulido committed Sep 6, 2022
1 parent d9923f5 commit 3b5fe1f
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 23 deletions.
28 changes: 14 additions & 14 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,20 @@ solr_sysctl_required_packages:
- procps

solr_sysctl_properties:
- name: net.core.rmem_max
value: 16777216
- name: net.core.wmem_max
value: 16777216
- name: net.core.somaxconn
value: 4096
- name: net.core.netdev_max_backlog
value: 16384
- name: net.ipv4.tcp_max_syn_backlog
value: 8192
- name: net.ipv4.tcp_syncookies
value: 1
- name: vm.max_map_count
value: 262144
- name: net.core.rmem_max
value: 16777216
- name: net.core.wmem_max
value: 16777216
- name: net.core.somaxconn
value: 4096
- name: net.core.netdev_max_backlog
value: 16384
- name: net.ipv4.tcp_max_syn_backlog
value: 8192
- name: net.ipv4.tcp_syncookies
value: 1
- name: vm.max_map_count
value: 262144

# swap
solr_disable_swap: true
Expand Down
2 changes: 1 addition & 1 deletion molecule/standalone/group_vars/solr/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ solr_agents_config:

solr_environment_ui: "test,label=Molecule+test,color=green"
solr_mode: standalone
solr_os_tunning: false
solr_os_tunning: false
6 changes: 1 addition & 5 deletions tasks/os-tunning.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
sysctl:
name: "{{ item.name }}"
value: "{{ item.value }}"
sysctl_set: yes
sysctl_set: true
state: present
with_items: "{{ solr_sysctl_properties }}"
when: solr_sysctl_properties is defined
Expand All @@ -22,7 +22,6 @@
limit_type: soft
limit_item: nofile
value: "{{ solr_nofile_soft_limit }}"
register: ulimit
when: solr_nofile_soft_limit is defined

- name: Solr | Set to {{ solr_nofile_hard_limit }} the nofile hard limit
Expand All @@ -31,7 +30,6 @@
limit_type: hard
limit_item: nofile
value: "{{ solr_nofile_hard_limit }}"
register: ulimit
when: solr_nofile_hard_limit is defined

- name: Solr | Set to {{ solr_nproc_soft_limit }} the nproc soft limit
Expand All @@ -40,7 +38,6 @@
limit_type: soft
limit_item: nproc
value: "{{ solr_nproc_soft_limit }}"
register: ulimit
when: solr_nproc_soft_limit is defined

- name: Solr | Set to {{ solr_nproc_hard_limit }} the nproc hard limit
Expand All @@ -49,7 +46,6 @@
limit_type: hard
limit_item: nproc
value: "{{ solr_nproc_hard_limit }}"
register: ulimit
when: solr_nproc_hard_limit is defined

- name: Solr | Disable SWAP (1/2)
Expand Down
2 changes: 1 addition & 1 deletion vars/Debian-10.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---

solr_external_libraries_required_packages:
- python-lxml
- python-lxml
2 changes: 1 addition & 1 deletion vars/Debian-9.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---

solr_external_libraries_required_packages:
- python-lxml
- python-lxml
2 changes: 1 addition & 1 deletion vars/Ubuntu-20.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---

solr_external_libraries_required_packages:
- python-lxml
- python-lxml

0 comments on commit 3b5fe1f

Please sign in to comment.