Skip to content

Commit aca4f0a

Browse files
authored
Merge pull request #264 from stackhpc/feat/podman_uid
Support changing the podman user's uid
2 parents fe719d9 + 943f23b commit aca4f0a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

environments/common/inventory/group_vars/all/defaults.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,14 @@ grafana_address: "{{ hostvars[groups['grafana'].0].api_address }}"
2222

2323
# Note RockyLinux 8.5 defines system user/groups in range 201-999
2424
appliances_local_users_ansible_user_name: "{{ ansible_ssh_user | default(ansible_user) }}"
25+
appliances_local_users_podman_uid: 1001 # UID for podman user - normally next UID after default user
2526
appliances_local_users_podman: # also used in environments/common/inventory/group_vars/all/podman.yml:podman_users
2627
name: podman
2728
comment: Used for running all containers
2829
# Would like to set subuid so that we that we know what will appear in /etc/subuid
2930
# See: https://github.com/ansible/ansible/issues/68199
3031
home: /var/lib/podman
31-
uid: 1001
32+
uid: "{{ appliances_local_users_podman_uid }}"
3233

3334
appliances_local_users_default:
3435
- user:

0 commit comments

Comments
 (0)