It could be useful for the sysctl module to have a 'create' parameter similar to many other file related modules. This would make it easier to modify settings in a sysctl file only if it already exists. Having create: no would not create the settings file. Having create: yes (default) would create the settings file if it does not yet exist.
ISSUE TYPE
Feature Idea
COMPONENT NAME
sysctl
ADDITIONAL INFORMATION
Having a 'create' parameter would reduce the code necessary to handle a situation when you don't want to create the setting file but only modify a possibly existing one.
SUMMARY
It could be useful for the sysctl module to have a 'create' parameter similar to many other file related modules. This would make it easier to modify settings in a sysctl file only if it already exists. Having create: no would not create the settings file. Having create: yes (default) would create the settings file if it does not yet exist.
ISSUE TYPE
COMPONENT NAME
sysctl
ADDITIONAL INFORMATION
Having a 'create' parameter would reduce the code necessary to handle a situation when you don't want to create the setting file but only modify a possibly existing one.