mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-16 09:40:21 +00:00
refactor(kitchen): use YAML node anchors to minimise duplication
This commit is contained in:
parent
7c56c504bf
commit
3690eeec50
1 changed files with 5 additions and 12 deletions
17
kitchen.yml
17
kitchen.yml
|
@ -56,19 +56,15 @@ platforms:
|
||||||
run_command: /lib/systemd/systemd
|
run_command: /lib/systemd/systemd
|
||||||
- name: fedora-33
|
- name: fedora-33
|
||||||
driver:
|
driver:
|
||||||
provision_command:
|
provision_command: &fedora_provision_command
|
||||||
- dnf -y install procps-ng
|
- dnf -y install procps-ng
|
||||||
- sed -i 's/^PubkeyAcceptedKeyTypes.*$/&,ssh-rsa/' /etc/crypto-policies/back-ends/opensshserver.config
|
- sed -i 's/^PubkeyAcceptedKeyTypes.*$/&,ssh-rsa/' /etc/crypto-policies/back-ends/opensshserver.config
|
||||||
- name: fedora-34
|
- name: fedora-34
|
||||||
driver:
|
driver:
|
||||||
provision_command:
|
provision_command: *fedora_provision_command
|
||||||
- dnf -y install procps-ng
|
|
||||||
- sed -i 's/^PubkeyAcceptedKeyTypes.*$/&,ssh-rsa/' /etc/crypto-policies/back-ends/opensshserver.config
|
|
||||||
- name: fedora-35
|
- name: fedora-35
|
||||||
driver:
|
driver:
|
||||||
provision_command:
|
provision_command: *fedora_provision_command
|
||||||
- dnf -y install procps-ng
|
|
||||||
- sed -i 's/^PubkeyAcceptedKeyTypes.*$/&,ssh-rsa/' /etc/crypto-policies/back-ends/opensshserver.config
|
|
||||||
- name: gentoo
|
- name: gentoo
|
||||||
driver:
|
driver:
|
||||||
image: gentoo/stage3:latest
|
image: gentoo/stage3:latest
|
||||||
|
@ -84,17 +80,14 @@ platforms:
|
||||||
- name: opensuse-15
|
- name: opensuse-15
|
||||||
driver:
|
driver:
|
||||||
image: opensuse/leap:15.3
|
image: opensuse/leap:15.3
|
||||||
provision_command:
|
provision_command: &opensuse_provision_command
|
||||||
- zypper --non-interactive install --auto-agree-with-licenses dbus-1
|
- zypper --non-interactive install --auto-agree-with-licenses dbus-1
|
||||||
- zypper --non-interactive install --auto-agree-with-licenses sudo openssh which curl systemd
|
- zypper --non-interactive install --auto-agree-with-licenses sudo openssh which curl systemd
|
||||||
- systemctl enable sshd.service
|
- systemctl enable sshd.service
|
||||||
- name: opensuse-tumbleweed
|
- name: opensuse-tumbleweed
|
||||||
driver:
|
driver:
|
||||||
image: opensuse/tumbleweed:latest
|
image: opensuse/tumbleweed:latest
|
||||||
provision_command:
|
provision_command: *opensuse_provision_command
|
||||||
- zypper --non-interactive install --auto-agree-with-licenses dbus-1
|
|
||||||
- zypper --non-interactive install --auto-agree-with-licenses sudo openssh which curl systemd
|
|
||||||
- systemctl enable sshd.service
|
|
||||||
- name: oraclelinux-8
|
- name: oraclelinux-8
|
||||||
- name: oraclelinux-7
|
- name: oraclelinux-7
|
||||||
- name: rockylinux-8
|
- name: rockylinux-8
|
||||||
|
|
Loading…
Add table
Reference in a new issue