ansible/roles/common/tasks/main.yml

20 lines
343 B
YAML
Raw Normal View History

2019-09-14 11:49:23 -05:00
#!/usr/bin/ansible-playbook
# vim:ft=ansible:
---
- name: Update and upgrade apt packages
apt:
upgrade: "yes"
2019-09-14 11:49:23 -05:00
update_cache: yes
# One day
cache_valid_time: 86400
become: yes
2019-09-14 11:49:23 -05:00
- name: Install basic packages
apt:
name: "{{ packages }}"
vars:
packages:
- aptitude
- python-apt
- vim
become: yes