18 lines
305 B
YAML
18 lines
305 B
YAML
|
#!/usr/bin/ansible-playbook
|
||
|
# vim:ft=ansible:
|
||
|
---
|
||
|
- name: Update and upgrade apt packages
|
||
|
apt:
|
||
|
upgrade: yes
|
||
|
update_cache: yes
|
||
|
# One day
|
||
|
cache_valid_time: 86400
|
||
|
become: true
|
||
|
- name: Install basic packages
|
||
|
apt:
|
||
|
name: "{{ packages }}"
|
||
|
vars:
|
||
|
packages:
|
||
|
- vim
|
||
|
become: true
|