diff options
author | Johannes Stoelp <johannes.stoelp@gmail.com> | 2025-04-03 23:51:21 +0200 |
---|---|---|
committer | Johannes Stoelp <johannes.stoelp@gmail.com> | 2025-04-03 23:51:21 +0200 |
commit | cab1e45ad16ea17a88bad431d720bb12b1050f30 (patch) | |
tree | 5a8c968cabc3b92094d448c73d7814b17ecd4d3e /Makefile | |
parent | bbb2f0f6c6bb78a6cdea3a3ff172ce4dc9a4216e (diff) | |
download | ansible-ship-cab1e45ad16ea17a88bad431d720bb12b1050f30.tar.gz ansible-ship-cab1e45ad16ea17a88bad431d720bb12b1050f30.zip |
make: add target to update all installed pkgs
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -3,6 +3,9 @@ BACKUP := backup setup: ansible-playbook -i inventory.ini --diff setup.yml +update: + ansible -i inventory.ini -b -m ansible.builtin.package --args 'state=latest name=*' ship.lan + backup: ssh -t ship.lan "test -d $(BACKUP) \ || restic -r $(BACKUP) init \ |