cisagov / skeleton-ansible-role

A skeleton project for quickly getting a new cisagov Ansible role started.
Creative Commons Zero v1.0 Universal
7 stars 6 forks source link

Always use systemd-enabled Docker images #175

Closed jsf9k closed 8 months ago

jsf9k commented 9 months ago

๐Ÿ—ฃ Description

This pull request modifies the Molecule configuration of the default scenario to always use systemd-enabled Docker images.

๐Ÿ’ญ Motivation and context

@mcdonnnj pointed out that is it silly to support both systemd-enabled and systemd-disabled Docker images. This is because, even if an Ansible role does not make use of systemd it can still be tested under systemd; in fact, doing so is a more realistic test of an actual running system.

๐Ÿงช Testing

All automated tests pass.

โœ… Pre-approval checklist

jsf9k commented 9 months ago

I marked this pull request as blocked because I want to merge it separately from the main Kraken. This is a big change, and handling it individually will help to ensure mistakes are not made.

jsf9k commented 8 months ago

@jsf9k Should the following lines be changed since we are removing molecule-no-systemd.yml?

https://github.com/cisagov/skeleton-ansible-role/blob/292b0c340cb1cdcc703cf1632161cde9aa206749/molecule/default/molecule.yml#L3-L4

Great catch! Please see commit 02e1530.

jsf9k commented 8 months ago

I guess this PR wasn't blocked after all! :sweat_smile: