Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
314 commits
Select commit Hold shift + click to select a range
7dbe61a
Fix markup and wording for release note
priteau Jun 23, 2025
56a2670
Merge "Bump stackhpc.linux to 1.3.4"
Jun 23, 2025
87459af
Merge "Drop some leftovers"
Jun 24, 2025
d3d5d59
Merge pull request #441 from stackhpc/upstream/master-2025-06-24
priteau Jun 24, 2025
4007b0e
Bump dellemc.os10 to 1.2.7
priteau Jun 24, 2025
9fdae13
Fix typo
priteau Jun 25, 2025
36e7a7b
Support empty strings in dev-tools package lists
priteau Jun 25, 2025
1751b0f
Merge "Support empty strings in dev-tools package lists"
Jun 27, 2025
64a845a
Merge "Bump dellemc.os10 to 1.2.7"
Jun 27, 2025
115f837
Merge pull request #444 from stackhpc/upstream/master-2025-06-30
priteau Jun 30, 2025
b67587e
CI: Make rocky9 VM jobs non-voting
priteau Jul 3, 2025
1372a7b
junos-switch: Fix junos_config call
priteau Jul 3, 2025
4051b0c
CI: Remove installation of catatonit
priteau Jul 3, 2025
4a27c44
Merge pull request #445 from stackhpc/upstream/master-2025-07-07
Alex-Welsh Jul 7, 2025
5e9b773
Enable building of neutron-bgp-dragent container
Alex-Welsh Jul 8, 2025
57c1d46
Merge "junos-switch: Fix junos_config call"
Jul 10, 2025
a263a33
Merge "Fix documentation of seed_containers usage"
Jul 11, 2025
4d24fe7
Merge "Fix markup and wording for release note"
Jul 11, 2025
f100f93
Merge pull request #452 from stackhpc/upstream/master-2025-07-11
bbezak Jul 11, 2025
9d3bf14
Add network group to tls-backend
mnasiadka Jul 16, 2025
28dadfb
Bump jriguera.configdrive to latest master commit
m-bull Jul 24, 2025
9b5e605
CI: Switch from td-agent to fluent-package (LTS)
priteau Jul 24, 2025
86b6d63
Merge pull request #456 from stackhpc/upstream/master-2025-07-28
priteau Jul 28, 2025
ebde7d6
Merge pull request #457 from stackhpc/upstream/master-2025-08-04
priteau Aug 4, 2025
d213dba
use current debian version supported by kolla
bbezak Aug 4, 2025
24b975f
public-openrc: avoid duplicate OS_CACERT
bbezak Jul 10, 2025
adab346
Merge "use current debian version supported by kolla"
Aug 6, 2025
d410992
Fix version of EPEL GPG key
priteau Aug 7, 2025
44cbd12
Merge pull request #460 from stackhpc/upstream/master-2025-08-11
Alex-Welsh Aug 11, 2025
e303339
Fix known_hosts module issue on centos/rocky 10
priteau Jul 11, 2025
12a2ce3
Merge "CI: Switch from td-agent to fluent-package (LTS)"
Aug 18, 2025
73096da
Merge "Fix version of EPEL GPG key"
Aug 18, 2025
fb259e9
CI: Move failing job to experimental queue
priteau Aug 19, 2025
a4a86f3
Synchronise neutron groups with kolla-ansible
priteau Aug 19, 2025
3dee454
Merge "Fix known_hosts module issue on centos/rocky 10"
Aug 20, 2025
243661a
Adds selinux_update_kernel_param
jovial Aug 19, 2025
7cdf272
Revert "CI: Make rocky9 VM jobs non-voting"
priteau Aug 22, 2025
3bdf679
Merge pull request #466 from stackhpc/upstream/master-2025-08-25
priteau Aug 25, 2025
200ffd1
Merge "Adds selinux_update_kernel_param"
Aug 26, 2025
7c6f81b
Fix networking connectivity check with no_ip
jovial Aug 19, 2025
bf10d47
Fix markup syntax
priteau Aug 26, 2025
07e8745
CI: Move failing jobs to experimental queue
priteau Aug 28, 2025
8e54f36
CI: Remove failing jobs from gate
priteau Aug 29, 2025
e26b209
Switch to EFI-compatible CentOS Stream cloud image
priteau Aug 28, 2025
2228dbb
CI: Rename seed-vm-efi jobs to seed-vm-q35
priteau Aug 29, 2025
f7dbbd5
Adds selinux_update_kernel_param
jovial Aug 19, 2025
8106156
Revert "CI: Make rocky9 VM jobs non-voting"
priteau Aug 22, 2025
72884ed
Fix networking connectivity check with no_ip
jovial Aug 19, 2025
ce2b953
CI: Move failing jobs to experimental queue
priteau Aug 28, 2025
f4913e4
CI: Remove failing jobs from gate
priteau Aug 29, 2025
ca90f8f
Switch to EFI-compatible CentOS Stream cloud image
priteau Aug 28, 2025
8fb065f
Merge "CI: Rename seed-vm-efi jobs to seed-vm-q35"
Sep 1, 2025
f951d7e
CI: Test seed VM with distribution cloud images
priteau Sep 2, 2025
56a33de
Remove rule for legacy deployment kernel update
priteau Sep 3, 2025
47b9307
Merge "Remove rule for legacy deployment kernel update"
Sep 3, 2025
8e977fa
Switch infra VMs to EFI-compatible CentOS image
priteau Sep 3, 2025
43236f1
CI: Add jobs for infra VM testing with cloud image
priteau Sep 4, 2025
3912eee
Fix kolla_docker_namespace comment
dougszumski Sep 5, 2025
0e06198
Fix network check for Bifrost
dougszumski Sep 5, 2025
44c3612
Merge branch 'stackhpc/master' into upstream/master-2025-09-08
priteau Sep 8, 2025
59536df
Merge pull request #471 from stackhpc/upstream/master-2025-09-08
priteau Sep 8, 2025
c34c595
Merge "Fix kolla_docker_namespace comment"
Sep 8, 2025
2cbb101
CI: Remove configuration of ironic interfaces
priteau Sep 9, 2025
59eb49f
Remove ironic-inspector support
priteau Sep 9, 2025
9538f12
Merge "CI: Remove configuration of ironic interfaces"
Sep 9, 2025
183ccc5
CI: Switch queue to kolla
mnasiadka Sep 10, 2025
c136c23
Bump MichaelRigart.interfaces to v1.15.6
priteau Sep 10, 2025
d7f7172
Merge pull request #475 from stackhpc/upstream/master-2025-09-15
priteau Sep 15, 2025
4416332
Fix disabling NetworkManager DNS management on Rocky Linux 10
priteau Sep 17, 2025
d627389
Change default centos bootstrap user to cloud-user
priteau Sep 19, 2025
f5a5ddb
Explicity set --check and --diff in kolla-ansible
m-bull Sep 12, 2025
b9bc2c5
Fix disabling NetworkManager DNS management on Rocky Linux 10
priteau Sep 17, 2025
892d9a9
Change default centos bootstrap user to cloud-user
priteau Sep 19, 2025
141c35f
Explicity set --check and --diff in kolla-ansible
m-bull Sep 12, 2025
38742f1
ironic: Add kolla_ironic_inspection_network
mnasiadka Dec 18, 2024
751d52c
Merge "ironic: Add kolla_ironic_inspection_network"
Sep 23, 2025
f376ae0
Network connectivity: Fix regression with noip
jovial Sep 25, 2025
b491c27
CI: Fix Ubuntu cloud image tests
priteau Sep 19, 2025
4b608da
Merge "Fix markup syntax"
Sep 26, 2025
2705187
Merge pull request #479 from stackhpc/upstream/master-2025-09-29
priteau Sep 29, 2025
cfea27a
Configure tuned on Ubuntu
priteau Sep 29, 2025
b7a9119
Merge "CI: Fix Ubuntu cloud image tests"
Sep 29, 2025
8c23820
Merge "Configure tuned on Ubuntu"
Sep 29, 2025
80782a4
CI: Add CentOS Stream/Rocky Linux 10 host configure jobs
priteau Sep 29, 2025
f23cb60
Support CentOS Stream 10 and Rocky Linux 10 images
priteau Sep 30, 2025
5bffc12
Bump Ceph package repository to Squid
priteau Oct 3, 2025
ae01256
Merge branch 'stackhpc/master' into upstream/master-2025-10-06
priteau Oct 6, 2025
8ce9643
Merge pull request #482 from stackhpc/upstream/master-2025-10-06
priteau Oct 6, 2025
d48d3b2
Bump stackhpc.libvirt-host to v1.14.0
priteau Oct 10, 2025
cdfb2ec
Remove inspection store
jovial Sep 5, 2025
6986fea
Change IPA compression algorithm from default gzip to zstd -19
claudia-lola Sep 25, 2025
599edfc
Merge "Change IPA compression algorithm from default gzip to zstd -19"
Oct 13, 2025
ff1f584
Merge "Bump stackhpc.libvirt-host to v1.14.0"
Oct 13, 2025
fd9e45b
Switch default Kolla images for centos/rocky 10
priteau Oct 15, 2025
2996635
CI: Add more centos/rocky 10 jobs
priteau Oct 2, 2025
3ba07b2
Add redfish pxe args for virtual media
claudia-lola Sep 8, 2025
7ddecae
Merge "Remove inspection store"
Oct 15, 2025
3081026
Merge "Add redfish pxe args for virtual media"
Oct 16, 2025
664e03d
Merge "Switch default Kolla images for centos/rocky 10"
Oct 17, 2025
559a08b
Remove default(omit) from Bifrost inventory template
mmalchuk Oct 17, 2025
343c88d
Merge "CI: Add more centos/rocky 10 jobs"
Oct 17, 2025
33f39fa
Merge "Remove default(omit) from Bifrost inventory template"
Oct 17, 2025
8882c87
CI: Replace deprecated yaml callback plugin
priteau Oct 18, 2025
5bf9c19
Change IPA compression algorithm from default gzip to zstd -19
claudia-lola Sep 25, 2025
1ff7e44
Bump stackhpc.libvirt-host to v1.14.0
priteau Oct 10, 2025
8b81ea3
Remove inspection store
jovial Sep 5, 2025
9431825
Add redfish pxe args for virtual media
claudia-lola Sep 8, 2025
ddae801
Switch default Kolla images for centos/rocky 10
priteau Oct 15, 2025
b34e7f9
CI: Add more centos/rocky 10 jobs
priteau Oct 2, 2025
fe5c81f
Remove default(omit) from Bifrost inventory template
mmalchuk Oct 17, 2025
2b87509
neutron: Remove support for linux bridge mechanism driver
bbezak Oct 24, 2025
b9932e6
Merge pull request #489 from stackhpc/upstream/master-2025-10-27
priteau Oct 27, 2025
5eb4cbc
Account for encoding in _get_direct_url
IanWatson92 Oct 23, 2025
ac156f4
Merge "Account for encoding in _get_direct_url"
Oct 27, 2025
a37f25e
Merge pull request #491 from stackhpc/upstream/master-2025-11-03
priteau Nov 3, 2025
22fc03f
CI: Fix CentOS Stream 10 host configure job
priteau Nov 6, 2025
d5e6a9e
Add centos/rocky 10 seed-images jobs
priteau Oct 31, 2025
15353c0
Always call virtualenv as a Python module during setup
sellth Nov 4, 2025
2f8cc7b
Replace local_action with delegate to localhost
jovial Oct 17, 2025
a22e6e9
Merge "Add centos/rocky 10 seed-images jobs"
Nov 10, 2025
f3e26cf
Merge pull request #495 from stackhpc/upstream/master-2025-11-10
priteau Nov 10, 2025
a6e29d2
Drop support for CentOS Stream 9 and Rocky Linux 9
priteau Nov 12, 2025
d759b5f
[release] Fix kolla-feature-flags.sh
priteau Nov 12, 2025
a846ccc
[release] Sync with Kolla Ansible for 2025.2
priteau Nov 12, 2025
237e8b0
[release] Use OpenStack 2025.2 release
priteau Nov 12, 2025
012f77b
Merge "Replace local_action with delegate to localhost"
Nov 12, 2025
6fc7628
Merge "Drop support for CentOS Stream 9 and Rocky Linux 9"
Nov 12, 2025
2f84565
Bump up Ansible supported versions to 11.x/12.x
jovial Sep 25, 2025
6d1dd92
Merge "Bump up Ansible supported versions to 11.x/12.x"
Nov 13, 2025
b80917d
Merge "[release] Fix kolla-feature-flags.sh"
Nov 13, 2025
40d366e
Merge "[release] Sync with Kolla Ansible for 2025.2"
Nov 13, 2025
75d93c8
Support built-in inspector
jovial Sep 8, 2025
63f1043
Merge "[release] Use OpenStack 2025.2 release"
Nov 14, 2025
ee2657d
Fix comment in globals.yml
priteau Nov 14, 2025
7233942
[release] Fix release notes for 2025.2
priteau Nov 14, 2025
2ba4c4e
Merge "Support built-in inspector"
Nov 14, 2025
df5f67c
Merge "[release] Fix release notes for 2025.2"
Nov 14, 2025
8bb8a44
Merge "Fix comment in globals.yml"
Nov 14, 2025
5c7669a
Fix versions in Ansible bump release note
priteau Nov 14, 2025
5367bc6
Merge branch 'stackhpc/master' into upstream/master-2025-11-17
priteau Nov 17, 2025
191e4d9
Bump minimum Python version to 3.12
priteau Nov 17, 2025
235ffef
Merge pull request #496 from stackhpc/upstream/master-2025-11-17
Alex-Welsh Nov 17, 2025
3df4403
Merge "Bump minimum Python version to 3.12"
Nov 17, 2025
85a0356
Move nvidia.nvue to 1.2.9 for cumulus 5.13
JohnGarbutt Sep 8, 2025
dbde402
Merge "Move nvidia.nvue to 1.2.9 for cumulus 5.13"
Nov 17, 2025
0363434
Update master for stable/2025.2
openstackadmin Nov 18, 2025
ddccfb1
feat: add command to view passwords
jackhodgkiss Aug 3, 2025
4275c90
Fix issues with inspection rules
priteau Nov 21, 2025
2d40dda
Fix versions in Ansible bump release note
priteau Nov 14, 2025
35e8346
Bump minimum Python version to 3.12
priteau Nov 17, 2025
0608b48
Move nvidia.nvue to 1.2.9 for cumulus 5.13
JohnGarbutt Sep 8, 2025
9a85417
Update master for stable/2025.2
openstackadmin Nov 18, 2025
67d0bb0
reno: Update master for unmaintained/2024.1
openstackadmin Nov 24, 2025
2858b25
Document moving releases to unmaintained and EOL
priteau Nov 25, 2025
03c849c
Test bare metal node inspection
jovial Sep 15, 2025
645a307
Fix typo of the task name
mmalchuk Nov 26, 2025
c59e261
Handle empty remote_hosts in kayobe connectivity check
bbezak Nov 26, 2025
fe86f0a
CI: Skip baremetal inspect for UEFI boot mode
priteau Nov 28, 2025
c275aec
Merge "feat: add command to view passwords"
Nov 28, 2025
1b7b9f2
Merge "Handle empty remote_hosts in kayobe connectivity check"
Nov 28, 2025
6194b95
Bifrost: Add inspector_keep_ports option
bbezak Nov 26, 2025
044b065
Merge pull request #500 from stackhpc/upstream/master-2025-12-01
priteau Dec 1, 2025
fa13678
Fix Bifrost host variable file generation
priteau Dec 1, 2025
2606ac8
Merge pull request #502 from stackhpc/upstream/master-2025-12-02
Alex-Welsh Dec 2, 2025
88f30f2
CI: Stop using infra cache servers as registry
priteau Dec 4, 2025
ec06645
Revert "[release] Use OpenStack 2025.2 release"
priteau Dec 5, 2025
390d966
Document another change when moving to unmaintained
priteau Dec 6, 2025
29bd245
Merge pull request #505 from stackhpc/upstream/master-2025-12-08
Alex-Welsh Dec 8, 2025
3c2cf92
CI: Ensure firewalld is unmasked
priteau Dec 9, 2025
ec5c5e6
Add configuration for Ironic introspection DNS servers
sellth Nov 8, 2025
f773cd0
CI: Use centos:stream10 image for molecule
priteau Dec 15, 2025
9eac849
Revert "[release] Use OpenStack 2025.2 release"
priteau Dec 5, 2025
54e9cf6
CI: Ensure firewalld is unmasked
priteau Dec 9, 2025
7fd30fd
Merge "Document another change when moving to unmaintained"
Dec 15, 2025
f3435e6
Merge "Bifrost: Add inspector_keep_ports option"
Dec 15, 2025
cee36ca
Merge "Add configuration for Ironic introspection DNS servers"
Dec 15, 2025
bc887cf
Document centos/rocky 10 support in 2025.1
priteau Dec 16, 2025
1444d79
Use opendevmirror/ubuntu:24.04 image for molecule
priteau Dec 18, 2025
84ff77c
Merge pull request #513 from stackhpc/upstream/master-2025-12-22
Alex-Welsh Dec 22, 2025
41f2c3d
CI: Disable kayobe-overcloud-tls-rocky10 job
priteau Dec 30, 2025
47f8365
CI: Restore Rocky Linux upgrade jobs
priteau Dec 31, 2025
600fc5a
CI: Fix overcloud deploy with TLS enabled
priteau Dec 31, 2025
afc25e4
Merge "CI: Fix overcloud deploy with TLS enabled"
Dec 31, 2025
21213e7
Bump up Ansible supported versions to 12.x/13.x
priteau Jan 5, 2026
de304a4
CI: Disable kayobe-overcloud-tls-rocky10 job
priteau Dec 30, 2025
703a247
CI: Restore Rocky Linux upgrade jobs
priteau Dec 31, 2025
ba4e677
CI: Fix overcloud deploy with TLS enabled
priteau Dec 31, 2025
c69eaf9
Add infra-vms to ntp group
priteau Jan 7, 2026
6d62a9c
CI: Always use openstack-ci-mirrors element
priteau Jan 7, 2026
8b64b6e
Merge "Bump up Ansible supported versions to 12.x/13.x"
Jan 8, 2026
fc44fd6
Merge pull request #516 from stackhpc/upstream/master-2026-01-12
priteau Jan 12, 2026
60a71c7
CI: Fix multiple issues
priteau Jan 20, 2026
d7686f5
CI: Re-enable seed jobs
priteau Jan 21, 2026
c113917
Add Python 3.13 classifier
priteau Jan 22, 2026
b50cd2d
Replace obsolete PCRE packages
priteau Jan 22, 2026
aeaf7cb
CI: Set previous_release for 2026.1 Gazpacho
priteau Jan 22, 2026
4793070
Merge "Document centos/rocky 10 support in 2025.1"
Jan 22, 2026
7d72125
Merge "CI: Always use openstack-ci-mirrors element"
Jan 22, 2026
eb81583
Merge "Add Python 3.13 classifier"
Jan 22, 2026
0f00bba
Merge "Replace obsolete PCRE packages"
Jan 22, 2026
7ad8640
Merge "CI: Set previous_release for 2026.1 Gazpacho"
Jan 22, 2026
bbc0a87
CI: Add SLURP upgrade jobs from 2025.1 to 2026.1
priteau Jan 22, 2026
6b40287
Support swap configuration for all host groups
priteau Jan 21, 2026
2e93afb
Sync host configuration with Ansible defaults
priteau Jan 14, 2026
32214e2
CI: Make Tenks nodes compatible with c9s IPA
priteau Jan 24, 2026
5f747c0
Merge "CI: Make Tenks nodes compatible with c9s IPA"
Jan 26, 2026
49ed97c
Merge pull request #519 from stackhpc/upstream/master-2026-01-26
priteau Jan 26, 2026
62721ab
Merge "Support swap configuration for all host groups"
Jan 26, 2026
ca230c7
Add support for url sources in kolla_sources
elelaysh Dec 9, 2025
78afc61
Merge "Sync host configuration with Ansible defaults"
Jan 27, 2026
0788c6d
CI: Add missing job to experimental queue
priteau Jan 27, 2026
b622c92
Merge "Add support for url sources in kolla_sources"
Jan 27, 2026
16f7e2e
CI: Enable baremetal inspection testing
priteau Jan 27, 2026
f1cea2b
Remove undocumented playbook for creating external network
jovial Dec 15, 2025
7b11017
Changed the way bashate is executed to exclude local dev artifacts.
grzegorzkoper Jan 27, 2026
80c4838
Merge "Changed the way bashate is executed to exclude local dev artif…
Jan 28, 2026
9f1a265
Merge "Remove undocumented playbook for creating external network"
Jan 28, 2026
8397426
CI: Add bandit testing
mnasiadka Oct 25, 2024
4e949a3
Merge pull request #521 from stackhpc/upstream/master-2026-02-02
priteau Feb 2, 2026
0115b6e
Bump stackhpc.linux collection to v1.5.1
MoteHue Feb 2, 2026
6142c9f
Merge "CI: Add bandit testing"
Feb 5, 2026
49d6602
Merge pull request #524 from stackhpc/upstream/master-2026-02-05
priteau Feb 5, 2026
06c025e
Remove compatibility with Ansible 11
priteau Feb 6, 2026
981d639
Split Python installation from user bootstrap
priteau Feb 7, 2026
fbac01d
Stop using reserved variable: gather_facts
jovial Feb 11, 2026
a5b72b0
Bump all Ansible collections and roles
priteau Feb 12, 2026
f29b342
Exclude local artifacts from ansible-lint
grzegorzkoper Feb 11, 2026
c028815
Merge pull request #525 from stackhpc/upstream/master-2026-02-16
priteau Feb 16, 2026
981dcf6
Merge "Stop using reserved variable: gather_facts"
Feb 16, 2026
18d022a
Merge "Bump all Ansible collections and roles"
Feb 16, 2026
a011c02
Merge "Split Python installation from user bootstrap"
Feb 17, 2026
8b36acd
Support Python installation through Apt proxy
priteau Feb 17, 2026
f5ca164
Support Ansible control host configuration
markgoddard Jun 14, 2024
cfe58bf
fix (docs): correct passwords view command
jackhodgkiss Feb 20, 2026
1b6ace4
Add dummy variable to fix Ansible parsing
priteau Feb 20, 2026
e227935
Merge "fix (docs): correct passwords view command"
Feb 20, 2026
48b18d9
Merge pull request #528 from stackhpc/upstream/master-2026-02-23
priteau Feb 23, 2026
aa230f9
CI: Disable seed jobs
priteau Feb 25, 2026
9fd2c33
Merge pull request #529 from stackhpc/upstream/master-2026-03-02
priteau Mar 2, 2026
bf3b335
Fix compatibility with python-ironicclient 6.0.0
priteau Mar 2, 2026
4ddee65
Revert "CI: Disable seed jobs"
priteau Mar 4, 2026
75844f6
Bump stackhpc.openstack to 0.10.1
jovial Feb 16, 2026
89646f9
[networkd] Fix broken conditional
jovial Jan 29, 2026
6d8f40c
[firewalld] Fix broken conditional
jovial Jan 29, 2026
fd57c5e
Skip external connectivity check when behind a proxy
assumptionsandg Nov 28, 2025
d679f16
Add support for fail2ban in Kayobe
L-Chams Jan 12, 2026
8acf6a7
Deprecate kolla-tags and kolla-limit
MoteHue Nov 19, 2024
20603ff
CI: Bump ansible-lint to 26.x
priteau Mar 17, 2026
b0148ec
Drop backwards compatibility for template trusting
MoteHue Mar 3, 2026
fda8262
Build Rocky based IPA images
owenjones Mar 25, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
37 changes: 37 additions & 0 deletions .ansible-lint
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
# NOTE(priteau): Rule file imported from kolla-ansible
strict: true
use_default_rules: true
skip_list:
# [E301] Commands should not change things if nothing needs doing
# TODO(mnasiadka): Fix tasks that fail this check in a later iteration
- no-changed-when
# [E503] Tasks that run when changed should likely be handlers
- no-handler
# [unnamed-task] All tasks should be named
# FIXME(mgoddard): Add names to all tasks
- unnamed-task
# Package installs should not use latest
- package-latest
# NOTE(frickler): Agreed at Zed PTG not to use FQCN for builtin actions for now, due to
# conflicts with open patches and backports.
- fqcn-builtins
# Allow Jinja templating inside task and play names
- name[template]
# FQCNs again, now for module actions
- fqcn[action]
# role name check matching ^*$
- role-name
# Allow long lines
- yaml[line-length]
# TODO(frickler): Discuss these in detail, skipping for now to unblock things
- command-instead-of-module
- command-instead-of-shell
- deprecated-local-action
- key-order[task]
- name[play]
- risky-file-permissions
- risky-shell-pipe
- run-once[task]
- var-naming[no-reserved]
- var-naming[no-role-prefix]
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @stackhpc/kayobe
12 changes: 12 additions & 0 deletions .github/workflows/tag-and-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
name: Tag & Release
'on':
push:
branches:
- stackhpc/master
permissions:
actions: read
contents: write
jobs:
tag-and-release:
uses: stackhpc/.github/.github/workflows/tag-and-release.yml@main
7 changes: 7 additions & 0 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
name: Tox Continuous Integration
'on':
pull_request:
jobs:
tox:
uses: stackhpc/.github/.github/workflows/tox.yml@main
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ ansible/*.retry
ansible/roles/*/tests/*.retry

# Ansible Galaxy roles & collections
.ansible
ansible/roles/*\.*/
ansible/collections/

