From 55e63e94098ee7f3820eb7998b8d319472ebfd6a Mon Sep 17 00:00:00 2001 From: flynn Date: Wed, 13 Feb 2019 22:40:27 +0100 Subject: [PATCH] replace dashed for underscores --- defaults/main.yml | 8 ++++---- templates/start.sh | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/defaults/main.yml b/defaults/main.yml index a47fee2..6a0e356 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -14,7 +14,7 @@ cat_git_destination: "/home/{{ cat_user }}/cat_src" cat_app_port: 3000 -authorize-uri: "https://adams.ugent.be/oauth/oauth2/authorize/" -access-token-uri: "https://adams.ugent.be/oauth/oauth2/token/" -oauth-consumer-key: "tomtest" -oauth-consumer-secret: "blargh" \ No newline at end of file +authorize_uri: "https://adams.ugent.be/oauth/oauth2/authorize/" +access_token_uri: "https://adams.ugent.be/oauth/oauth2/token/" +oauth_consumer_key: "tomtest" +oauth_consumer_secret: "blargh" \ No newline at end of file diff --git a/templates/start.sh b/templates/start.sh index b3ccb23..baec37d 100644 --- a/templates/start.sh +++ b/templates/start.sh @@ -5,8 +5,8 @@ DATABASE_URL="postgresql://localhost:{{ cat_postgres_db_port }}/{{ cat_postgres_db }}?user={{ cat_postgres_user }}&password={{ cat_postgres_password }}" PORT="{{ cat_app_port }}" AUTHORIZE-URI="{{ authorize_uri }}" -ACCESS-TOKEN-URI="{{ access-token-uri }}" -OAUTH-CONSUMER-KEY="{{ OAUTH-CONSUMER-KEY }}" -OAUTH-CONSUMER-SECRET="{{ OAUTH-CONSUMER-SECRET }}" +ACCESS-TOKEN-URI="{{ access_token_uri }}" +OAUTH-CONSUMER-KEY="{{ OAUTH_CONSUMER_KEY }}" +OAUTH-CONSUMER-SECRET="{{ OAUTH_CONSUMER_SECRET }}" java -jar {{ cat_git_destination }}/releases/cat-{{version}}-SNAPSHOT.jar