Compare commits
4 commits
91390d7359
...
1c7d942848
| Author | SHA1 | Date | |
|---|---|---|---|
| 1c7d942848 | |||
| caf00ce4e1 | |||
| 2b7226addf | |||
| 0d70928df3 |
5 changed files with 18 additions and 4 deletions
|
|
@ -15,6 +15,7 @@ dependencies:
|
|||
ansible.posix: "*"
|
||||
community.crypto: "*"
|
||||
community.general: "*"
|
||||
containers.podman: "*"
|
||||
freeipa.ansible_freeipa: "1.15.1"
|
||||
tags:
|
||||
- linux
|
||||
|
|
|
|||
|
|
@ -16,3 +16,9 @@
|
|||
name: firewalld
|
||||
state: reloaded
|
||||
become: true
|
||||
|
||||
- name: Reload rsyslog
|
||||
ansible.builtin.systemd_service:
|
||||
name: rsyslog
|
||||
state: reloaded
|
||||
become: true
|
||||
|
|
|
|||
|
|
@ -14,6 +14,15 @@
|
|||
state: latest
|
||||
become: true
|
||||
|
||||
- name: Podman Host | PATCH | Install containers.conf
|
||||
ansible.builtin.template:
|
||||
src: etc/containers.conf
|
||||
dest: /etc/containers.conf
|
||||
owner: root
|
||||
group: root
|
||||
mode: "0644"
|
||||
become: true
|
||||
|
||||
- name: Podman Host | AUDIT | Ensure that users exist and have subids configured
|
||||
ansible.builtin.include_tasks:
|
||||
file: check_users.yml
|
||||
|
|
|
|||
2
roles/podman_host/templates/etc/containters.conf
Normal file
2
roles/podman_host/templates/etc/containters.conf
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
[engine]
|
||||
env = ["TMPDIR=/tmp"]
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
# {{ ansible_managed }}
|
||||
{% for username in podman_host_rootless_users %}
|
||||
{{ username }}:{{ 100000 + ((loop.index - 1) * 65536) }}:65536
|
||||
{% endfor %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue