paulbsd-salt/states/upgrade/init.sls
Paul Lecuq 1f868d9aa9
All checks were successful
continuous-integration/drone/push Build is passing
added upgrade state
2023-07-02 21:38:43 +02:00

31 lines
514 B
Plaintext

---
upgrade_pkg_refresh:
module.run:
- name: pkg.refresh_db
upgrade_pkg_upgrade:
module.run:
- name: pkg.upgrade
upgrade_pkg_upgrade_dist:
module.run:
- name: pkg.upgrade
- dist: true
upgrade_pip_upgrade:
module.run:
- name: pip.install
- pkgs: salt,pip
- upgrade: true
upgrade_rust_upgrade:
module.run:
- name: cmd.run
- cmd: /home/paul/.cargo/bin/rustup update
- runas: paul
upgrade_pkg_autoremove:
module.run:
- name: pkg.autoremove
- dist: true