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: "*"
|
ansible.posix: "*"
|
||||||
community.crypto: "*"
|
community.crypto: "*"
|
||||||
community.general: "*"
|
community.general: "*"
|
||||||
|
containers.podman: "*"
|
||||||
freeipa.ansible_freeipa: "1.15.1"
|
freeipa.ansible_freeipa: "1.15.1"
|
||||||
tags:
|
tags:
|
||||||
- linux
|
- linux
|
||||||
|
|
|
||||||
|
|
@ -16,3 +16,9 @@
|
||||||
name: firewalld
|
name: firewalld
|
||||||
state: reloaded
|
state: reloaded
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
|
- name: Reload rsyslog
|
||||||
|
ansible.builtin.systemd_service:
|
||||||
|
name: rsyslog
|
||||||
|
state: reloaded
|
||||||
|
become: true
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,15 @@
|
||||||
state: latest
|
state: latest
|
||||||
become: true
|
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
|
- name: Podman Host | AUDIT | Ensure that users exist and have subids configured
|
||||||
ansible.builtin.include_tasks:
|
ansible.builtin.include_tasks:
|
||||||
file: check_users.yml
|
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