Skip to content

Commit

Permalink
Merge pull request #117 from nocturnalastro/add_cucible_roles_to_readme
Browse files Browse the repository at this point in the history
Add crucible roles to README
  • Loading branch information
fredericlepied authored Jan 10, 2024
2 parents 6fba174 + 58581e4 commit bcb1477
Show file tree
Hide file tree
Showing 45 changed files with 188 additions and 46 deletions.
48 changes: 47 additions & 1 deletion README.md

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion roles/add_day2_node/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# add_day2_node
# add_day2_node

Adds as nodes to a pre-existing cluster using a pre-existing on-prem assisted installer instance.
12 changes: 11 additions & 1 deletion roles/apply_nmstate/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,11 @@
# apply_nmstate
# apply_nmstate

Applies nmstate network configuration to a host.

## Variables

| Variable | Default | Required | Description |
| ------------------------ | -------- | -------------------- | ---------------------------------- |
| rendered_nmstate_yml | - | Yes | The nmstate to apply |
| vm_nmstate_config_path | - | Yes | The path to place the nmstate file |
| vm_network_test_ip | - | Depends on the host | An IP to check outbound connectivity post application. This is required host is the ansible control node. |
4 changes: 3 additions & 1 deletion roles/approve_csrs/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# approve_csrs
# approve_csrs

Checks for Cert Signing Requests in the pending state and approves them until nodes in the day2_workers group are present in the oc nodes output.
4 changes: 3 additions & 1 deletion roles/boot_disk/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# boot_disk
# boot_disk

Reboots nodes to the disk based on its vendor.
4 changes: 3 additions & 1 deletion roles/boot_iso/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# boot_iso
# boot_iso

Boots nodes to the provided iso on its vendor.
4 changes: 3 additions & 1 deletion roles/create_cluster/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# create_cluster
# create_cluster

Creates a cluster definition in an on-prem assisted installer instance.
4 changes: 3 additions & 1 deletion roles/create_day2_cluster/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# create_day2_cluster
# create_day2_cluster

Creates an add-hosts cluster definition in an on-prem assisted installer instance which can be used to add day2 nodes to the cluster
4 changes: 3 additions & 1 deletion roles/create_vms/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# create_vms
# create_vms

Provisions libvirt network, storage pools and the KVM Nodes.
4 changes: 3 additions & 1 deletion roles/destroy_vms/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# destroy_vms
# destroy_vms

Destroys libvirt network, storage pools and the KVM Nodes and the network bridge connection.
4 changes: 3 additions & 1 deletion roles/display_deployment_plan/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# display_deployment_plan
# display_deployment_plan

Displays the crucible deployment plan and waits for user confirmation.
4 changes: 3 additions & 1 deletion roles/extract_openshift_installer/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# extract_openshift_installer
# extract_openshift_installer

Extracts openshift_installer binary from the release image.
4 changes: 3 additions & 1 deletion roles/generate_agent_iso/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# generate_agent_iso
# generate_agent_iso

Creates the boot iso using openshift_installer's agent subcommand
4 changes: 3 additions & 1 deletion roles/generate_discovery_iso/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# generate_discovery_iso
# generate_discovery_iso

Creates the discovery iso for a pre-existing cluster definition using a pre-existing on-prem assisted installer
4 changes: 3 additions & 1 deletion roles/generate_manifests/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# generate_manifests
# generate_manifests

Generates the manifests required for openshift_installer's agent subcommand
4 changes: 3 additions & 1 deletion roles/generate_ssh_key_pair/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# generate_ssh_key_pair
# generate_ssh_key_pair

Generates an ssh key pair
4 changes: 3 additions & 1 deletion roles/install_cluster/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# install_cluster
# install_cluster

Waits for nodes to be discovered by the on-prem assisted installer then then patches cluster networkings and triggeres the install process
4 changes: 3 additions & 1 deletion roles/monitor_agent_based_installer/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# monitor_agent_based_installer
# monitor_agent_based_installer

Tracks the progress of the agent based installation via openshift_installer
4 changes: 3 additions & 1 deletion roles/monitor_cluster/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# monitor_cluster
# monitor_cluster

Tracks the progress of the cluster installation via an on-prem assisted installer
4 changes: 3 additions & 1 deletion roles/monitor_host/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# monitor_host
# monitor_host

Tracks host status dusing the installation via an on-prem assisted installer and triggers a reboot to disk if needed
4 changes: 3 additions & 1 deletion roles/mount_discovery_iso_for_pxe/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# mount_discovery_iso_for_pxe
# mount_discovery_iso_for_pxe

Extracts the required artifacts for a pxe boot from a discovery iso
6 changes: 5 additions & 1 deletion roles/patch_cluster/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
# patch_cluster
# patch_cluster

Patches definition of a cluster in an on-prem assisted installer.

