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
master
Mike Holloway 1 year ago
commit 12e2a4273a
  1. 3
      .gitignore
  2. 28
      tasks/main.yml

3
.gitignore vendored

@ -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
# }"
Loading…
Cancel
Save