adjust patterns after sysupgrade
[ansible.git] / upgrade.yml
1 - hosts: all
2   gather_facts: no
3   tasks:
4   - name: autoremove
5     apt: autoremove=yes
6   - name: autoclean
7     apt: autoclean=yes
8   - name: system upgrade
9     apt: update_cache=yes upgrade=dist
10     environment:
11       NEEDRESTART_MODE: a
12     register: upgrade
13 #  - debug: msg={{ upgrade.msg }}