- name: Reload apt cache command: apt-get update - name: Apply kernel configuration (proc) service: name=procps state=restarted - name: Apply kernel configuration (sys) service: name=sysfsutils state=restarted - name: Refresh sysfs configuration shell: cat /etc/sysfs.d/* > /etc/sysfs.conf notify: - Apply kernel configuration (sys) - name: Update motd shell: toilet -f future {{ ansible_fqdn }} > /var/run/motd && echo >> /var/run/motd && uname -snrvm >> /var/run/motd && echo >> /var/run/motd