Skip to content

Commit

Permalink
fix(step_ca): prevent error when overwriting step-ca executable (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxhoesel authored Jun 4, 2021
1 parent 6dc949f commit bdca736
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions roles/step_ca/tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@
remote_src: yes
retries: 3
delay: 3
# step-ca needs to be stopped in order to overwrite the executable
- name: Stop step-ca process
systemd:
name: step-ca
state: stopped
when: step_ca_present.stat.exists
- name: Install step-ca binary
shell: >
set -o pipefail &&
Expand Down

0 comments on commit bdca736

Please sign in to comment.