podman: ansible-lint fixes
This commit is contained in:
parent
f106fbe0b0
commit
3a888cd926
1 changed files with 8 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue