27 lines
596 B
YAML
27 lines
596 B
YAML
---
|
|
- name: gather OS specific variables
|
|
include_vars: "{{ item }}"
|
|
with_first_found:
|
|
- "{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yaml"
|
|
- "{{ ansible_distribution }}.yaml"
|
|
- "{{ ansible_os_family }}.yaml"
|
|
|
|
- name: install system utilities
|
|
package:
|
|
name: "{{ item }}"
|
|
state: present
|
|
with_items: "{{ sys_utils }}"
|
|
|
|
- name: configure system timezone
|
|
timezone:
|
|
name: "{{ timezone }}"
|
|
notify: restart cron
|
|
|
|
- name: enable serial console
|
|
service:
|
|
name: getty@ttyS0.service
|
|
state: started
|
|
enabled: yes
|
|
|
|
# vim:ft=yaml.ansible:
|