Skip to content

Commit 4d4f1ce

Browse files
committed
remove hostname from fatimage
1 parent 52df6b1 commit 4d4f1ce

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

ansible/fatimage.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,5 @@
11
# Builder version of site.yml just installing binaries
22

3-
- hosts: builder
4-
become: no
5-
gather_facts: no
6-
tasks:
7-
- name: Report hostname (= final image name)
8-
command: hostname
9-
- name: Report inventory groups
10-
debug:
11-
var: group_names
12-
133
- name: Run pre.yml hook
144
vars:
155
appliances_environment_root: "{{ lookup('env', 'APPLIANCES_ENVIRONMENT_ROOT') }}"

environments/.stackhpc/hooks/pre.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
- hosts: builder
2+
become: no
3+
gather_facts: no
4+
tasks:
5+
- name: Report hostname (= final image name)
6+
command: hostname
7+
- name: Report inventory groups
8+
debug:
9+
var: group_names
10+
111
- hosts: control:!builder
212
become: yes
313
gather_facts: false

0 commit comments

Comments
 (0)