Commit a7a9d316 authored by calvin ardi's avatar calvin ardi
Browse files

content/en/docs/faq: initial commit

Closes #2.
parent 768c7f33
title: "Frequently Asked Questions"
linkTitle: "Frequently Asked Questions (FAQ)"
weight: 99
description: Questions and their answers.
{{% pageinfo %}}
This section is under construction.
{{% /pageinfo %}}
## what xdc am i on? (lighthouse)
export XDC=$(uname -a | cut -d' ' -f2 | cut -d'-' -f1)
echo ${XDC}
## what materialization is my xdc connected to? (lighthouse)
export MERGE_MATERIALIZATION=$(head -1 /etc/resolv.conf | cut -d' ' -f2 | grep -Ev "cluster.local|")
Result will be empty if your XDC is not connected to a materialization.
## Ansible error: "Message: Cannot write to ControlPath $HOME/.ansible/cp."
Check to make sure the `.ansible` directory exists in your home
directory, and that its owner and group is you (not root):
# check if the directory exists and its ownership
$ ls -ald ~/.ansible
# create the directory if it does not exist
$ mkdir ~/.ansible
# change the user and group ownership of directory to yourself
$ sudo chown -R $(id -u):$(id -g) ~/.ansible
Then re-run your `ansible` commands.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment