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:
|
ansible.builtin.package:
|
||||||
name: podman
|
name: podman
|
||||||
state: installed
|
state: installed
|
||||||
|
|
||||||
- name: allow nginx to connect containers
|
- name: Allow nginx to connect containers
|
||||||
ansible.posix.seboolean:
|
ansible.posix.seboolean:
|
||||||
name: httpd_can_network_connect
|
name: httpd_can_network_connect
|
||||||
state: true
|
state: true
|
||||||
persistent: true
|
persistent: true
|
||||||
|
|
||||||
- name: copy selinux module
|
- name: Copy SELinux module
|
||||||
copy:
|
ansible.builtin.copy:
|
||||||
dest: /usr/local/share/selinux/podman-certs.pp
|
dest: /usr/local/share/selinux/podman-certs.pp
|
||||||
src: podman-certs.pp
|
src: podman-certs.pp
|
||||||
mode: 0644
|
mode: 0644
|
||||||
owner: root
|
owner: root
|
||||||
group: "{{ ansible_wheel }}"
|
group: "{{ ansible_wheel }}"
|
||||||
|
|
||||||
- name: check if selinux module is loaded
|
- name: Check if SELinux module is loaded
|
||||||
command:
|
ansible.builtin.command:
|
||||||
argv:
|
argv:
|
||||||
- semodule
|
- semodule
|
||||||
- -l
|
- -l
|
||||||
|
@ -27,8 +27,8 @@
|
||||||
check_mode: false
|
check_mode: false
|
||||||
changed_when: false
|
changed_when: false
|
||||||
|
|
||||||
- name: insall selinux module
|
- name: Install SELinux module
|
||||||
command:
|
ansible.builtin.command:
|
||||||
argv:
|
argv:
|
||||||
- semodule
|
- semodule
|
||||||
- -i
|
- -i
|
||||||
|
|
Loading…
Add table
Reference in a new issue