Skip to content

Commit

Permalink
Merge pull request #188 from NL-ix/master
Browse files Browse the repository at this point in the history
st2chatops: allow auth passwords with spaces in "st2 auth" command
  • Loading branch information
armab committed Dec 15, 2017
2 parents c07e7f2 + 7584459 commit 46a01aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion roles/st2chatops/tasks/main.yml
Expand Up @@ -69,7 +69,7 @@
tags: st2chatops

- name: Generate authentication token
command: st2 auth {{ st2_auth_username }} -p {{ st2_auth_password }} -t
command: st2 auth "{{ st2_auth_username }}" -p "{{ st2_auth_password }}" -t
when: task_apikey_not_exists|succeeded and task_user_st2_api_key.changed == false
register: task_st2_token
tags: [st2chatops, skip_ansible_lint]
Expand Down
2 changes: 1 addition & 1 deletion roles/st2smoketests/tasks/main.yml
Expand Up @@ -19,7 +19,7 @@
- smoke-tests

- name: get authentication token
command: st2 auth {{ st2_auth_username }} -p {{ st2_auth_password }} -t
command: st2 auth "{{ st2_auth_username }}" -p "{{ st2_auth_password }}" -t
register: st2_token
changed_when: no
tags:
Expand Down

0 comments on commit 46a01aa

Please sign in to comment.