Skip to content

Commit

Permalink
Merge pull request #254 from kravietz/master
Browse files Browse the repository at this point in the history
Remove trailing whitespaces (ansible-lint 201)
  • Loading branch information
rndmh3ro authored Jan 15, 2020
2 parents 75935cb + 2ee1e2c commit aa3ceed
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tasks/sysctl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
set_fact:
sysctl_config: '{{ sysctl_config | combine(sysctl_overwrite) }}'
when: sysctl_overwrite | default()

- name: Change various sysctl-settings, look at the sysctl-vars file for documentation
sysctl:
name: '{{ item.key }}'
Expand All @@ -51,7 +51,7 @@
reload: yes
ignoreerrors: yes
with_dict: '{{ sysctl_config }}'

- name: Change various sysctl-settings on rhel6-hosts or older, look at the sysctl-vars file for documentation
sysctl:
name: '{{ item.key }}'
Expand All @@ -62,7 +62,7 @@
with_dict: '{{ sysctl_rhel_config }}'
when: ((ansible_facts.distribution == 'RedHat' or ansible_facts.distribution == 'Fedora' or ansible_facts.distribution == 'CentOS') and
ansible_distribution_version|int is version('7', '<')) or ansible_facts.distribution == 'Amazon'

when: ansible_virtualization_type not in ['docker', 'openvz', 'lxc']

- name: Apply ufw defaults
Expand Down

0 comments on commit aa3ceed

Please sign in to comment.