Bug 2179455

Summary: support quadlet units
Product: Red Hat Enterprise Linux 9 Reporter: Rich Megginson <rmeggins>
Component: rhel-system-rolesAssignee: Rich Megginson <rmeggins>
Status: VERIFIED --- QA Contact: Jakub Haruda <jharuda>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.3CC: briasmit, ddarrah, djez, jharuda, santiago, spetrosi, vdanek
Target Milestone: rcKeywords: Triaged
Target Release: 9.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: role:podman
Fixed In Version: rhel-system-roles-1.22.0-0.21.el9 Doc Type: Enhancement
Doc Text:
Feature: Add support for quadlets. User can pass in quadlet units using `podman_quadlet_units`. Add support for secrets. User can pass in Ansible Vault encrypted secrets using `podman_secrets`. Reason: quadlets are the new way to implement applications in podman that use systemd services. quadlets allow you to specify everything you need to run your application - containers, services, volumes, networks, and more - using simple, systemd style unit files. Secrets such as passwords, tokens, keys, etc. are an important part of application configuration, so the role now allows those to be specified. Result: Users can deploy entire, complex applications using the podman system role using quadlet units.
Story Points: ---
Clone Of:
: 2220962 (view as bug list) Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2220962    
Deadline: 2023-08-07   

Description Rich Megginson 2023-03-17 22:02:55 UTC
quadlet is the new implementation in podman of running workloads in systemd.  The podman role should use quadlet.  See https://issues.redhat.com/browse/RHELPLAN-148396

Comment 2 Rich Megginson 2023-06-22 21:57:33 UTC
@briasmit I have a wip of the podman role with support for quadlet, including networking and healthcheck (if using podman 4.5 or later).  https://github.com/richm/linux-system-roles-podman/tree/quadlet
It also contains an implementation of the quadlet-demo https://github.com/ygalblum/quadlet-demo, except using the podman role instead.  I would appreciate it if you could take a look at it and give it a try.