Skip to content

Commit 0dae859

Browse files
authored
Merge pull request #263 from lae/release/v1.9.0
Release 1.9.0
2 parents bbc1e1f + a67997a commit 0dae859

23 files changed

+1245
-38
lines changed

.github/workflows/amplify.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
name: Amplify Security
3+
on:
4+
pull_request: {}
5+
workflow_dispatch: {}
6+
push:
7+
branches: ["main"]
8+
9+
permissions:
10+
contents: read
11+
id-token: write
12+
13+
jobs:
14+
amplify-security-scan:
15+
name: Amplify Security Scan
16+
runs-on: ubuntu-latest
17+
if: (github.actor != 'dependabot[bot]')
18+
steps:
19+
- name: Checkout
20+
uses: actions/checkout@v4
21+
- name: Amplify Runner
22+
uses: amplify-security/[email protected]

.github/workflows/ci.yml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
---
2+
name: CI
3+
4+
"on":
5+
pull_request: {}
6+
push:
7+
branches: ["main"]
8+
9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
11+
cancel-in-progress: true
12+
13+
defaults:
14+
run:
15+
shell: bash
16+
17+
permissions:
18+
contents: read
19+
20+
jobs:
21+
vagrant-deploy:
22+
runs-on: ubuntu-22.04
23+
steps:
24+
- uses: actions/checkout@v4
25+
- run: sudo apt install nfs-kernel-server
26+
- run: sudo pipx inject ansible-core jmespath netaddr
27+
- run: ansible-galaxy install geerlingguy.ntp
28+
- name: setup vagrant
29+
run: |
30+
# Copyright The containerd Authors
31+
#
32+
# Licensed under the Apache License, Version 2.0 (the "License");
33+
# you may not use this file except in compliance with the License.
34+
# You may obtain a copy of the License at
35+
#
36+
# http://www.apache.org/licenses/LICENSE-2.0
37+
#
38+
# Unless required by applicable law or agreed to in writing, software
39+
# distributed under the License is distributed on an "AS IS" BASIS,
40+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
41+
# See the License for the specific language governing permissions and
42+
# limitations under the License.
43+
curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg
44+
echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list
45+
sudo sed -i 's/^# deb-src/deb-src/' /etc/apt/sources.list
46+
sudo apt-get update
47+
sudo apt-get install -y libvirt-daemon libvirt-daemon-system vagrant
48+
sudo systemctl enable --now libvirtd
49+
sudo usermod -aG libvirt ${USER}
50+
sudo apt-get build-dep -y vagrant ruby-libvirt
51+
sudo apt-get install -y --no-install-recommends libxslt-dev libxml2-dev libvirt-dev ruby-bundler ruby-dev zlib1g-dev
52+
vagrant plugin install vagrant-libvirt
53+
- run: >
54+
sudo -E -u ${USER}
55+
ANSIBLE_STDOUT_CALLBACK=debug
56+
ANSIBLE_DISPLAY_SKIPPED_HOSTS=no
57+
ANSIBLE_DISPLAY_OK_HOSTS=no
58+
DEBIAN_FRONTEND=noninteractive
59+
PATH=$PIPX_BIN_DIR:$PATH
60+
vagrant up --no-tty || true

.yamllint.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
yaml:
3+
rules:
4+
line-length:
5+
max: 120

README.md

Lines changed: 190 additions & 8 deletions
Large diffs are not rendered by default.

defaults/main.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,18 @@ pve_check_for_kernel_update: true
88
pve_reboot_on_kernel_update: false
99
pve_reboot_on_kernel_update_delay: 60
1010
pve_remove_old_kernels: true
11+
# pve_default_kernel_version:
1112
pve_run_system_upgrades: false
1213
pve_run_proxmox_upgrades: true
14+
pve_pcie_passthrough_enabled: false
15+
pve_iommu_passthrough_mode: false
16+
pve_iommu_unsafe_interrupts: false
17+
pve_mediated_devices_enabled: false
18+
pve_pcie_ovmf_enabled: false
19+
pve_pci_device_ids: []
20+
pve_vfio_blacklist_drivers: []
21+
pve_pcie_ignore_msrs: false
22+
pve_pcie_report_msrs: true
1323
pve_watchdog: none
1424
pve_watchdog_ipmi_action: power_cycle
1525
pve_watchdog_ipmi_timeout: 10
@@ -19,7 +29,7 @@ pve_zfs_enabled: no
1929
pve_zfs_create_volumes: []
2030
pve_ceph_enabled: false
2131
pve_ceph_repository_line: "deb http://download.proxmox.com/debian/{% if ansible_distribution_release == 'buster' %}ceph-nautilus buster{% else %}ceph-quincy bullseye{% endif %} main"
22-
pve_ceph_network: "{{ (ansible_default_ipv4.network +'/'+ ansible_default_ipv4.netmask) | ipaddr('net') }}"
32+
pve_ceph_network: "{{ (ansible_default_ipv4.network +'/'+ ansible_default_ipv4.netmask) | ansible.utils.ipaddr('net') }}"
2333
pve_ceph_nodes: "{{ pve_group }}"
2434
pve_ceph_mon_group: "{{ pve_group }}"
2535
pve_ceph_mgr_group: "{{ pve_ceph_mon_group }}"
@@ -35,7 +45,10 @@ pve_cluster_clustername: "{{ pve_group }}"
3545
pve_manage_hosts_enabled: yes
3646
pve_cluster_addr0: "{{ ansible_default_ipv4.address if ansible_default_ipv4.address is defined else ansible_default_ipv6.address if ansible_default_ipv6.address is defined }}"
3747
# pve_cluster_addr1: "{{ ansible_eth1.ipv4.address }}
48+
# pve_cluster_addr0_priority: 0
49+
# pve_cluster_addr1_priority: 1
3850
pve_datacenter_cfg: {}
51+
pve_domains_cfg: []
3952
pve_cluster_ha_groups: []
4053
# additional roles for your cluster (f.e. for monitoring)
4154
pve_pools: []
@@ -44,6 +57,8 @@ pve_groups: []
4457
pve_users: []
4558
pve_acls: []
4659
pve_storages: []
60+
pve_metric_servers: []
4761
pve_ssh_port: 22
4862
pve_manage_ssh: true
4963
pve_hooks: {}
64+
pve_no_log: false

handlers/main.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,12 @@
3232
name: ceph.service
3333
state: restarted
3434
daemon_reload: true
35+
36+
- name: update-initramfs
37+
command: update-initramfs -u -k all
38+
39+
- name: update-grub
40+
command: update-grub
41+
register: _pve_grub_update
42+
failed_when: ('error' in _pve_grub_update.stderr)
43+
tags: skiponlxc

0 commit comments

Comments
 (0)