Skip to content

Instantly share code, notes, and snippets.

@tahmmee
Created June 27, 2017 18:13
Show Gist options
  • Save tahmmee/fe3a8f884499e4bce13c407d386a9fce to your computer and use it in GitHub Desktop.
Save tahmmee/fe3a8f884499e4bce13c407d386a9fce to your computer and use it in GitHub Desktop.
- hosts: tag_Type_couchbaseserver_data_cluster1
vars:
sudo: yes
rpm_path: "/tmp/couchbase.rpm"
remote_user: centos
become: yes
become_method: sudo
serial: 20
tasks:
- copy:
src: "{{rpm_path}}"
dest: "{{rpm_path}}"
mode: 0644
- name: install couchbase
yum: name="{{rpm_path}}"
- name: permissions
shell: chown couchbase /data && chgrp couchbase /data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment