Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,3 +178,5 @@ ANSIBLE_COLLECTIONS_PATH=.ansible/collections \

Specifying `ANSIBLE_COLLECTIONS_PATH` ensures `ansible-lint` downloads collections and roles under the `.ansible` directory, separating them from our own roles under the `ansible` directory.
We exclude these downloaded files from linting by listing `.ansible` under `exclude_paths` in `.ansible-lint.yml`.

Want a dummy change?
7 changes: 4 additions & 3 deletions docs/image-build.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,10 @@ In summary, Packer creates an OpenStack VM, runs Ansible on that, shuts it down,

Many of the Packer variables defined in `openstack.pkr.hcl` control the definition of the build VM and how to SSH to it to run Ansible. These are generic OpenStack builder options
and are not specific to the Slurm Appliance. Packer variables can be set in a file at any convenient path; the build example above
shows the use of the environment variable `$PKR_VAR_environment_root` (which itself sets the Packer variable
`environment_root`) to automatically select a variable file from the current environment, but for site-specific builds
using a path in a "parent" environment is likely to be more appropriate (as builds should not be environment-specific to allow testing before deployment to a production environment).
shows the use of a path in the **site** environment. This is the most appropriate as builds should be tested in **dev** or **staging** before deployment to a production environment.

During stackhpc CI image builds, the environment variable `$PKR_VAR_environment_root` (which itself sets the Packer variable
`environment_root`) is used to automatically select a variable file from the current environment; see `.github/workflows/fatimage.yml`.

What is Slurm Appliance-specific are the details of how Ansible is run:

Expand Down
4 changes: 2 additions & 2 deletions environments/.stackhpc/tofu/cluster_image.auto.tfvars.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"cluster_image": {
"RL8": "openhpc-RL8-251119-1833-cb477455",
"RL9": "openhpc-RL9-251119-1834-cb477455"
"RL8": "openhpc-RL8-251201-1345-3360093c",
"RL9": "openhpc-RL9-251201-1345-3360093c"
}
}
4 changes: 4 additions & 0 deletions environments/common/inventory/groups
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,10 @@ k3s_agent
[extra_packages]
# Hosts to install specified additional packages on

[extra_packages:children]
# To include extra packages in base image
fatimage

[dnf_repos:children]
# Hosts to replace system repos with Pulp repos
# Roles/groups listed here *always* do installs:
Expand Down
Loading