---
- name: Update apt
  become: yes
  apt: update_cache=yes

- name: Install sys Packages
  become: yes
  apt: pkg={{ item }} state=latest
  with_items: "{{ sys_packages }}"

- name: Configure the timezone
  become: yes
  template: src=timezone.tpl dest=/etc/timezone

- name: More Configure the timezone
  become: yes
  file: src=/usr/share/zoneinfo/{{timezone}} dest=/etc/localtime state=link force=yes backup=yes

---
- name: Update apt
  become: yes
  apt: update_cache=yes

- name: Install sys Packages
  become: yes
  apt: pkg={{ item }} state=latest
  with_items: "{{ sys_packages }}"

- name: Configure the timezone
  become: yes
  template: src=timezone.tpl dest=/etc/timezone

- name: More Configure the timezone
  become: yes
  file: src=/usr/share/zoneinfo/{{timezone}} dest=/etc/localtime state=link force=yes backup=yes

- name: Hourly restart cron job
  cron: name="restart libraries" minute="1" job="/sbin/restart librariesio > /dev/null 2>&1"

Add hourly restart cron job
Add hourly restart cron job
