Skip to content
Snippets Groups Projects
Commit d9160f19 authored by abelgana's avatar abelgana Committed by GitHub
Browse files

Sysctl reload if needed after IP forward enabling

Add reload yes to reload sysctl if the value of net.ipv4.ip_forward changes.

- name: Enable ip forwarding
  sysctl:
    sysctl_file: "{{sysctl_file_path}}"
    name: net.ipv4.ip_forward
    value: 1
    state: present
    reload: yes
  tags:
    - bootstrap-os
parent ba0a03a8
Branches
Tags
No related merge requests found
...@@ -236,6 +236,7 @@ ...@@ -236,6 +236,7 @@
name: net.ipv4.ip_forward name: net.ipv4.ip_forward
value: 1 value: 1
state: present state: present
reload: yes
tags: tags:
- bootstrap-os - bootstrap-os
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment