Created
June 27, 2017 18:13
-
-
Save tahmmee/fe3a8f884499e4bce13c407d386a9fce to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- 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