---
- hosts: kv:index:n1ql
  tasks:
  - yum: state=latest name=epel-release
  - yum: state=latest name={{item}}
    with_items:
      - atop
      - gdb
      - htop
      - iptraf
      - numactl
      - sysstat
      - tree
      - vim
      - wget

- hosts: kv:index:n1ql
  tasks:
  - shell: iptables -F

- hosts: kv:index:n1ql
  tasks:
  - group: name=couchbase
  - user:  name=couchbase group=couchbase

- hosts: kv:index:n1ql
  tasks:
  - file: path=/data  owner=couchbase group=couchbase

- hosts: kv
  tasks:
  - file: path=/index owner=couchbase group=couchbase

---
- hosts: kv:index:n1ql
  tasks:
  - yum: state=latest name=epel-release
  - yum: state=latest name={{item}}
    with_items:
      - atop
      - gdb
      - htop
      - iptraf
      - numactl
      - rsync
      - sysstat
      - tree
      - vim
      - wget

- hosts: kv:index:n1ql
  tasks:
  - shell: iptables -F

- hosts: kv:index:n1ql
  tasks:
  - group: name=couchbase
  - user:  name=couchbase group=couchbase

- hosts: kv:index:n1ql
  tasks:
  - file: path=/data  owner=couchbase group=couchbase

- hosts: kv
  tasks:
  - file: path=/index owner=couchbase group=couchbase

Add rsync to server dependencies
Add rsync to server dependencies

Change-Id: Icceb5bb744133543c0289940407d1682f755cf3b
Reviewed-on: http://review.couchbase.org/65627
Tested-by: buildbot <80754af91bfb6d1073585b046fe0a474ce868509@couchbase.com>
Reviewed-by: Pavel Paulau <dd88eded64e90046a680e3a6c0828ceb8fe8a0e7@gmail.com>
