blob: 4341a8840422d71910a868ccb7b1a6fc403c5c6d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
---
- hosts: all
remote_user: root
tasks:
- name: add public key to host
copy:
src: "{{ XCI_PATH }}/xci/files/authorized_keys"
dest: /root/.ssh/authorized_keys
- hosts: controller
remote_user: root
vars_files:
- "{{ XCI_PATH }}/xci/var/opnfv.yml"
pre_tasks:
- name: Load distribution variables
include_vars:
file: "{{ item }}"
with_items:
- "{{ XCI_PATH }}/xci/var/{{ ansible_os_family }}.yml"
- "{{ XCI_FLAVOR_ANSIBLE_FILE_PATH }}/flavor-vars.yml"
roles:
- role: bootstrap-host
- hosts: compute
remote_user: root
vars_files:
- "{{ XCI_PATH }}/xci/var/opnfv.yml"
pre_tasks:
- name: Load distribution variables
include_vars:
file: "{{ item }}"
with_items:
- "{{ XCI_PATH }}/xci/var/{{ ansible_os_family }}.yml"
- "{{ XCI_FLAVOR_ANSIBLE_FILE_PATH }}/flavor-vars.yml"
roles:
- role: bootstrap-host
- role: configure-ceph
when: XCI_CEPH_ENABLED == "true"
- hosts: compute00
remote_user: root
roles:
- role: configure-nfs
|