--- - name: touch sysctl.conf file: path: /etc/sysctl.conf state: touch - name: copy ff.conf copy: src: ff.conf dest: /etc/sysctl.d/ff.conf register: ff_conf - name: reload sysctl when: ff_conf.changed command: /usr/bin/sysctl -p