Skip to content

Commit

Permalink
Some fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jackivanov committed Jan 22, 2017
1 parent a4113c9 commit 2ecf00d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions algo
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ Win10_Enabled=${Win10_Enabled:-n}
if [[ "$Win10_Enabled" =~ ^(y|Y)$ ]]; then EXTRA_VARS+=" Win10_Enabled=Y"; fi

read -p "
Do you want to delete the CA key? (if you choose 'yes', you cannot update users)
[Y/n]: " -r Delete_CAKEY
Delete_CAKEY=${Delete_CAKEY:-y}
if [[ "$Delete_CAKEY" =~ ^(y|Y)$ ]]; then EXTRA_VARS+=" Delete_CAKEY=Y"; fi
Do you want to store the CA key? (required for update-users script, but less secure)
[y/N]: " -r Store_CAKEY
Store_CAKEY=${Store_CAKEY:-N}
if [[ "$Store_CAKEY" =~ ^(n|N)$ ]]; then EXTRA_VARS+=" Store_CAKEY=N"; fi

}

Expand Down
2 changes: 1 addition & 1 deletion deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,4 @@
state: absent
become: no
tags: always
when: Delete_CAKEY is defined and Delete_CAKEY == "Y"
when: Store_CAKEY is defined and Store_CAKEY == "N"

1 comment on commit 2ecf00d

@dguido
Copy link
Member

@dguido dguido commented on 2ecf00d Jan 22, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Please sign in to comment.