Commit 15516dfd authored by Thomas Gambier's avatar Thomas Gambier 🚴🏼 Committed by Rafael Monnerat

Correctly upgrade all apt related packages

/cc @jm @rafael 

/reviewed-on nexedi/slapos.package!83
parent 9c5f096d
- name: Install dctrl-tools using apt
apt: name=dctrl-tools state=latest
- name: get packages to upgrade
shell: grep-status -X -S apt -ns Package
register: packages_to_upgrade
check_mode: no
- name: Upgrade all apt related packages
apt: name={{ packages_to_upgrade.stdout.split('\n') }} state=latest
...@@ -12,7 +12,7 @@ dependencies: ...@@ -12,7 +12,7 @@ dependencies:
- { role: package, package_name: exim4-base, package_state: absent } - { role: package, package_name: exim4-base, package_state: absent }
- { role: package, package_name: slapos-node, package_state: latest } - { role: package, package_name: slapos-node, package_state: latest }
- { role: package, package_name: re6st-node, package_state: latest } - { role: package, package_name: re6st-node, package_state: latest }
- { role: package, package_name: apt, package_state: latest } - { role: upgrade-apt, when: is_debian_or_ubuntu }
- { role: re6stnet-ensure-running } - { role: re6stnet-ensure-running }
- { role: etckeeper } - { role: etckeeper }
- { role: vifib-team-ssh-key } - { role: vifib-team-ssh-key }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment