Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ mkdir -p $GENESTACK_CONFIG/inventory/group_vars $GENESTACK_CONFIG/inventory/cred

# Copy default k8s config
test -d $GENESTACK_PRODUCT || error "Product Config $GENESTACK_PRODUCT does not exist here"
if [ $(find $GENESTACK_CONFIG/inventory -name *.yml 2>/dev/null |wc -l) -eq 0 ]; then
if [ $(find $GENESTACK_CONFIG/inventory -name \*.yaml -o -name \*.yml 2>/dev/null |wc -l) -eq 0 ]; then
cp -r ${GENESTACK_PRODUCT}/* ${GENESTACK_CONFIG}/inventory
fi

Expand Down
2 changes: 1 addition & 1 deletion docs/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ The ansible inventory is expected at `/etc/genestack/inventory`

``` shell
source /opt/genestack/scripts/genestack.rc
cd /opt/genestack/playbooks
cd /opt/genestack/ansible/playbooks

ansible-playbook host-setup.yml
```
Expand Down
2 changes: 1 addition & 1 deletion scripts/genestack.rc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
export GENESTACK_CONFIG="${GENESTACK_CONFIG:-/etc/genestack}"
export SKIP_PROMPTS="${SKIP_PROMPTS:-false}"
export ANSIBLE_FORKS="${ANSIBLE_FORKS:-24}"
export ANSIBLE_FILTER_PLUGINS="${ANSIBLE_FILTER_PLUGINS:-/opt/genestack/playbooks/filter_plugins}"
export ANSIBLE_FILTER_PLUGINS="${ANSIBLE_FILTER_PLUGINS:-/opt/genestack/ansible/filter_plugins}"
export ANSIBLE_COLLECTION_FILE=${ANSIBLE_COLLECTION_FILE:-"ansible-collection-requirements.yml"}
export ANSIBLE_INVENTORY="${ANSIBLE_INVENTORY:-${GENESTACK_CONFIG}/inventory}"
export ANSIBLE_INVENTORY_IGNORE_REGEX="${ANSIBLE_INVENTORY_IGNORE_REGEX:-'artifacts,credentials'}"
Expand Down