Timezone #27

Merged
alanorth merged 2 commits from timezone into master 2016-06-27 09:31:58 +02:00
2 changed files with 9 additions and 1 deletions
Showing only changes of commit 06034a8b8b - Show all commits

View File

@ -8,6 +8,15 @@
# lineinfile: dest=/etc/hosts insertafter=^127.0.0.1 line='127.0.1.1 {{ inventory_hostname }}'
# tags: hostname
- name: Set timezone
when: timezone is defined
command: /usr/bin/timedatectl set-timezone {{ timezone }}
tags: timezone
- name: Enable NTP
command: /usr/bin/timedatectl set-ntp on
tags: ntp
- include: packages_Ubuntu.yml
when: ansible_distribution == 'Ubuntu'
tags: packages

View File

@ -12,7 +12,6 @@
- name: Install base packages
apt: pkg={{ item }}
with_items:
- ntp
- git
- tmux
- iotop