Skip to content

Commit 678d08d

Browse files
authored
Remove special-case for firewalld in builder (#364)
* fix leafcloud keyfile to match workflow * cope with clouds with default encrypted volumes for packer build * bump CI image * remove special-case for firewalld in builder * bump CI image * bump CI image
1 parent 1a456d0 commit 678d08d

File tree

5 files changed

+16
-21
lines changed

5 files changed

+16
-21
lines changed

ansible/fatimage.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,6 @@
2727
become: yes
2828
gather_facts: no
2929
tasks:
30-
- name: Disable firewalld
31-
# This is enabled on installation, which isn't what we want
32-
systemd:
33-
name: firewalld
34-
state: stopped
35-
enabled: false
36-
3730
# - import_playbook: iam.yml
3831
- name: Install FreeIPA client
3932
import_role:
Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,3 @@
11
---
22
- import_tasks: install.yml
3-
4-
- name: Apply filewalld configs
5-
ansible.posix.firewalld: "{{ item }}"
6-
notify: Restart filewalld
7-
loop: "{{ firewalld_configs }}"
8-
9-
- meta: flush_handlers
10-
11-
- name: Ensure filewalld state
12-
ansible.builtin.systemd:
13-
name: firewalld
14-
state: "{{ firewalld_state }}"
15-
enabled: "{{ firewalld_enabled | default('yes' ) }}"
3+
- import_tasks: runtime.yml
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
- name: Apply filewalld configs
2+
ansible.posix.firewalld: "{{ item }}"
3+
notify: Restart filewalld
4+
loop: "{{ firewalld_configs }}"
5+
6+
- meta: flush_handlers
7+
8+
- name: Ensure filewalld state
9+
ansible.builtin.systemd:
10+
name: firewalld
11+
state: "{{ firewalld_state }}"
12+
enabled: "{{ firewalld_enabled | default(true) }}"

environments/.stackhpc/terraform/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ variable "cluster_name" {
2222
variable "cluster_image" {
2323
description = "single image for all cluster nodes - a convenience for CI"
2424
type = string
25-
default = "openhpc-240307-1635-ff0f9833" # https://github.com/stackhpc/ansible-slurm-appliance/pull/376
25+
default = "openhpc-240308-1011-0f0291c0" # https://github.com/stackhpc/ansible-slurm-appliance/pull/364
2626
# default = "Rocky-8-GenericCloud-Base-8.9-20231119.0.x86_64.qcow2"
2727
}
2828

environments/common/inventory/group_vars/builder/defaults.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,5 @@ block_devices_configurations: [] # as volumes will not be attached to Packer bui
1414
mysql_state: stopped # as it tries to connect to real mysql node
1515
opensearch_state: stopped # avoid writing config+certs+db into image
1616
cuda_persistenced_state: stopped # probably don't have GPU in Packer build VMs
17+
firewalld_enabled: false # dnf install of firewalld enables it
18+
firewalld_state: stopped

0 commit comments

Comments
 (0)