<commit_before>
# Requirements

You will need a driver machine with ansible installed and a clone of the current repository:

* If you are running on cloud (public/private network)
  * Install ansible on the edge node (with public ip)
* if you are running on private cloud (public network access to all nodes)
  * Install ansible on your laptop and drive the deployment from it

## Installing Ansible on RHEL

```
curl -O https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
sudo rpm -i epel-release-latest-7.noarch.rpm
sudo yum update -y
sudo yum install -y  ansible
```

### Installing Ansible on Mac

* Install Annaconda
* Use pip install ansible

# Available Components

* **Common**  Deploys Java
* **HDFS** Deploys HDFS filesystem
* **Spark** Deploys Spark in Standalone mode
* **Anaconda** Deploys Anaconda Python distribution
* **IOP** Deploys IBM Open Platform (IOP) 4.2.5
* **Notebook** Deploys Notebook Platform

# Deploying Components

### Create host inventory file

```
[all:vars]
ansible_connection=ssh
#ansible_user=root
#ansible_ssh_private_key_file=~/.ssh/ibm_rsa
gather_facts=True
gathering=smart<commit_msg>Add supported platforms to Readme.md<commit_after>
# Requirements

You will need a driver machine with ansible installed and a clone of the current repository:

* If you are running on cloud (public/private network)
  * Install ansible on the edge node (with public ip)
* if you are running on private cloud (public network access to all nodes)
  * Install ansible on your laptop and drive the deployment from it

## Installing Ansible on RHEL

```
curl -O https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
sudo rpm -i epel-release-latest-7.noarch.rpm
sudo yum update -y
sudo yum install -y  ansible
```

### Installing Ansible on Mac

* Install Annaconda
* Use pip install ansible

### Supported/Tested Platform

* RHEL 7.x

# Available Components

* **Common**  Deploys Java
* **HDFS** Deploys HDFS filesystem
* **Spark** Deploys Spark in Standalone mode
* **Anaconda** Deploys Anaconda Python distribution
* **IOP** Deploys IBM Open Platform (IOP) 4.2.5
* **Notebook** Deploys Notebook Platform

# Deploying Components

### Create host inventory file

```
[all:vars]
ansible_connection=ssh
#ansible_user=root
#ansible_ssh_private_key_file=~/.ssh/ibm_rsa
gather_facts=True
gathering=smart
{'fraction_non_alphanumeric': 0.09380305602716468, 'fraction_numerical': 0.00466893039049236, 'mean_word_length': 4.776960784313726, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2902718', 'n_tokens_mistral': 801, 'n_tokens_neox': 754, 'n_words': 271}