Hi together, at the moment I want to change some parameter values in sysctl.conf via sysctl, but I want to change them only when they are under my minimum requirements.
By now, I think the only way of doing so is to define two tasks: - one debug task to register a variable with the value of the specific parameter - and one sysctl task with a when statement checking this parameter The reason why I want to check the parameters for a minimum value is that I'm not and won't be an expert for every parameter in this configuration file. I think the developers and maintainers of the various distributions know much better than I what they are doing when setting a specific value. So I don't want to overwrite it with my minimum requirements. Do you know a better or at least a default way to check the parameter value before setting it? Thanks for your help and best regards, Felix -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/418be1cb-85fe-4d90-a2e7-e7466b203a49%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
