diff --git a/Deploy_Keys.yml b/Deploy_Keys.yml index f228be6..d22fb8c 100644 --- a/Deploy_Keys.yml +++ b/Deploy_Keys.yml @@ -5,17 +5,7 @@ tasks: - name: "Backup_Keys_DSMC" include_tasks: "roles/splunk_deploy/tasks/Backup_Keys_DSMC.yml" - # vars: - # target_hosts: - # register: trusted_file - - # - name: Deploy_Keys_to_others - # include_tasks: roles/splunk_deploy/tasks/Deploy_Keys_to_others.yml - # vars: - # trusted_file_path: "{{ trusted_file.stdout }}" - # target_hosts: all:!splunk_uf_Linux:!splunk_deployement - - + register: backup_result - name: "Copie du trusted.pem" @@ -26,4 +16,4 @@ - name: Deploy_Keys_to_others include_tasks: roles/splunk_deploy/tasks/Deploy_Keys_to_others.yml vars: - trusted_file_path: "{{ trusted_file.stdout }}" + backup_result_var: "{{ backup_result }}"