Ansible Galaxy Role: Common configuration for Ubuntu instances hosted on Linode
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
530 B

---
- name: preflight | install ntp
apt:
name: ntp
state: present
become: yes
- name: preflight | ensure ntp is running on boot
service:
name: ntp
state: started
enabled: yes
become: yes
- name: preflight | Set Timezone
timezone:
name: "{{ preflight__timezone }}"
become: yes
- name: preflight | copy 10periodic unattended upgrades
template:
src: "etc/apt/apt.conf.d/10periodic.j2"
dest: "/etc/apt/apt.conf.d/10periodic"
owner: root
group: root
mode: 0644
become: yes