Skip to content

Commit

Permalink
check_mode: false
Browse files Browse the repository at this point in the history
  • Loading branch information
vitabaks authored Nov 22, 2024
1 parent 721fbfc commit fdeea54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions automation/roles/pre-checks/tasks/huge_pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,15 @@
- name: "HugePages | Get Hugepagesize value from /proc/meminfo"
ansible.builtin.command: "awk '/Hugepagesize/ {print $2}' /proc/meminfo"
changed_when: false
check_mode: true
check_mode: false
register: huge_page_size
when:
- shared_buffers_gb | default(0) | int >= (min_shared_buffers_gb | default(8))

- name: "HugePages | Get HugePages_Total value from /proc/meminfo"
ansible.builtin.command: "awk '/HugePages_Total/ {print $2}' /proc/meminfo"
changed_when: false
check_mode: true
check_mode: false
register: huge_pages_total
when:
- shared_buffers_gb | default(0) | int >= (min_shared_buffers_gb | default(8))
Expand Down

0 comments on commit fdeea54

Please sign in to comment.