summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@afrolegs.com>2016-11-07 14:11:14 -0500
committerGitHub <noreply@github.com>2016-11-07 14:11:14 -0500
commit24b351d565835fbc287007c37dbf8ee9d94d8398 (patch)
tree5894d7a30d54b8f449f7639b084fb1bfb39927d6 /roles
parentba73b286cfd790710b13df46fddc20882238a535 (diff)
parent1dfc4502dc9621c9c67ee511edb6f9337c801ef9 (diff)
downloadopenshift-24b351d565835fbc287007c37dbf8ee9d94d8398.tar.gz
openshift-24b351d565835fbc287007c37dbf8ee9d94d8398.tar.bz2
openshift-24b351d565835fbc287007c37dbf8ee9d94d8398.tar.xz
openshift-24b351d565835fbc287007c37dbf8ee9d94d8398.zip
Merge pull request #2749 from sallyom/give_AWS_creds_no_log
set AWS creds task with no_logs
Diffstat (limited to 'roles')
-rw-r--r--roles/openshift_node/tasks/main.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/openshift_node/tasks/main.yml b/roles/openshift_node/tasks/main.yml
index 8b3145785..474df497e 100644
--- a/roles/openshift_node/tasks/main.yml
+++ b/roles/openshift_node/tasks/main.yml
@@ -100,6 +100,7 @@
line: "AWS_ACCESS_KEY_ID={{ openshift_cloudprovider_aws_access_key | default('') }}"
- regex: '^AWS_SECRET_ACCESS_KEY='
line: "AWS_SECRET_ACCESS_KEY={{ openshift_cloudprovider_aws_secret_key | default('') }}"
+ no_log: True
when: "openshift_cloudprovider_kind is defined and openshift_cloudprovider_kind == 'aws' and openshift_cloudprovider_aws_access_key is defined and openshift_cloudprovider_aws_secret_key is defined"
notify:
- restart node