Skip to content
Snippets Groups Projects
Commit c44bed71 authored by Andreas Hamacher's avatar Andreas Hamacher
Browse files

variables should not include dashes

Former-commit-id: 9f9ec3b7
parent b343e0ec
No related branches found
No related tags found
No related merge requests found
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
dest: '/etc/sysctl.d' dest: '/etc/sysctl.d'
become: true become: true
become_user: root become_user: root
register: sysctl-network-conf register: sysctl_network_conf
#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. #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. #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.
...@@ -13,4 +13,4 @@ ...@@ -13,4 +13,4 @@
shell: sysctl -p shell: sysctl -p
become: true become: true
become_user: root become_user: root
when: sysctl-network-conf.changed when: sysctl_network_conf.changed
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