- separate out package update to its own role
- further refinements
This commit is contained in:
@@ -2,12 +2,6 @@
|
||||
- name: Include OS-specific variables
|
||||
include_vars: "os_{{ ansible_lsb.id }}_{{ ansible_lsb.major_release }}.yml"
|
||||
|
||||
- name: Upgrade all packages to the latest version
|
||||
become: true
|
||||
apt:
|
||||
upgrade: yes
|
||||
update_cache: yes
|
||||
tags: apt_upgrade
|
||||
- name: Create directories
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
|
||||
Reference in New Issue
Block a user