From ede69ab308a7dbb760947057704924050a0f0196 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Mon, 9 Sep 2019 19:50:45 +0200 Subject: minor refactoring --- roles/cloud/post-install/tasks/hetzner_postinst.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'roles/cloud/post-install') diff --git a/roles/cloud/post-install/tasks/hetzner_postinst.yml b/roles/cloud/post-install/tasks/hetzner_postinst.yml index d8173dec..aaa7d28c 100644 --- a/roles/cloud/post-install/tasks/hetzner_postinst.yml +++ b/roles/cloud/post-install/tasks/hetzner_postinst.yml @@ -1,19 +1,19 @@ --- - name: check if post-post-install script is present stat: - path: /post-post-install.sh - register: hetzner_post_post_install + path: /post-install-finalize + register: hetzner_post_install_finalize -- name: run post-post-install script - when: hetzner_post_post_install.stat.exists - command: /post-post-install.sh +- name: run post-install-finalize script + when: hetzner_post_install_finalize.stat.exists + command: /post-install-finalize - name: remove installimage artifacts loop: - /installimage.conf - /installimage.debug - /post-install - - /post-post-install.sh + - /post-install-finalize - /target file: path: "{{ item }}" -- cgit v1.2.3