2019-09-14 11:49:23 -05:00
|
|
|
#!/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
|
2020-02-05 21:13:04 -06:00
|
|
|
become: yes
|
2019-09-14 11:49:23 -05:00
|
|
|
- name: Install basic packages
|
|
|
|
apt:
|
|
|
|
name: "{{ packages }}"
|
|
|
|
vars:
|
|
|
|
packages:
|
2019-10-11 19:12:00 -05:00
|
|
|
- python-apt
|
|
|
|
- vim
|
2020-02-05 21:13:04 -06:00
|
|
|
become: yes
|