-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Description
Freshly deployed on AWS EC2, when tried to ./algo update-users
Retain PKI option = y during initial setup.
To Reproduce
Steps to reproduce the behavior:
- Successful install of algo on AWS EC2 with retain PKI option as Y
- Update users section in config.cfg
- run ./algo update-users
Expected behavior
Users get updated according to what's in the config.cfg
Full log
uv (Python package manager) not found. Installing...
Attempting to install uv via system package manager...
Ubuntu detected. Additional trusted installation options available:
-
pipx (official PyPI, installs ~9 packages)
Command: sudo apt install pipx && pipx install uv -
snap (community-maintained by Canonical employee)
Command: sudo snap install astral-uv --classic
Source: https://github.com/lengau/uv-snap -
Continue to official installer script download
Choose installation method (1/2/3): 3
uv is not available via system package managers on this system.
To continue, we need to download and execute an installation script from:
https://astral.sh/uv/install.sh (Linux/macOS)
https://astral.sh/uv/install.ps1 (Windows)
For maximum security, you can install uv manually instead:
- Visit: https://docs.astral.sh/uv/getting-started/installation/
- Download the binary for your platform from GitHub releases
- Verify checksums and install manually
- Then run: ./algo
Continue with script download? (y/N): y
Downloading uv installation script...
downloading uv 0.8.5 x86_64-unknown-linux-gnu
no checksums to verify
installing to /home/ubuntu/.local/bin
uv
uvx
everything's installed!
✓ uv installed successfully via official installer!
Uninstalled 1 package in 0.81ms
Installed 1 package in 3ms
[WARNING]: skipping vars_file item due to an undefined variable
Origin: /home/ubuntu/algo/users.yml:88:7
86 vars_files:
87 - config.cfg
88 - configs/{{ inventory_hostname }}/.config.yml
^ column 7
PLAY [Manage VPN Users] ************************************************************************************************
TASK [Get list of installed config files] ******************************************************************************
ok: [localhost]
TASK [Verify servers] **************************************************************************************************
ok: [localhost] => {
"changed": false,
"msg": "All assertions passed"
}
TASK [Build list of installed servers] *********************************************************************************
ok: [localhost]
TASK [Server address prompt] *******************************************************************************************
[ERROR]: Task failed: Finalization of task args for 'ansible.builtin.pause' failed: Error while resolving value for 'prompt': object of type 'str' has no attribute 'server'
Task failed.
Origin: /home/ubuntu/algo/users.yml:33:11
31 {% endfor %}]
32
33 - name: Server address prompt
^ column 11
<<< caused by >>>
Finalization of task args for 'ansible.builtin.pause' failed.
Origin: /home/ubuntu/algo/users.yml:34:11
32
33 - name: Server address prompt
34 pause:
^ column 11
<<< caused by >>>
Error while resolving value for 'prompt': object of type 'str' has no attribute 'server'
Origin: /home/ubuntu/algo/users.yml:35:21
33 - name: Server address prompt
34 pause:
35 prompt: |
^ column 21
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Task failed: Finalization of task args for 'ansible.builtin.pause' failed: Error while resolving value for 'prompt': object of type 'str' has no attribute 'server'"}
PLAY RECAP *************************************************************************************************************
localhost : ok=3 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0