Configures network type, image source redirects for disconnected deployments and adds custom manifests.
4 changes: 3 additions & 1 deletion roles/patch_host_config/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# patch_host_config
# patch_host_config

Patches host definition in pre-existing on-prem assisted installer
4 changes: 3 additions & 1 deletion roles/populate_mirror_registry/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# populate_mirror_registry
# populate_mirror_registry

Copies the images required for installation to a local registry
4 changes: 3 additions & 1 deletion roles/post_install/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# post_install
# post_install

Waits for the cluster to become operational then copies the kubeconfig and kubeadmin
4 changes: 3 additions & 1 deletion roles/process_kvm_nodes/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# process_kvm_nodes
# process_kvm_nodes

Creates and distributes kvm node specifications to vm hosts
4 changes: 2 additions & 2 deletions roles/process_kvm_nodes/tasks/create_node.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
- name: Set spec and role
set_fact:
kvm_node_spec: "{{ hostvars[kvm_node_hostname]['vm_spec'] | default({}) }}"
kvm_node_spec: "{{ hostvars[kvm_node_hostname]['vm_spec'] | default({}) }}"
kvm_node_defaults: "{{ vm_group_params[hostvars[kvm_node_hostname]['role']] }}"

- name: Set default main disk
Expand Down Expand Up @@ -31,7 +31,7 @@
kvm_node:
name: "{{ kvm_node_hostname.startswith(vm_node_prefix) | ternary(kvm_node_hostname, (vm_node_prefix + kvm_node_hostname)) }}"
uuid: "{{ hostvars[kvm_node_hostname]['uuid'] | default('') }}"
mac: "{{ vm_mac }}"
mac: "{{ vm_mac }}"
vm_host: "{{ vm_hostname }}"
memory: "{{ kvm_node_spec['ram_mib'] | default(kvm_node_defaults['memory']) }}"
vcpu: "{{ kvm_node_spec['cpu_cores'] | default(kvm_node_defaults['vcpu']) }}"
Expand Down
4 changes: 3 additions & 1 deletion roles/process_nmstate/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# process_nmstate
# process_nmstate

Renders nmstate from crucible network_config
4 changes: 3 additions & 1 deletion roles/setup_assisted_installer/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# setup_assisted_installer
# setup_assisted_installer

Deploys an on-prem assisted installer
4 changes: 3 additions & 1 deletion roles/setup_mirror_registry/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# setup_mirror_registry
# setup_mirror_registry

Deploys a local container registry
4 changes: 3 additions & 1 deletion roles/setup_ntp/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# setup_ntp
# setup_ntp

Deploys chrony
4 changes: 3 additions & 1 deletion roles/setup_selfsigned_cert/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# setup_selfsigned_cert
# setup_selfsigned_cert

Generates self signed SSL certs
4 changes: 3 additions & 1 deletion roles/setup_sushy_tools/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# setup_sushy_tools
# setup_sushy_tools

deploys virtual redfish for kvm
4 changes: 3 additions & 1 deletion roles/setup_tftp/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# setup_tftp
# setup_tftp

Deploys a TFTP server
4 changes: 3 additions & 1 deletion roles/setup_vm_host_network/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# setup_vm_host_network
# setup_vm_host_network

Configures the network for vm hosts
4 changes: 3 additions & 1 deletion roles/validate_dns_records/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# validate_dns_records
# validate_dns_records

Checks for the required dns entries for ingress and api VIPs
4 changes: 3 additions & 1 deletion roles/validate_http_store/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# validate_http_store
# validate_http_store

Checks via a round trip that http store is functional
4 changes: 3 additions & 1 deletion roles/validate_inventory/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# validate_inventory
# validate_inventory

Validates a crucible inventory
4 changes: 3 additions & 1 deletion roles/vendors/dell/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# dell
# dell

Boots a dell iDRAC machine to iso or disk via redfish
4 changes: 3 additions & 1 deletion roles/vendors/hpe/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# hpe
# hpe

Boots a hpe ilo machine to iso or disk via redfish
4 changes: 3 additions & 1 deletion roles/vendors/kvm/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# kvm
# kvm

Boots a vm to iso or disk via redfish (sushy tools)
4 changes: 3 additions & 1 deletion roles/vendors/lenovo/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# lenovo
# lenovo

Boots a lenovo machine to iso or disk via redfish
4 changes: 3 additions & 1 deletion roles/vendors/pxe/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# pxe
# pxe

Boots a machine to pxe or disk via ipmi
4 changes: 3 additions & 1 deletion roles/vendors/supermicro/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# supermicro
# supermicro

Boots a supermicro machine to iso or disk via redfish
4 changes: 3 additions & 1 deletion roles/vendors/zt/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# zt
# zt

Boots a zt machine to iso or disk via redfish

0 comments on commit bcb1477

Please sign in to comment.