Add wait_for systemd logic

This commit is contained in:
Guido Grazioli
2024-04-23 16:38:04 +02:00
committed by Pelisse Romain
parent 82498ab3f5
commit 2925ea8cf1
8 changed files with 59 additions and 28 deletions

View File

@@ -24,7 +24,9 @@
- name: Create vault keystore
ansible.builtin.command: keytool -importpass -alias TestRealm_testalias -keystore keystore.p12 -storepass keystorepassword
delegate_to: localhost
register: keytool_cmd
changed_when: False
failed_when: not 'already exists' in keytool_cmd.stdout and keytool_cmd.rc != 0
- name: Copy certificates and vault
become: yes