Browse Source

openafs-server-config: install UserList

This was missed during recent updates; this UserList needs to be on
all servers to allow bos, vos and backup commands.

Update the documentation to reflect the centralised copy.

Change-Id: I8ada3d5035bb7ef77b19ce6aaffb48335974a124
changes/55/783755/2
Ian Wienand 1 year ago
parent
commit
ce7ef6536a
  1. 9
      doc/source/afs.rst
  2. 9
      playbooks/roles/openafs-server-config/files/UserList
  3. 1
      playbooks/roles/openafs-server-config/tasks/main.yaml

9
doc/source/afs.rst

@ -165,13 +165,12 @@ Adding a Superuser
Run the following commands to add an existing principal to AFS as a
superuser::
bos adduser -server afsdb01.openstack.org -user $USERNAME.admin
bos adduser -server afsdb02.openstack.org -user $USERNAME.admin
bos adduser -server afs01.dfw.openstack.org -user $USERNAME.admin
bos adduser -server afs02.dfw.openstack.org -user $USERNAME.admin
bos adduser -server afs01.ord.openstack.org -user $USERNAME.admin
pts adduser -user $USERNAME.admin -group system:administrators
After this, you should update the
:git_file:`playbooks/roles/openafs-server-config/files/UserList` file
to ensure the new username is authorized to issue privileged commands.
Deleting Files
~~~~~~~~~~~~~~

9
playbooks/roles/openafs-server-config/files/UserList

@ -0,0 +1,9 @@
corvus.admin
mordred.admin
fungi.admin
service.afsadmin
nibz.admin
pabelanger.admin
clarkb.admin
ianw.admin
frickler.admin

1
playbooks/roles/openafs-server-config/tasks/main.yaml

@ -24,6 +24,7 @@
loop:
- CellServDB
- ThisCell
- UserList
- name: Install rxkad.keytab
shell: 'echo "{{ openafs_server_rxkad_keytab }}" | base64 -d > /etc/openafs/server/rxkad.keytab'

Loading…
Cancel
Save