Skip to content

Commit

Permalink
fix useradd warning: {grafana,prometheus}'s uid * outside of the UID_…
Browse files Browse the repository at this point in the history
…MIN 1000 and UID_MAX 60000 range.
  • Loading branch information
sjpb committed Jan 25, 2024
1 parent 6e8ea6c commit e5608d9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions environments/common/inventory/group_vars/all/defaults.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ appliances_local_users_default:
uid: 981
home: "{{ prometheus_db_dir }}"
shell: /usr/sbin/nologin
system: true
enable: "{{ 'prometheus' in group_names }}"

- group:
Expand All @@ -69,6 +70,7 @@ appliances_local_users_default:
uid: 984
home: /usr/share/grafana
shell: /sbin/nologin
system: true
enable: "{{ 'grafana' in group_names }}"

# Overide this to add extra users whilst keeping the defaults.
Expand Down

0 comments on commit e5608d9

Please sign in to comment.