Skip to content

Commit

Permalink
FreeBSD doesn't have any requirements, sysctl is part of the base system
Browse files Browse the repository at this point in the history
  • Loading branch information
gaima8 committed Oct 1, 2021
1 parent 304b896 commit 59b9f96
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
ansible.builtin.package:
name: "{{ sysctl_requirements }}"
state: present
when: sysctl_requirements | length > 0

- name: set sysctl setting
ansible.posix.sysctl:
Expand Down
1 change: 1 addition & 0 deletions vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
_sysctl_requirements:
default:
- procps
FreeBSD:
RedHat: &redhat_requirements
- procps-ng
Rocky: *redhat_requirements
Expand Down

0 comments on commit 59b9f96

Please sign in to comment.