forked from cloud-bulldozer/stockpile
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstockpile.yml
62 lines (60 loc) · 2.54 KB
/
stockpile.yml
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
---
- hosts: instance
remote_user: "{{ host_remote_user }}"
become: true
ignore_errors: yes
vars:
ansible_python_interpreter: "{{ ansible_playbook_python }}"
roles:
- { role: openstack_common, tags: openstack_common }
- { role: packages, tags: packages }
- { role: cpu, tags: cpu }
- { role: cpu_vulnerabilities, tags: cpu_vulnerabilities }
- { role: memory, tags: memory }
- { role: sysctl, tags: sysctl }
- { role: kernel-debug, tags: kernel-debug }
- { role: dmidecode, tags: dmidecode }
- { role: yum_repos, tags: yum_repos }
- { role: yum_packages, tags: yum_packages }
- { role: ceph, tags: ceph }
- { role: openshift-cluster-topology, tags: openshift-cluster-topology }
- { role: openshift-networking, tags: openshift-networking }
- { role: openshift-nodes, tags: openshift-nodes }
- { role: openstack_compute, tags: openstack_compute }
- { role: openstack_nova, tags: openstack_nova }
- { role: openstack_neutron, tags: openstack_neutron }
- { role: openstack_keystone, tags: openstack_keystone }
- { role: openstack_ceilometer, tags: openstack_ceilometer }
- { role: openstack_gnocchi, tags: openstack_gnocchi }
- { role: openstack_cinder, tags: openstack_cinder }
- { role: openstack_heat, tags: openstack_heat }
- { role: openstack_mysql, tags: openstack_mysql }
- { role: openstack_rabbitmq, tags: openstack_rabbitmq }
- { role: openstack_glance, tags: openstack_glance }
- { role: openstack_undercloud, tags: openstack_undercloud }
- { role: openstack_overcloud, tags: openstack_overcloud }
#- { role: k8s_cluster_resources, tags: k8s_cluster_resources }
#- { role: k8s_cluster_contexts, tags: k8s_cluster_contexts }
- { role: k8s_namespaces, become: false, tags: k8s_namespaces }
- { role: k8s_nodes, become: false, tags: k8s_nodes }
- { role: k8s_pods, become: false, tags: k8s_pods }
- { role: k8s_configmaps, become: false, tags: k8s_configmaps }
- { role: ocp_cluster_config, become: false, tags: ocp_cluster_config }
- { role: lspci, tags: lspci }
- hosts: kubernetes
remote_user: "{{ container_remote_user }}"
become: false
ignore_errors: yes
gather_facts: false
vars:
ansible_python_interpreter: "{{ ansible_playbook_python }}"
roles:
- { role: backpack_kube, tags: backpack_kube }
- hosts: stockpile
gather_facts: false
remote_user: "{{ stockpile_user }}"
no_log: true
vars:
ansible_python_interpreter: "{{ ansible_playbook_python }}"
roles:
- { role: dump-facts, tags: dump-facts }