|
1 | 1 | --- |
2 | 2 |
|
3 | | -# Copyright 2022 Cloudera, Inc. All Rights Reserved. |
| 3 | +# Copyright 2023 Cloudera, Inc. All Rights Reserved. |
4 | 4 | # |
5 | 5 | # Licensed under the Apache License, Version 2.0 (the "License"); |
6 | 6 | # you may not use this file except in compliance with the License. |
|
14 | 14 | # See the License for the specific language governing permissions and |
15 | 15 | # limitations under the License. |
16 | 16 |
|
| 17 | +- name: Init run tasks for Ansible Controller |
| 18 | + hosts: localhost |
| 19 | + gather_facts: yes |
| 20 | + tasks: |
| 21 | + - ansible.builtin.include_role: |
| 22 | + name: cloudera.exe.init_deployment |
| 23 | + public: yes |
| 24 | + when: init__completed is undefined |
| 25 | + |
| 26 | + - name: Prepare inventory for PvC Plays |
| 27 | + ansible.builtin.include_role: |
| 28 | + name: cloudera.exe.init_deployment |
| 29 | + public: yes |
| 30 | + tasks_from: prep_pvc.yml |
| 31 | + tags: |
| 32 | + - always |
| 33 | + |
17 | 34 | - name: Set up CDP Public Cloud |
18 | 35 | hosts: localhost |
19 | 36 | connection: local |
|
45 | 62 | - validate |
46 | 63 |
|
47 | 64 | - name: Initialize Platform setup |
48 | | - #when: sequence__setup_plat | bool |
49 | 65 | ansible.builtin.import_role: |
50 | 66 | name: cloudera.exe.platform |
51 | 67 | tasks_from: initialize_setup |
52 | 68 | tags: |
53 | 69 | - initialize |
54 | 70 |
|
55 | 71 | - name: Set up Platform |
56 | | - #when: sequence__setup_plat | bool |
57 | 72 | ansible.builtin.import_role: |
58 | 73 | name: cloudera.exe.platform |
59 | 74 | tasks_from: setup |
60 | 75 |
|
61 | 76 | - name: Initialize Data Services setup |
62 | | - #when: sequence__setup_runtime | bool |
63 | 77 | ansible.builtin.import_role: |
64 | 78 | name: cloudera.exe.runtime |
65 | 79 | tasks_from: initialize_setup |
66 | 80 | tags: |
67 | 81 | - initialize |
68 | 82 |
|
69 | 83 | - name: Set up Data Services |
70 | | - #when: sequence__setup_runtime | bool |
71 | 84 | ansible.builtin.import_role: |
72 | 85 | name: cloudera.exe.runtime |
73 | 86 | tasks_from: setup |
0 commit comments