Skip to content

Commit

Permalink
Merge pull request #516 from jpodivin/playbook-docs
Browse files Browse the repository at this point in the history
Stub documentation for all playbooks
  • Loading branch information
openshift-merge-bot[bot] authored Jan 2, 2024
2 parents c1344d9 + 83c46b7 commit 5ead703
Show file tree
Hide file tree
Showing 30 changed files with 90 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/source/playbooks/bootstrap.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
====================
Playbook - bootstrap
====================
3 changes: 3 additions & 0 deletions docs/source/playbooks/ceph_client.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
======================
Playbook - ceph_client
======================
3 changes: 3 additions & 0 deletions docs/source/playbooks/ceph_hci_pre.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
=======================
Playbook - ceph_hci_pre
=======================
3 changes: 3 additions & 0 deletions docs/source/playbooks/configure_network.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
============================
Playbook - configure_network
============================
3 changes: 3 additions & 0 deletions docs/source/playbooks/configure_os.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
=======================
Playbook - configure_os
=======================
3 changes: 3 additions & 0 deletions docs/source/playbooks/configure_ovs_dpdk.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
=============================
Playbook - configure_ovs_dpkg
=============================
3 changes: 3 additions & 0 deletions docs/source/playbooks/download_cache.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
=========================
Playbook - download_cache
=========================
3 changes: 3 additions & 0 deletions docs/source/playbooks/frr.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
==============
Playbook - frr
==============
3 changes: 3 additions & 0 deletions docs/source/playbooks/libvirt.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
==================
Playbook - libvirt
==================
3 changes: 3 additions & 0 deletions docs/source/playbooks/neutron_dhcp.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
=======================
Playbook - neutron_dhcp
=======================
3 changes: 3 additions & 0 deletions docs/source/playbooks/neutron_metadata.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
===========================
Playbook - neutron_metadata
===========================
3 changes: 3 additions & 0 deletions docs/source/playbooks/neutron_ovn.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
======================
Playbook - neutron_ovn
======================
3 changes: 3 additions & 0 deletions docs/source/playbooks/neutron_sriov.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
========================
Playbook - neutron_sriov
========================
3 changes: 3 additions & 0 deletions docs/source/playbooks/nova.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
===============
Playbook - nova
===============
3 changes: 3 additions & 0 deletions docs/source/playbooks/ovn.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
==============
Playbook - ovn
==============
3 changes: 3 additions & 0 deletions docs/source/playbooks/ovn_bgp_agent.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
============================
Playbook - install_bgp_agent
============================
6 changes: 6 additions & 0 deletions docs/source/playbooks/run_os.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
=================
Playbook - run_os
=================

Starts ssh, time, nftables, cron, iscsid and multipathd services, using their respective roles.
The :doc:`install_os` and :doc:`configure_os` are required prerequisites.
8 changes: 8 additions & 0 deletions docs/source/playbooks/select_kernel_ddp_package.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
====================================
Playbook - select_kernel_ddp_package
====================================

Installs ddp package using edpm_ddp_package role.

The package must be specified before playbook execution using the `edpm_ddp_package` variable.
Otherwise the default value "ddp" is used.
5 changes: 5 additions & 0 deletions docs/source/playbooks/telemetry.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
====================
Playbook - telemetry
====================

Deploys Ceilometer and node_exporter telemetry using the edpm_telemetry role.
5 changes: 5 additions & 0 deletions docs/source/playbooks/telemetry_logging.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
============================
Playbook - telemetry_logging
============================

Enables telemetry logging via rsyslog, using the edpm_telemetry role.
5 changes: 5 additions & 0 deletions docs/source/playbooks/validate_network.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
===========================
Playbook - validate_network
===========================

