base.yml 515 B

12345678910111213141516
  1. - name: Reload apt cache
  2. command: apt-get update
  3. - name: Apply kernel configuration (proc)
  4. service: name=procps state=restarted
  5. - name: Apply kernel configuration (sys)
  6. service: name=sysfsutils state=restarted
  7. - name: Refresh sysfs configuration
  8. shell: cat /etc/sysfs.d/* > /etc/sysfs.conf
  9. notify:
  10. - Apply kernel configuration (sys)
  11. - name: Update motd
  12. shell: toilet -f future {{ ansible_fqdn }} > /var/run/motd && echo >> /var/run/motd && uname -snrvm >> /var/run/motd && echo >> /var/run/motd