You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+33-13Lines changed: 33 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -105,7 +105,7 @@ The following IBM Spectrum Scale versions are tested:
105
105
Specific OS requirements:
106
106
107
107
- For CES (SMB/NFS) on SLES15, Python 3 is required.
108
-
- For CES (OBJECT) RhedHat 8.x is required.
108
+
- For CES (OBJECT) RhedHat 8.x is required.
109
109
110
110
111
111
Prerequisites
@@ -150,29 +150,47 @@ Users need to have a basic understanding of the [Ansible concepts](https://docs.
150
150
Installation Instructions
151
151
-------------------------
152
152
153
-
-**Clone `ibm-spectrum-scale-install-infra` repository to your [Ansible control node](https://docs.ansible.com/ansible/latest/user_guide/basic_concepts.html#control-node)**
153
+
-**Create project directory on [Ansible control node](https://docs.ansible.com/ansible/latest/user_guide/basic_concepts.html#control-node)**
154
+
155
+
The preferred way of accessing the roles provided by this project is by placing them inside the `collections/ansible_collections/ibm/spectrum_scale` directory of your project, adjacent to your [Ansible playbook](https://docs.ansible.com/ansible/latest/user_guide/playbooks.html). Simply clone the repository to the correct path:
There are different methods for accessing the roles provided by this project. You can either change your working directory to the cloned repository and create your own files inside this directory (optionally copying examples from the [samples/](samples/) subdirectory):
163
+
Be sure to clone the project under the correct subdirectory:
162
164
163
165
```shell
164
-
$ cd ibm-spectrum-scale-install-infra/
166
+
my_project/
167
+
├── collections/
168
+
│ └── ansible_collections/
169
+
│ └── ibm/
170
+
│ └── spectrum_scale/
171
+
│ └── ...
172
+
├── hosts
173
+
└── playbook.yml
165
174
```
166
175
167
-
Alternatively, you can define an [Ansible environment variable](https://docs.ansible.com/ansible/latest/reference_appendices/config.html#envvar-ANSIBLE_ROLES_PATH) to make the roles accessible in any external project directory:
Alternatively, you can clone the project repository and create your [Ansible playbook](https://docs.ansible.com/ansible/latest/user_guide/playbooks.html) inside the repository's directory structure:
Yet another alternative, you can also define an [Ansible environment variable](https://docs.ansible.com/ansible/latest/reference_appendices/config.html#envvar-ANSIBLE_ROLES_PATH) to make the roles accessible in any external project directory:
Define Spectrum Scale nodes in the [Ansible inventory](https://docs.ansible.com/ansible/latest/user_guide/intro_inventory.html) (e.g. `./hosts`) in the following format:
193
+
Define Spectrum Scale nodes in the [Ansible inventory](https://docs.ansible.com/ansible/latest/user_guide/intro_inventory.html) (e.g. `hosts`) in the following format:
176
194
177
195
```yaml
178
196
# hosts:
@@ -190,12 +208,14 @@ Installation Instructions
190
208
191
209
- **Create Ansible playbook**
192
210
193
-
The basic [Ansible playbook](https://docs.ansible.com/ansible/latest/user_guide/playbooks.html) (e.g. `./playbook.yml`) looks as follows:
211
+
The basic [Ansible playbook](https://docs.ansible.com/ansible/latest/user_guide/playbooks.html) (e.g. `playbook.yml`) looks as follows:
0 commit comments