Skip to content

Latest commit

 

History

History
36 lines (28 loc) · 2.03 KB

CLAW Playbook in DO VM.md

File metadata and controls

36 lines (28 loc) · 2.03 KB

Introduction

Ansible is a configuration and deployment automation tool. Ansible executes instructions in the target host machines by conntecting to them via ssh. The instructions are organized into units called Roles. Roles are grouped into playbooks.

Currently CLAW-playbook specifies a default target host machine. However, it is divided into six groups, each group can potentially target different host machines.

Installation

  • Ensure that your VM has SSH public key.

  • CLAW Playbook currently expects an ubuntu user.

#adduser ubuntu
(follow the prompts to create the user)
ansible-galaxy install -r requirements.yml
  • Execute Ansible
ansible-playbook -i inventory/vagrant/hosts playbook.yml --extra-vars "islandora_distro=ubuntu/xenial64"

Possible Issues

Rerunning ansible seem to fix these issues!

TASK [karaf : Install wrapper] ***************************************************************************************************************************************
Thursday 09 November 2017  11:53:49 -0500 (0:00:06.102)       0:21:34.718 ***** 
fatal: [default]: FAILED! => {"changed": true, "cmd": ["./client", "wrapper:install"], "delta": "0:00:01.542893", "end": "2017-11-09 16:53:51.088577", "failed": true, "rc": 1, "start": "2017-11-09 16:53:49.545684", "stderr": "Failed to get the session.", "stderr_lines": ["Failed to get the session."], "stdout": "client: JAVA_HOME not set; results may vary", "stdout_lines": ["client: JAVA_HOME not set; results may vary"]}