reternal-quickstart icon indicating copy to clipboard operation
reternal-quickstart copied to clipboard

Missing Command in install instructions? Can't run ansible playbook

Open pfrank917 opened this issue 5 years ago • 0 comments

Is there an install command missing from this section at this link> https://github.com/d3vzer0/reternal-quickstart/wiki/2.-Install---Configuration-Guide

  1. Running the Reternal Playbook The standalone.yml file is a role definition file that states what components should be configured/installed on your infrastructure. The role uses the secrets in the previously created vault file to secure the Reternal components. To run the deployment role, execute the following command and specify your vault and your sudo/su password: If you want to deploy on localhost in dev mode (only listens on localhost + debug mode):

SEEMS LIKE THERE WAS A COMMAND HERE<< Running reternal locally for development does not require any changes to the existing config. If you have docker installed, simply run the below command to get the environment running:

ansible-playbook reternal.yml -i inventories/standalone/dev/hosts.ini --ask-vault-pass

As a result, I am trying to use development mode instead and am getting the following error message when attempting to run this command:

ansible-playbook reternal.yml -i inventories/standalone/dev/hosts.ini --ask-vault-pass

//Message:

pat@reternal:~/reternal-quickstart/ansible/inventories/standalone/dev/group_vars$ ansible-playbook reternal.yml -i ~/home/pat/reternal-quickstart/ansible/inventories/standalone/dev/hosts.ini --ask-vault-pass Vault password: [WARNING]: Unable to parse /home/pat/home/pat/reternal- quickstart/ansible/inventories/standalone/dev/hosts.ini as an inventory source

[WARNING]: No inventory was parsed, only implicit localhost is available

[WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all'

ERROR! playbooks must be a list of plays

The error appears to have been in '/home/pat/reternal-quickstart/ansible/inventories/standalone/dev/group_vars/reternal.yml': line 13, column 1, but may be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

reternal: ^ here

//reternal.yml config:

reternal: phase: developement install_dir: "{{ lookup('env','HOME') }}/opt/reternal" domain: "reternal.local"

pfrank917 avatar Sep 01 '20 19:09 pfrank917