From c403795b324f9579a559eb0ec4ef307f812dedbd Mon Sep 17 00:00:00 2001 From: Nathan Hyde Date: Sat, 6 Apr 2024 04:05:50 -0700 Subject: [PATCH] Add missing dash to new-password-file arg when setting intermediate key passwd (#374) Add missing dash to new-password-file arg when changing intermediate passwords. --- roles/step_ca/tasks/init.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/step_ca/tasks/init.yml b/roles/step_ca/tasks/init.yml index 1e134944..fc310fd5 100644 --- a/roles/step_ca/tasks/init.yml +++ b/roles/step_ca/tasks/init.yml @@ -93,7 +93,7 @@ become_user: "{{ step_ca_user }}" - name: Change password for intermediate and ssh keys # noqa no-changed-when - command: "{{ step_cli_executable }} crypto change-pass {{ step_ca_path }}/secrets/{{ item }} -f --password-file={{ step_ca_root_password_file }} -new-password-file={{ step_ca_intermediate_password_file }}" + command: "{{ step_cli_executable }} crypto change-pass {{ step_ca_path }}/secrets/{{ item }} -f --password-file={{ step_ca_root_password_file }} --new-password-file={{ step_ca_intermediate_password_file }}" become: yes become_user: "{{ step_ca_user }}" loop: "{{ _item_list | select | list }}"