Skip to content

Commit 333e4d8

Browse files
committed
Change Octavia amphora image register host
1 parent 627e939 commit 333e4d8

File tree

5 files changed

+12
-2
lines changed

5 files changed

+12
-2
lines changed

etc/kayobe/ansible/octavia-amphora-image-register.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
- name: Octavia credentials precheck
33
gather_facts: yes
4-
hosts: localhost
4+
hosts: octavia-images
55
tasks:
66
- name: Fail if not using octavia user and service project
77
ansible.builtin.fail:
@@ -17,7 +17,7 @@
1717

1818
- name: Register an Octavia Amphora image in Glance
1919
gather_facts: yes
20-
hosts: localhost
20+
hosts: octavia-images
2121
vars:
2222
venv: "{{ virtualenv_path }}/octavia-amphora"
2323
image_path: "/tmp/amphora-x64-haproxy.qcow2"
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[octavia-images]
2+
controller0
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[octavia-images:children]
2+
seed

etc/kayobe/inventory/amphora-image

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[octavia-images]
2+
localhost
3+
#seed-hypervisor

etc/kayobe/inventory/hosts.example

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,6 @@ localhost ansible_connection=local
2828

2929
[hs-switches]
3030
# Add high speed switches here if required.
31+
32+
[octavia-images]
33+
# Add Octavia amphora image build hosts here if required.

0 commit comments

Comments
 (0)