summaryrefslogtreecommitdiff
path: root/roles/cloud/post-install
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2019-09-09 19:50:45 +0200
committerChristian Pointner <equinox@spreadspace.org>2019-09-09 19:50:45 +0200
commitede69ab308a7dbb760947057704924050a0f0196 (patch)
tree1e3e1a69722f7ebdaae86d2574e7018e92e2d9f7 /roles/cloud/post-install
parentanother minor cleanup (diff)
minor refactoring
Diffstat (limited to 'roles/cloud/post-install')
-rw-r--r--roles/cloud/post-install/tasks/hetzner_postinst.yml12
1 files changed, 6 insertions, 6 deletions
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 }}"