Skip to content

Commit baf937a

Browse files
jsf9kmcdonnnj
authored andcommitted
Alphabetize platform attributes in Molecule config files
1 parent 40d2169 commit baf937a

File tree

2 files changed

+72
-72
lines changed

2 files changed

+72
-72
lines changed

molecule/default/molecule-no-systemd.yml

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -16,42 +16,42 @@ lint: |
1616
ansible-lint
1717
flake8
1818
platforms:
19-
- name: amazonlinux2-amd64
20-
image: amazonlinux:2
19+
- image: amazonlinux:2
20+
name: amazonlinux2-amd64
2121
platform: amd64
22-
- name: debian9-amd64
22+
- dockerfile: Dockerfile_debian_9.j2
2323
image: debian:stretch-slim
24-
dockerfile: Dockerfile_debian_9.j2
24+
name: debian9-amd64
2525
platform: amd64
26-
- name: debian10-amd64
27-
image: debian:buster-slim
26+
- image: debian:buster-slim
27+
name: debian10-amd64
2828
platform: amd64
29-
- name: debian11-amd64
30-
image: debian:bullseye-slim
29+
- image: debian:bullseye-slim
30+
name: debian11-amd64
3131
platform: amd64
32-
- name: debian12-amd64
33-
image: debian:bookworm-slim
32+
- image: debian:bookworm-slim
33+
name: debian12-amd64
3434
platform: amd64
35-
- name: kali-amd64
36-
image: kalilinux/kali-rolling
35+
- image: kalilinux/kali-rolling
36+
name: kali-amd64
3737
platform: amd64
38-
- name: fedora35-amd64
39-
image: fedora:35
38+
- image: fedora:35
39+
name: fedora35-amd64
4040
platform: amd64
41-
- name: fedora36-amd64
42-
image: fedora:36
41+
- image: fedora:36
42+
name: fedora36-amd64
4343
platform: amd64
44-
- name: fedora37-amd64
45-
image: fedora:37
44+
- image: fedora:37
45+
name: fedora37-amd64
4646
platform: amd64
47-
- name: ubuntu18-amd64
48-
image: ubuntu:bionic
47+
- image: ubuntu:bionic
48+
name: ubuntu18-amd64
4949
platform: amd64
50-
- name: ubuntu20-amd64
51-
image: ubuntu:focal
50+
- image: ubuntu:focal
51+
name: ubuntu20-amd64
5252
platform: amd64
53-
- name: ubuntu22-amd64
54-
image: ubuntu:jammy
53+
- image: ubuntu:jammy
54+
name: ubuntu22-amd64
5555
platform: amd64
5656
provisioner:
5757
name: ansible

molecule/default/molecule-with-systemd.yml

