teaching-webterm/ansible/tasks/setup_base.yml

21 lines
340 B
YAML
Raw Normal View History

2022-05-26 15:31:39 +00:00
---
- name: Sync time
ansible.builtin.shell:
cmd: ntpdate 0.debian.pool.ntp.org
ignore_errors: yes
- name: Install required system packages
ansible.builtin.apt:
name:
- vim
- ntpdate
state: latest
update_cache: true
- name: Sync time
ansible.builtin.command:
cmd: ntpdate 0.debian.pool.ntp.org
#