Skip to content

Commit

Permalink
Rename vars.yml (StreisandEffect#1536)
Browse files Browse the repository at this point in the history
* Checkpoint

* Turning off the library works
  • Loading branch information
nopdotcom authored and martintsch committed Apr 8, 2019
1 parent df0d416 commit 2cc46b8
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Vagrant.configure(2) do |config|
}
}
ansible.raw_arguments = [
"--extra-vars=@global_vars/vars.yml",
"--extra-vars=@global_vars/globals.yml",
"--extra-vars=@global_vars/default-site.yml",
"--extra-vars=@global_vars/integration/test-site.yml"
]
Expand Down
2 changes: 1 addition & 1 deletion deploy/streisand-existing-cloud-server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ DIR="$( cd "$( dirname "$0" )" && pwd)"
PROJECT_DIR="${DIR}/.."

export DEFAULT_SITE_VARS="${PROJECT_DIR}/global_vars/default-site.yml"
export GLOBAL_VARS="${PROJECT_DIR}/global_vars/vars.yml"
export GLOBAL_VARS="${PROJECT_DIR}/global_vars/globals.yml"

# Include the check_ansible function from ansible_check.sh.
# shellcheck source=util/source_validate_and_deploy.sh
Expand Down
2 changes: 1 addition & 1 deletion deploy/streisand-local.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ DIR="$( cd "$( dirname "$0" )" && pwd)"
PROJECT_DIR="${DIR}/.."

export DEFAULT_SITE_VARS="${PROJECT_DIR}/global_vars/default-site.yml"
export GLOBAL_VARS="${PROJECT_DIR}/global_vars/vars.yml"
export GLOBAL_VARS="${PROJECT_DIR}/global_vars/globals.yml"

# Include the check_ansible function from ansible_check.sh.
# shellcheck source=util/source_validate_and_deploy.sh
Expand Down
2 changes: 1 addition & 1 deletion deploy/streisand-new-cloud-server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ PROJECT_DIR="${DIR}/.."

VALID_PROVIDERS="amazon|azure|digitalocean|google|linode|rackspace"
export DEFAULT_SITE_VARS="${PROJECT_DIR}/global_vars/default-site.yml"
export GLOBAL_VARS="${PROJECT_DIR}/global_vars/vars.yml"
export GLOBAL_VARS="${PROJECT_DIR}/global_vars/globals.yml"

# Include the check_ansible function from ansible_check.sh.
# shellcheck source=util/source_validate_and_deploy.sh
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion playbooks/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
gather_facts: no

vars_files:
- ../global_vars/vars.yml
- ../global_vars/globals.yml

roles:
- validation
Expand Down
2 changes: 1 addition & 1 deletion streisand
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export ANSIBLE_LIBRARY=
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd -P)"

DEFAULT_SITE_VARS="$SCRIPT_DIR/global_vars/default-site.yml"
GLOBAL_VARS="$SCRIPT_DIR/global_vars/vars.yml"
GLOBAL_VARS="$SCRIPT_DIR/global_vars/globals.yml"
HOME_DIR="$HOME/.streisand"
SITE_VARS="$HOME_DIR/site.yml"

Expand Down
2 changes: 1 addition & 1 deletion tests/tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function run_playbook {

ansible-playbook \
-i "$DIR/inventory" \
--extra-vars=@global_vars/vars.yml \
--extra-vars=@global_vars/globals.yml \
$SITE_DECL \
"$PLAYBOOK" "${EXTRA_FLAGS[@]}"
}
Expand Down
2 changes: 1 addition & 1 deletion util/source_validate_and_deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# codebase. It expects the following variables set:
#
# DEFAULT_SITE_VARS /path/to/default-site.yml
# GLOBAL_VARS /path/to/vars.yml
# GLOBAL_VARS /path/to/globals.yml
# INVENTORY /path/to/inventory
# PROJECT_DIR /path/to/streisand
# SITE_VARS /path/to/site.yml
Expand Down

0 comments on commit 2cc46b8

Please sign in to comment.