You've already forked role_podman
feat: Add rootful capability
This commit is contained in:
17
tasks/manage_rootful.yml
Normal file
17
tasks/manage_rootful.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
# tasks file for podman
|
||||
|
||||
- name: Deploy rootful quadlets
|
||||
ansible.builtin.template:
|
||||
src: "{{ item }}.j2"
|
||||
dest: "/etc/containers/systemd/{{ item | ansible.builtin.basename }}"
|
||||
owner: root
|
||||
group: root
|
||||
mode: u=rw,g=r,o=
|
||||
become: true
|
||||
loop: "{{ podman_quadlets_rootful }}"
|
||||
register: deployed_quadlets_rootful
|
||||
notify: Start or restart rootful quadlets
|
||||
|
||||
- name: Flush handlers
|
||||
ansible.builtin.meta: flush_handlers
|
||||
Reference in New Issue
Block a user