Uses edpm_nodes_validation role to ensure full network connectivity between them.
2 changes: 2 additions & 0 deletions playbooks/bootstrap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
name: osp.edpm.edpm_growvols
tags:
- edpm_growvols
# Installs multiple packages, sets up selinux and openvswitch
- name: Install edpm_bootstrap
ansible.builtin.import_role:
name: osp.edpm.edpm_bootstrap
Expand All @@ -27,6 +28,7 @@
name: edpm_users
tags:
- edpm_users
# Install packages and set up modules, reboot as needed
- name: Install edpm_kernel
ansible.builtin.import_role:
name: osp.edpm.edpm_kernel
Expand Down
1 change: 1 addition & 0 deletions playbooks/ceph_client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
any_errors_fatal: "{{ edpm_any_errors_fatal | default(true) }}"
max_fail_percentage: "{{ edpm_max_fail_percentage | default(0) }}"
tasks:
# Copy files from localhost, path specified in `edpm_ceph_client_files_source`
- name: Configure EDPM as client of Ceph
ansible.builtin.import_role:
name: osp.edpm.edpm_ceph_client_files
Expand Down
1 change: 1 addition & 0 deletions playbooks/ceph_hci_pre.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
any_errors_fatal: "{{ edpm_any_errors_fatal | default(true) }}"
max_fail_percentage: "{{ edpm_max_fail_percentage | default(0) }}"
tasks:
# Sets up firewall for ceph
- name: Prepare EDPM to Host Ceph
ansible.builtin.import_role:
name: osp.edpm.edpm_ceph_hci_pre
Expand Down
1 change: 1 addition & 0 deletions playbooks/configure_network.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
any_errors_fatal: "{{ edpm_any_errors_fatal | default(true) }}"
max_fail_percentage: "{{ edpm_max_fail_percentage | default(0) }}"
tasks:
# Sets up network using OVS
- name: Import edpm_network_config
ansible.builtin.import_role:
name: osp.edpm.edpm_network_config
Expand Down
2 changes: 2 additions & 0 deletions playbooks/configure_os.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
tasks_from: configure.yml
tags:
- edpm_podman
# Configures systemd services including `edpm-container-shutdown`
- name: Manage edpm container services
ansible.builtin.import_role:
name: osp.edpm.edpm_container_manage
Expand All @@ -31,6 +32,7 @@
tasks_from: configure.yml
tags:
- edpm_sshd
# Restart time services on change
- name: Configure edpm_timezone
ansible.builtin.import_role:
name: osp.edpm.edpm_timezone
Expand Down
3 changes: 3 additions & 0 deletions playbooks/install_os.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
tasks_from: install.yml
tags:
- edpm_sshd
# Depending on the environment we may have system roles under different name space
# However, code executed is the same. The difference is only
# in the mode of distribution.
- name: Install and configure time service using timesync system role
ansible.builtin.include_role:
name: "{{ lookup('ansible.builtin.env', 'EDPM_SYSTEMROLES', default='fedora.linux_system_roles') + '.timesync' }}"
Expand Down
1 change: 1 addition & 0 deletions playbooks/telemetry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
gather_facts: true
any_errors_fatal: "{{ edpm_any_errors_fatal | default(true) }}"
max_fail_percentage: "{{ edpm_max_fail_percentage | default(0) }}"
# Doesn't handle rsyslog
tasks:
- name: Deploy ceilometer
ansible.builtin.import_role:
Expand Down
1 change: 1 addition & 0 deletions playbooks/telemetry_logging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
strategy: linear
gather_facts: true
any_errors_fatal: true
# Only enables rsyslog
tasks:
- name: Enable logging
ansible.builtin.import_role:
Expand Down
1 change: 1 addition & 0 deletions playbooks/validate_network.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
any_errors_fatal: "{{ edpm_any_errors_fatal | default(true) }}"
max_fail_percentage: "{{ edpm_max_fail_percentage | default(0) }}"
tasks:
# Pings only IPv4
- name: Import edpm_nodes_validation
ansible.builtin.import_role:
name: osp.edpm.edpm_nodes_validation
Expand Down

0 comments on commit 5ead703

Please sign in to comment.