podman: ansible-lint fixes

This commit is contained in:
Timo Makinen 2022-10-29 17:27:00 +00:00
parent f106fbe0b0
commit 3a888cd926

View file

@ -1,25 +1,25 @@
---
- name: install packages
- name: Install packages
ansible.builtin.package:
name: podman
state: installed
- name: allow nginx to connect containers
- name: Allow nginx to connect containers
ansible.posix.seboolean:
name: httpd_can_network_connect
state: true
persistent: true
- name: copy selinux module
copy:
- name: Copy SELinux module
ansible.builtin.copy:
dest: /usr/local/share/selinux/podman-certs.pp
src: podman-certs.pp
mode: 0644
owner: root
group: "{{ ansible_wheel }}"
- name: check if selinux module is loaded
command:
- name: Check if SELinux module is loaded
ansible.builtin.command:
argv:
- semodule
- -l
@ -27,8 +27,8 @@
check_mode: false
changed_when: false
- name: insall selinux module
command:
- name: Install SELinux module
ansible.builtin.command:
argv:
- semodule
- -i