12345678910111213141516171819202122 |
- - name: Reconfigure locales
- command: dpkg-reconfigure --frontend noninteractive locales
- - name: Reconfigure timezone
- raw: rm -f /etc/timezone ; dpkg-reconfigure --frontend noninteractive tzdata
- - 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
|