Skip to content

Commit f6b99b4

Browse files
ValClarksoncahoonpwork
authored andcommitted
updated yum directions (CrunchyData#935)
1 parent 8339b66 commit f6b99b4

File tree

1 file changed

+26
-1
lines changed

1 file changed

+26
-1
lines changed

hugo/content/Installation/install-with-ansible/prerequisites.md

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,16 +44,41 @@ can install:
4444

4545
## Obtaining Operator Ansible Role
4646

47-
The Crunchy PostgreSQL Operator Roles are available here:
47+
There are two ways to obtain the Crunchy PostgreSQL Operator Roles:
4848

4949
* Clone the [postgres-operator project](https://github.com/CrunchyData/postgres-operator)
5050

51+
* `postgres-operator-playbooks` RPM provided for Crunchy customers via the [Crunchy Access Portal](https://access.crunchydata.com/).
5152

5253
### GitHub Installation
5354

5455
All necessary files (inventory, main playbook and roles) can be found in the `ansible`
5556
directory in the [postgres-operator project](https://github.com/CrunchyData/postgres-operator).
5657

58+
### RPM Installation using Yum
59+
60+
Available to Crunchy customers is an RPM containing all the necessary Ansible roles
61+
and files required for installation using Ansible. The RPM can be found in Crunchy's
62+
yum repository. For information on setting up `yum` to use the Crunchy repoistory,
63+
see the [Crunchy Access Portal](https://access.crunchydata.com/).
64+
65+
To install the Crunchy PostgreSQL Operator Ansible roles using `yum`, run the following
66+
command on a RHEL or CentOS host:
67+
68+
```bash
69+
sudo yum install postgres-operator-playbooks
70+
```
71+
72+
* Ansible roles can be found in: `/usr/share/ansible/roles/crunchydata`
73+
* Ansible playbooks/inventory files can be found in: `/usr/share/ansible/postgres-operator/playbooks`
74+
75+
Once installed users should take a copy of the `inventory` file included in the installation
76+
using the following command:
77+
78+
```bash
79+
cp /usr/share/ansible/postgres-operator/playbooks/inventory ${HOME?}
80+
```
81+
5782
## Configuring the Inventory File
5883

5984
The `inventory` file included with the PostgreSQL Operator Playbooks allows installers

0 commit comments

Comments
 (0)