Lines changed: 48 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -15,102 +15,102 @@ lint: |
1515
ansible-lint
1616
flake8
1717
platforms:
18-
- name: amazonlinux2-systemd-amd64
18+
- command: /lib/systemd/systemd
1919
image: geerlingguy/docker-amazonlinux2-ansible:latest
20+
name: amazonlinux2-systemd-amd64
21+
platform: amd64
22+
pre_build_image: yes
2023
privileged: yes
2124
volumes:
2225
- /sys/fs/cgroup:/sys/fs/cgroup:ro
23-
command: /lib/systemd/systemd
24-
pre_build_image: yes
25-
platform: amd64
26-
- name: debian9-systemd-amd64
26+
- command: /lib/systemd/systemd
2727
image: geerlingguy/docker-debian9-ansible:latest
28+
name: debian9-systemd-amd64
29+
platform: amd64
30+
pre_build_image: yes
2831
privileged: yes
2932
volumes:
3033
- /sys/fs/cgroup:/sys/fs/cgroup:ro
31-
command: /lib/systemd/systemd
32-
pre_build_image: yes
33-
platform: amd64
34-
- name: debian10-systemd-amd64
34+
- command: /lib/systemd/systemd
3535
image: geerlingguy/docker-debian10-ansible:latest
36+
name: debian10-systemd-amd64
37+
platform: amd64
38+
pre_build_image: yes
3639
privileged: yes
3740
volumes:
3841
- /sys/fs/cgroup:/sys/fs/cgroup:ro
39-
command: /lib/systemd/systemd
40-
pre_build_image: yes
41-
platform: amd64
42-
- name: debian11-systemd-amd64
42+
- command: /lib/systemd/systemd
4343
image: geerlingguy/docker-debian11-ansible:latest
44+
name: debian11-systemd-amd64
45+
platform: amd64
46+
pre_build_image: yes
4447
privileged: yes
4548
volumes:
4649
- /sys/fs/cgroup:/sys/fs/cgroup:ro
47-
command: /lib/systemd/systemd
48-
pre_build_image: yes
49-
platform: amd64
50-
- name: debian12-systemd-amd64
50+
- command: /lib/systemd/systemd
5151
image: cisagov/docker-debian12-ansible:latest
52+
name: debian12-systemd-amd64
53+
platform: amd64
54+
pre_build_image: yes
5255
privileged: yes
5356
volumes:
5457
- /sys/fs/cgroup:/sys/fs/cgroup:ro
55-
command: /lib/systemd/systemd
56-
pre_build_image: yes
57-
platform: amd64
58-
- name: kali-systemd-amd64
58+
- command: /lib/systemd/systemd
5959
image: cisagov/docker-kali-ansible:latest
60+
name: kali-systemd-amd64
61+
platform: amd64
62+
pre_build_image: yes
6063
privileged: yes
6164
volumes:
6265
- /sys/fs/cgroup:/sys/fs/cgroup:ro
63-
command: /lib/systemd/systemd
64-
pre_build_image: yes
65-
platform: amd64
66-
- name: fedora35-systemd-amd64
66+
- command: /lib/systemd/systemd
6767
image: geerlingguy/docker-fedora35-ansible:latest
68+
name: fedora35-systemd-amd64
69+
platform: amd64
70+
pre_build_image: yes
6871
privileged: yes
6972
volumes:
7073
- /sys/fs/cgroup:/sys/fs/cgroup:ro
71-
command: /lib/systemd/systemd
72-
pre_build_image: yes
73-
platform: amd64
74-
- name: fedora36-systemd-amd64
74+
- command: /lib/systemd/systemd
7575
image: geerlingguy/docker-fedora36-ansible:latest
76+
name: fedora36-systemd-amd64
77+
platform: amd64
78+
pre_build_image: yes
7679
privileged: yes
7780
volumes:
7881
- /sys/fs/cgroup:/sys/fs/cgroup:ro
79-
command: /lib/systemd/systemd
80-
pre_build_image: yes
81-
platform: amd64
82-
- name: fedora37-systemd-amd64
82+
- command: /lib/systemd/systemd
8383
image: geerlingguy/docker-fedora37-ansible:latest
84+
name: fedora37-systemd-amd64
85+
platform: amd64
86+
pre_build_image: yes
8487
privileged: yes
8588
volumes:
8689
- /sys/fs/cgroup:/sys/fs/cgroup:ro
87-
command: /lib/systemd/systemd
88-
pre_build_image: yes
89-
platform: amd64
90-
- name: ubuntu-18-systemd-amd64
90+
- command: /lib/systemd/systemd
9191
image: geerlingguy/docker-ubuntu1804-ansible:latest
92+
name: ubuntu-18-systemd-amd64
93+
platform: amd64
94+
pre_build_image: yes
9295
privileged: yes
9396
volumes:
9497
- /sys/fs/cgroup:/sys/fs/cgroup:ro
95-
command: /lib/systemd/systemd
96-
pre_build_image: yes
97-
platform: amd64
98-
- name: ubuntu-20-systemd-amd64
98+
- command: /lib/systemd/systemd
9999
image: geerlingguy/docker-ubuntu2004-ansible:latest
100+
name: ubuntu-20-systemd-amd64
101+
platform: amd64
102+
pre_build_image: yes
100103
privileged: yes
101104
volumes:
102105
- /sys/fs/cgroup:/sys/fs/cgroup:ro
103-
command: /lib/systemd/systemd
104-
pre_build_image: yes
105-
platform: amd64
106-
- name: ubuntu-22-systemd-amd64
106+
- command: /lib/systemd/systemd
107107
image: geerlingguy/docker-ubuntu2204-ansible:latest
108+
name: ubuntu-22-systemd-amd64
109+
platform: amd64
110+
pre_build_image: yes
108111
privileged: yes
109112
volumes:
110113
- /sys/fs/cgroup:/sys/fs/cgroup:ro
111-
command: /lib/systemd/systemd
112-
pre_build_image: yes
113-
platform: amd64
114114
provisioner:
115115
name: ansible
116116
inventory:

0 commit comments

Comments
 (0)