Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ddec4cedb5 | ||
|
|
b16224334f | ||
|
|
0fcfdd4bbc | ||
|
|
d7a553f1dd | ||
|
|
0b1a8fef37 | ||
|
|
08d64e1cb1 | ||
|
|
3094dea795 | ||
|
|
2ef9c930cb |
@ -91,9 +91,9 @@
|
|||||||
gather_facts: false
|
gather_facts: false
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: Packages openssh-server, python3-policycoreutils
|
- name: Package procps-ng
|
||||||
ansible.builtin.dnf:
|
ansible.builtin.dnf:
|
||||||
name: ['openssh-server', 'python3-policycoreutils']
|
name: procps-ng
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: systemd PID
|
- name: systemd PID
|
||||||
|
|||||||
@ -9,7 +9,7 @@ driver:
|
|||||||
ansible_connection: docker
|
ansible_connection: docker
|
||||||
platforms:
|
platforms:
|
||||||
- name: instance
|
- name: instance
|
||||||
image: geerlingguy/docker-rockylinux9-ansible:latest
|
image: geerlingguy/docker-${MOLECULE_DISTRO:-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
|
||||||
|
|||||||
@ -98,9 +98,9 @@
|
|||||||
gather_facts: false
|
gather_facts: false
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: Packages openssh-server, python3-policycoreutils
|
- name: Package procps-ng
|
||||||
ansible.builtin.dnf:
|
ansible.builtin.dnf:
|
||||||
name: ['openssh-server', 'python3-policycoreutils']
|
name: procps-ng
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: systemd PID
|
- name: systemd PID
|
||||||
|
|||||||
@ -1,8 +1,17 @@
|
|||||||
- 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: ['podman', 'containernetworking-plugins', 'podman-plugins', 'python3-pip', 'systemd-container']
|
name: "{{ dnf_packages }}"
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: Install podman-compose pip Package
|
- name: Install podman-compose pip Package
|
||||||
@ -21,6 +30,7 @@
|
|||||||
- "{{ 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 }}"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user