Someday, this will work , when the developer adds support for when changed
#- name: remove sssd.conf:debug_level = 9 (X)
#- name: remove sssd.conf:debug_level = 9 (X)
I feel a right bit nit wit, Foiled again by indentation. Uggg.
back that register up, beep beep beep beep.
now it works great and stands tall above all useful modules, ummm, as always.
name: remove sssd.conf:debug_level = 9 (X)
lineinfile: >
dest=“/etc/sssd/sssd.conf”
state=absent
backup=yes
regexp=“^debug_level =”
register: sssdConf
name: test command
shell: “echo sssd.conf has debug_level set > /tnp/sssd.debug.check”
when: sssdConf is changed