Expand Down
19 changes: 19 additions & 0 deletions ansible/action_plugins/template_content.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Copyright (c) 2025 StackHPC Ltd.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.

__metaclass__ = type

import kayobe.plugins.action.template_content

ActionModule = kayobe.plugins.action.template_content.ActionModule
4 changes: 2 additions & 2 deletions ansible/apt.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
- name: Ensure APT is configured
hosts: seed-hypervisor:seed:overcloud:infra-vms
hosts: seed-hypervisor:seed:overcloud:infra-vms:ansible-control
max_fail_percentage: >-
{{ apt_max_fail_percentage |
default(host_configure_max_fail_percentage) |
Expand All @@ -11,7 +11,7 @@
tags:
- apt
tasks:
- name: include apt role
- name: Include apt role
include_role:
name: apt
when: ansible_facts.os_family == 'Debian'
14 changes: 7 additions & 7 deletions ansible/baremetal-compute-introspection-data-save.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
- name: Set up openstack cli virtualenv
pip:
virtualenv: "{{ venv }}"
virtualenv_command: python3 -m venv
name:
- python-openstackclient
- python-ironic-inspector-client
- python-ironicclient
state: latest
virtualenv_command: python3.{{ ansible_facts.python.version.minor }} -m venv
extra_args: "{% if pip_upper_constraints_file %}-c {{ pip_upper_constraints_file }}{% endif %}"

- name: Ensure the baremetal compute nodes' hardware introspection data is saved
Expand All @@ -31,7 +31,7 @@
tasks:
- name: Query baremetal compute nodes' hardware introspection data
command: >
{{ venv }}/bin/openstack baremetal introspection data save {{ inventory_hostname }}
{{ venv }}/bin/openstack baremetal node inventory save {{ inventory_hostname }}
register: save_result
changed_when: False
# Ignore errors, log a message later.
Expand All @@ -44,14 +44,14 @@
ansible_host: "{{ hostvars[controller_host].ansible_host | default(controller_host) }}"

- name: Ensure introspection data output directory exists
local_action:
module: file
delegate_to: localhost
file:
path: "{{ output_dir }}"
state: directory

- name: Ensure introspection data is saved locally
local_action:
module: copy
delegate_to: localhost
copy:
content: "{{ introspection_data_map[output_format | lower] }}"
dest: "{{ output_dir }}/{{ inventory_hostname }}.{{ output_format | lower }}"
when: save_result.rc == 0
Expand Down
68 changes: 34 additions & 34 deletions ansible/baremetal-compute-register.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,42 +39,42 @@
fail_msg: One or more Ironic variables are undefined.

- block:
- name: Show baremetal node
ansible.builtin.command:
cmd: "{{ venv }}/bin/openstack baremetal node show {{ inventory_hostname }}"
register: node_show
failed_when:
- '"HTTP 404" not in node_show.stderr'
- node_show.rc != 0
changed_when: false
- name: Show baremetal node
ansible.builtin.command:
cmd: "{{ venv }}/bin/openstack baremetal node show {{ inventory_hostname }}"
register: node_show
failed_when:
- '"HTTP 404" not in node_show.stderr'
- node_show.rc != 0
changed_when: false

# NOTE: The openstack.cloud.baremetal_node module cannot be used in this
# script due to requiring a MAC address pre-defined, instead, this should
# be discovered by inpsection following this script.
#
# NOTE: IPMI address must be passed with Redfish address to ensure existing
# Ironic nodes match with new nodes during inspection.
- name: Create baremetal nodes
ansible.builtin.shell:
cmd: |
{{ venv }}/bin/openstack baremetal node create \
--name {{ inventory_hostname }} \
--driver {{ ironic_driver }} \
{% for key, value in ironic_driver_info.items() %}
--driver-info {{ key }}={{ value }} \
{% endfor %}
{% for key, value in ironic_properties.items() %}
--property {{ key }}={{ value }} \
{% endfor %}
--resource-class {{ ironic_resource_class }}
when:
- node_show.rc != 0
# NOTE: The openstack.cloud.baremetal_node module cannot be used in this
# script due to requiring a MAC address pre-defined, instead, this should
# be discovered by inpsection following this script.
#
# NOTE: IPMI address must be passed with Redfish address to ensure existing
# Ironic nodes match with new nodes during inspection.
- name: Create baremetal nodes
ansible.builtin.shell:
cmd: |
{{ venv }}/bin/openstack baremetal node create \
--name {{ inventory_hostname }} \
--driver {{ ironic_driver }} \
{% for key, value in ironic_driver_info.items() %}
--driver-info {{ key }}={{ value }} \
{% endfor %}
{% for key, value in ironic_properties.items() %}
--property {{ key }}={{ value }} \
{% endfor %}
--resource-class {{ ironic_resource_class }}
when:
- node_show.rc != 0

- name: Manage baremetal nodes
ansible.builtin.command:
cmd: "{{ venv }}/bin/openstack baremetal node manage {{ inventory_hostname }} --wait"
when:
- node_show.rc != 0
- name: Manage baremetal nodes
ansible.builtin.command:
cmd: "{{ venv }}/bin/openstack baremetal node manage {{ inventory_hostname }} --wait"
when:
- node_show.rc != 0
delegate_to: "{{ controller_host }}"
vars:
# NOTE: Without this, the controller's ansible_host variable will not
Expand Down
9 changes: 5 additions & 4 deletions ansible/baremetal-compute-rename.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

- name: Rename baremetal compute nodes
hosts: controllers[0]
gather_facts: False
gather_facts: True
vars:
venv: "{{ virtualenv_path }}/openstack-cli"
pre_tasks:
Expand All @@ -16,6 +16,7 @@
- python-openstackclient
- python-ironicclient
state: latest
virtualenv_command: "python3.{{ ansible_facts.python.version.minor }} -m venv"
extra_args: "{% if pip_upper_constraints_file %}-c {{ pip_upper_constraints_file }}{% endif %}"

- name: Rename baremetal compute nodes
Expand Down Expand Up @@ -53,16 +54,16 @@

- name: Rename baremetal compute nodes
command: >
{{ venv }}/bin/openstack baremetal node set --name "{{ inventory_hostname }}" "{{ node['UUID'] }}"
{{ venv }}/bin/openstack baremetal node set --name "{{ inventory_hostname }}" "{{ node['uuid'] }}"
delegate_to: "{{ controller_host }}"
environment: "{{ openstack_auth_env }}"
vars:
# NOTE: Without this, the controller's ansible_host variable will not
# be respected when using delegate_to.
ansible_host: "{{ hostvars[controller_host].ansible_host | default(controller_host) }}"
ipmi_address: "{{ hostvars[inventory_hostname].ipmi_address }}"
matching_nodes: "{{ (nodes.stdout | from_json) | selectattr('Driver Info.ipmi_address', 'defined') | selectattr('Driver Info.ipmi_address', 'equalto', ipmi_address) | list }}"
matching_nodes: "{{ (nodes.stdout | from_json) | selectattr('driver_info.ipmi_address', 'defined') | selectattr('driver_info.ipmi_address', 'equalto', ipmi_address) | list }}"
node: "{{ matching_nodes | first }}"
when:
- matching_nodes | length > 0
- node['Name'] != inventory_hostname
- node['name'] != inventory_hostname
Loading
Loading