Skip to content

Commit 6a6faeb

Browse files
dguidoclaude
andcommitted
Skip apt upgrade and reboot during update-users
Previously, running `./algo update-users` would trigger a full apt upgrade and potentially reboot the server because ubuntu.yml was tagged with `update-users`. This caused unexpected disconnections for all VPN clients (gaming, downloads, etc.) during what should be a simple user management operation. Now only facts.yml runs during update-users, which provides the necessary password facts for IPsec certificate generation without running apt upgrade or triggering reboots. Fixes #14518 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent ecafaef commit 6a6faeb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

roles/common/tasks/main.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,12 @@
1111

1212
- include_tasks: ubuntu.yml
1313
when: '"Ubuntu" in OS.stdout or "Linux" in OS.stdout'
14+
15+
# Include facts separately for update-users (skips apt upgrade/reboot in ubuntu.yml)
16+
- include_tasks: facts.yml
1417
tags:
1518
- update-users
1619

17-
1820
- name: Sysctl tuning
1921
sysctl: name="{{ item.item }}" value="{{ item.value }}"
2022
when: item.item is defined and item.item != none

0 commit comments

Comments
 (0)