Skip to content
Snippets Groups Projects
Commit fa7a63cb authored by Trung Nguyen's avatar Trung Nguyen
Browse files

Update main.yml

parent 37a668b3
No related branches found
No related tags found
No related merge requests found
...@@ -6,6 +6,8 @@ ...@@ -6,6 +6,8 @@
become: true become: true
become_user: root become_user: root
#The sysctl module manages entries in sysctl.conf and setting "reload :yes" performs a /sbin/sysctl -p if the sysctl file is updated. In addition this module requires a name for a specific sysctl variable in order to work.
#In this case we need to update the network configuration and making no change to the sysctl.conf file hence the module is not applicable. I am replacing it with a shell module instead.
- name: Reloading sysctl - name: Reloading sysctl
shell: sysctl -p shell: sysctl -p
become: true become: true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment