Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MrDoobPG committed Oct 11, 2019
1 parent 8e6e39d commit d101694
Showing 1 changed file with 17 additions and 5 deletions.
22 changes: 17 additions & 5 deletions menu/roles/update/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,29 @@
---
- name: Upgrade APT to the latest packages
apt:
name: "*"
- name : Update APT to latest packages
apt:
update_cache: yes
state: latest
autoclean: yes
autoremove: yes
cache_valid_time: 86400
register: apt_result

#- name: Upgrade APT to the latest packages
# apt:
# name: "*"
# update_cache: yes
# state: latest
# register: apt_result

- name: Upgrade Distrubution to the latest stable version
#apt: upgrade=dist state=present only_upgrade=yes
apt:
upgrade: dist
upgrade: full
state: present
register: apt_result

# upgrade: dist
# state: present
# register: apt_result

- name: Install a list of packages
apt:
Expand Down

0 comments on commit d101694

Please sign in to comment.