On branch master
Initial commit Changes to be committed: new file: .gitignore Ansible retry files, vim swap files new file: tasks/main.yml Added pam.d/sshd options to enable systemd-user sessions via ssh
This commit is contained in:
commit
12e2a4273a
2 files changed
+31
No files matched your search
@@ -0,0 +1,3 @@
|
|||||||
|
.*.sw*
|
||||||
|
*.retry
|
||||||
|
|
||||||
@@ -0,0 +1,28 @@
|
|||||||
|
- name: Install podman, podman networking plugins, and python support packages
|
||||||
|
dnf:
|
||||||
|
name: ['podman', 'containernetworking-plugins', 'podman-plugins', 'python3-pip']
|
||||||
|
state: present
|
||||||
|
- name: Install podman-compose pip Package
|
||||||
|
pip:
|
||||||
|
name: podman-compose
|
||||||
|
state: present
|
||||||
|
- name: Create Service Users
|
||||||
|
user:
|
||||||
|
name: "{{ item }}"
|
||||||
|
loop:
|
||||||
|
"{{ service_users }}"
|
||||||
|
- name: Enable systemd-user session initialization over ssh
|
||||||
|
lineinfile:
|
||||||
|
dest: /etc/pam.d/sshd
|
||||||
|
line: "session optional pam_systemd.so"
|
||||||
|
|
||||||
|
# - name: Copy cni networking driver config into place
|
||||||
|
# blockinfile:
|
||||||
|
# name: "/etc/cni/net.d/podman.conflist"
|
||||||
|
# insertafter: "*\"plugins\": [*"
|
||||||
|
# block: " {
|
||||||
|
# \"type\": \"dnsname\",
|
||||||
|
# \"domainName\": \"dns.podman\",
|
||||||
|
# \"capabilities\": {
|
||||||
|
# \"aliases\": true
|
||||||
|
# }"
|
||||||
Reference in new issue
Block a user