fix(ci): share Ansible Galaxy collections
lint / yaml (pull_request) Successful in 15s
lint / terraform (pull_request) Successful in 38s
lint / terraform (push) Successful in 34s
lint / yaml (push) Successful in 14s
lint / ansible (pull_request) Successful in 5m5s
lint / ansible (push) Successful in 5m10s
lint / yaml (pull_request) Successful in 15s
lint / terraform (pull_request) Successful in 38s
lint / terraform (push) Successful in 34s
lint / yaml (push) Successful in 14s
lint / ansible (pull_request) Successful in 5m5s
lint / ansible (push) Successful in 5m10s
This commit is contained in:
@@ -56,7 +56,7 @@
|
||||
# --check-connection makes PVE actually bind before saving, so a wrong DN,
|
||||
# password, or an untrusted certificate fails HERE instead of silently
|
||||
# producing a realm nobody can log in to.
|
||||
ansible.builtin.shell:
|
||||
ansible.builtin.shell: # noqa command-instead-of-shell
|
||||
cmd: >-
|
||||
pveum realm add {{ pve_auth_realm }} --type ad {{ _realm_opts }}
|
||||
--password '{{ pve_auth_bind_password }}'
|
||||
@@ -95,7 +95,7 @@
|
||||
run_once: true
|
||||
|
||||
- name: Update the realm
|
||||
ansible.builtin.shell:
|
||||
ansible.builtin.shell: # noqa command-instead-of-shell
|
||||
cmd: >-
|
||||
pveum realm modify {{ pve_auth_realm }} {{ _realm_opts }}
|
||||
--password '{{ pve_auth_bind_password }}'
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
- name: Refuse to proceed unless that really is a whole disk
|
||||
# Last line of defence: sgdisk against a partition is destructive, so verify
|
||||
# the derived device is TYPE=disk and not a partition before touching it.
|
||||
ansible.builtin.shell:
|
||||
ansible.builtin.command:
|
||||
cmd: "lsblk -dno TYPE {{ _ssd_disk.stdout | trim }}"
|
||||
register: _ssd_type
|
||||
changed_when: false
|
||||
@@ -101,7 +101,7 @@
|
||||
# Same guard as the SSD path. wipefs/vgcreate against a partition by mistake is
|
||||
# how the pve VG on pve2/pve3 got destroyed on 2026-07-25; assert the device
|
||||
# type rather than trusting the variable.
|
||||
ansible.builtin.shell:
|
||||
ansible.builtin.command:
|
||||
cmd: "lsblk -dno TYPE {{ pve_linstor_hdd_disk }}"
|
||||
register: _hdd_type
|
||||
changed_when: false
|
||||
|
||||
Reference in New Issue
Block a user