ansible/roles/common/tasks/main.yml
Salt d41b4ebbdf Turn upgrade fields in apt modules into strings
This fixes a small but annoying warning
2020-02-20 04:02:01 -06:00

20 lines
343 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: yes
- name: Install basic packages
apt:
name: "{{ packages }}"
vars:
packages:
- aptitude
- python-apt
- vim
become: yes