diff options
author | Christian Pointner <equinox@spreadspace.org> | 2019-09-09 00:32:27 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2019-09-09 00:32:27 +0200 |
commit | 5cece2c0214d06fd6e2f172a3ddf9f026d62a509 (patch) | |
tree | 4ac475caf128c59b0cb23e6eaa0bc96288f375a2 /roles/cloud/post-install/tasks/hetzner_postinst.yml | |
parent | some more refactoring and cleanup of cloud install roles (diff) |
some more cloud-install fixes
Diffstat (limited to 'roles/cloud/post-install/tasks/hetzner_postinst.yml')
-rw-r--r-- | roles/cloud/post-install/tasks/hetzner_postinst.yml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/roles/cloud/post-install/tasks/hetzner_postinst.yml b/roles/cloud/post-install/tasks/hetzner_postinst.yml new file mode 100644 index 00000000..546cc5ca --- /dev/null +++ b/roles/cloud/post-install/tasks/hetzner_postinst.yml @@ -0,0 +1,20 @@ +--- +- name: check post-post-install script is present + stat: + path: /post-post-install.sh + register: hetzner_post_post_install + +- name: run post-post-install script + when: hetzner_post_post_install.stat.exists + command: /post-post-install.sh + +- name: remove installimage artifacts + loop: + - /installimage.conf + - /installimage.debug + - /post-install + - /post-post-install.sh + - /target + file: + path: "{{ item }}" + state: absent |