Compare commits

..

No commits in common. "master" and "v0.02" have entirely different histories.

4 changed files with 6 additions and 16 deletions

View File

@ -91,9 +91,9 @@
gather_facts: false gather_facts: false
tasks: tasks:
- name: Package procps-ng - name: Packages openssh-server, python3-policycoreutils
ansible.builtin.dnf: ansible.builtin.dnf:
name: procps-ng name: ['openssh-server', 'python3-policycoreutils']
state: present state: present
- name: systemd PID - name: systemd PID

View File

@ -9,7 +9,7 @@ driver:
ansible_connection: docker ansible_connection: docker
platforms: platforms:
- name: instance - name: instance
image: geerlingguy/docker-${MOLECULE_DISTRO:-rockylinux9}-ansible:latest image: geerlingguy/docker-rockylinux9-ansible:latest
command: "/sbin/init" command: "/sbin/init"
volumes: volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro - /sys/fs/cgroup:/sys/fs/cgroup:ro

View File

@ -98,9 +98,9 @@
gather_facts: false gather_facts: false
tasks: tasks:
- name: Package procps-ng - name: Packages openssh-server, python3-policycoreutils
ansible.builtin.dnf: ansible.builtin.dnf:
name: procps-ng name: ['openssh-server', 'python3-policycoreutils']
state: present state: present
- name: systemd PID - name: systemd PID

View File

@ -1,17 +1,8 @@
- import_tasks: include-vars.yml - import_tasks: include-vars.yml
- name: Install podman, podman networking plugins, and python support packages - name: Install podman, podman networking plugins, and python support packages
vars:
dnf_packages:
- 'openssh-server'
- 'podman'
- 'podman-plugins'
- 'systemd-container'
- 'containernetworking-plugins'
- 'python3-pip'
- 'python3-policycoreutils'
dnf: dnf:
name: "{{ dnf_packages }}" name: ['podman', 'containernetworking-plugins', 'podman-plugins', 'python3-pip', 'systemd-container']
state: present state: present
- name: Install podman-compose pip Package - name: Install podman-compose pip Package
@ -30,7 +21,6 @@
- "{{ service_users }}" - "{{ service_users }}"
- name: Create service folders - name: Create service folders
become: yes
become_user: "{{ item.0.name }}" become_user: "{{ item.0.name }}"
file: file:
path: "/home/{{ item.0.name }}/{{ item.1 }}" path: "/home/{{ item.0.name }}/{{ item.1 }}"