File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change
1
+ =======================================
2
+ Openstack Projects and Users Management
3
+ =======================================
4
+
5
+ Projects (in OpenStack) can be defined in the ``openstack-config `` repository
6
+
7
+ To initialise the working environment for ``openstack-config ``:
8
+
9
+ .. code-block :: console
10
+
11
+ git clone <openstack-config-repository> ~/src/openstack-config
12
+ python3 -m venv ~/venvs/openstack-config-venv
13
+ source ~/venvs/openstack-config-venv/bin/activate
14
+ cd ~/src/openstack-config
15
+ pip install -U pip
16
+ pip install -r requirements.txt
17
+ ansible-galaxy collection install \
18
+ -p ansible/collections \
19
+ -r requirements.yml
20
+
21
+ To define a new project, add a new project to
22
+ ``etc/openstack-config/openstack-config.yml ``:
23
+
24
+ Example invocation:
25
+
26
+ .. code-block :: console
27
+
28
+ source ~/src/kayobe-config/etc/kolla/public-openrc.sh
29
+ source ~/venvs/openstack-config-venv/bin/activate
30
+ cd ~/src/openstack-config
31
+ tools/openstack-config -- --vault-password-file <vault password file path>
32
+
33
+ Deleting Users and Projects
34
+ ---------------------------
35
+
36
+ Ansible is designed for adding configuration that is not present; removing
37
+ state is less easy. To remove a project or user, the configuration should be
38
+ manually removed.
You can’t perform that action at this time.
0 commit comments