@@ -24,15 +24,6 @@ platforms:
24
24
privileged : yes
25
25
volumes :
26
26
- /sys/fs/cgroup:/sys/fs/cgroup:rw
27
- - cgroupns_mode : host
28
- command : /lib/systemd/systemd
29
- image : geerlingguy/docker-debian9-ansible:latest
30
- name : debian9-systemd
31
- platform : amd64
32
- pre_build_image : yes
33
- privileged : yes
34
- volumes :
35
- - /sys/fs/cgroup:/sys/fs/cgroup:rw
36
27
- cgroupns_mode : host
37
28
command : /lib/systemd/systemd
38
29
image : geerlingguy/docker-debian10-ansible:latest
@@ -114,37 +105,6 @@ platforms:
114
105
privileged : yes
115
106
volumes :
116
107
- /sys/fs/cgroup:/sys/fs/cgroup:rw
117
- provisioner :
118
- name : ansible
119
- inventory :
120
- host_vars :
121
- debian9-systemd :
122
- # auto_legacy is still the default behavior until Ansible 2.12
123
- # is released, but Molecule overrides this and forces the use
124
- # of auto.
125
- #
126
- # In auto_legacy mode Ansible will prefer the /usr/bin/python
127
- # interpreter if it exists, while in auto mode it will prefer
128
- # the Python interpreter specified in an internal map. In
129
- # most cases we only have Python3 installed, and the internal
130
- # map specifies /usr/bin/python3, so it is immaterial whether
131
- # we use auto_legacy or auto.
132
- #
133
- # The one place where it _does_ matter is our Debian9 AKA CyHy
134
- # instances. Here the /usr/bin/python _and_ /usr/bin/python3
135
- # interpreters are both installed. In Ansible 2.10 a Debian
136
- # entry was added to the internal map, so now auto_legacy
137
- # selects the /usr/bin/python interpreter while auto selects
138
- # the /usr/bin/python3 interpreter. We want to maintain the
139
- # auto_legacy behavior in this case since CyHy is still
140
- # Python2.
141
- #
142
- # See:
143
- # * https://github.com/ansible-community/molecule/blob/3.0.8/molecule/provisioner/ansible.py#L389
144
- # * https://docs.ansible.com/ansible/latest/reference_appendices/interpreter_discovery.html#interpreter-discovery
145
- # * https://github.com/ansible/ansible/blob/v2.10.1/lib/ansible/config/base.yml#L1492-L1542
146
- # * https://github.com/ansible/ansible/blob/v2.10.1/lib/ansible/executor/interpreter_discovery.py
147
- ansible_python_interpreter : auto_legacy
148
108
scenario :
149
109
name : default
150
110
verifier :
0 commit comments