1
1
OpenStack Host Aggregates
2
2
=========================
3
3
4
- This role can be used to register host aggregates in nova using the
5
- os \_ nova \_ host \_ aggregate module.
4
+ This role can be used to register host aggregates in Nova using the
5
+ ` openstack.cloud.host_aggregate ` module.
6
6
7
7
Requirements
8
8
------------
9
9
10
- The OpenStack nova API should be accessible from the target host.
10
+ The OpenStack Nova API should be accessible from the target host.
11
11
12
12
Role Variables
13
13
--------------
@@ -16,17 +16,17 @@ Role Variables
16
16
virtualenv.
17
17
18
18
` os_host_aggregates_auth_type ` is an authentication type compatible with the
19
- ` auth_type ` argument of ` os_* ` Ansible modules.
19
+ ` auth_type ` argument of ` openstack.cloud ` Ansible modules.
20
20
21
21
` os_host_aggregates_auth ` is a dict containing authentication information
22
- compatible with the ` auth ` argument of ` os_* ` Ansible modules.
22
+ compatible with the ` auth ` argument of ` openstack.cloud ` Ansible modules.
23
23
24
24
` os_host_aggregates_cacert ` is an optional path to a CA certificate bundle.
25
25
26
26
` os_host_aggregates_interface ` is the endpoint URL type to fetch from the
27
27
service catalog. Maybe be one of ` public ` , ` admin ` , or ` internal ` .
28
28
29
- ` os_host_aggregates ` is a list of nova host aggregates to register. Each item
29
+ ` os_host_aggregates ` is a list of Nova host aggregates to register. Each item
30
30
should be a dict containing the item 'name', and optionally:
31
31
32
32
* 'availability_zone' (name of the availability zone to set on the aggregate)
@@ -36,18 +36,18 @@ should be a dict containing the item 'name', and optionally:
36
36
Dependencies
37
37
------------
38
38
39
- This role depends on the ` stackhpc.os_openstacksdk ` role.
39
+ This role depends on the ` stackhpc.openstack. os_openstacksdk ` role.
40
40
41
41
Example Playbook
42
42
----------------
43
43
44
- The following playbook registers a nova host aggregate.
44
+ The following playbook registers a Nova host aggregate.
45
45
46
46
---
47
- - name: Ensure nova host aggregates are registered
48
- hosts: nova-api
47
+ - name: Ensure Nova host aggregates are registered
48
+ hosts: localhost
49
49
roles:
50
- - role: stackhpc.os_host_aggregates
50
+ - role: stackhpc.openstack. os_host_aggregates
51
51
os_host_aggregates_venv: "~/os-host-aggregates-venv"
52
52
os_host_aggregates_auth_type: "password"
53
53
os_host_aggregates_auth:
0 commit comments