base.yml 715 B

12345678910111213141516171819202122
  1. - name: Reconfigure locales
  2. command: dpkg-reconfigure --frontend noninteractive locales
  3. - name: Reconfigure timezone
  4. raw: rm -f /etc/timezone ; dpkg-reconfigure --frontend noninteractive tzdata
  5. - name: Reload apt cache
  6. command: apt-get update
  7. - name: Apply kernel configuration (proc)
  8. service: name=procps state=restarted
  9. - name: Apply kernel configuration (sys)
  10. service: name=sysfsutils state=restarted
  11. - name: Refresh sysfs configuration
  12. shell: cat /etc/sysfs.d/* > /etc/sysfs.conf
  13. notify:
  14. - Apply kernel configuration (sys)
  15. - name: Update motd
  16. shell: toilet -f future {{ ansible_fqdn }} > /var/run/motd && echo >> /var/run/motd && uname -snrvm >> /var/run/motd && echo >> /var/run/motd