We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5cbc58 commit 1a400dbCopy full SHA for 1a400db
ansible/extras.yml
@@ -37,13 +37,26 @@
37
- import_role:
38
name: persist_hostkeys
39
40
-- name: Inject ansible-init compute script
+# TODO: I'm not convinced this is the right place
41
+- hosts: compute_init:!builder
42
+ tags: compute_init
43
+ become: yes
44
+ name: Export hostvars
45
+ tasks:
46
+ - include_role:
47
+ name: compute_init
48
+ tasks_from: export.yml
49
+
50
+# TODO: really this should only run during build
51
+# but handy not to for debugging
52
+- name: Install compute_init script
53
hosts: compute_init
54
tags: compute_init
55
become: yes
56
tasks:
- - import_role:
57
58
name: compute_init
59
+ tasks_from: install.yml
60
61
- name: Install k9s
62
0 commit comments