you know, you're making it really easy to hate python 3
Signed-off-by: Rick Elrod <relrod@redhat.com>
This commit is contained in:
parent
5e7ba6ff52
commit
3c7bf0ad36
1 changed files with 22 additions and 5 deletions
|
@ -13,11 +13,28 @@
|
||||||
|
|
||||||
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- name: Install policycoreutils-python
|
- name: install libsemanage
|
||||||
package: name={{item}} state=present
|
package:
|
||||||
with_items:
|
state: present
|
||||||
- policycoreutils-python-utils
|
name:
|
||||||
- policycoreutils-python
|
- policycoreutils-python-utils
|
||||||
|
- policycoreutils-python
|
||||||
|
tags:
|
||||||
|
- httpd
|
||||||
|
- httpd/website
|
||||||
|
when: (ansible_distribution == 'RedHat' and ansible_distribution_major_version|int < 8) or (ansible_distribution_major_version|int < 30 and ansible_distribution == 'Fedora')
|
||||||
|
|
||||||
|
- name: install libsemanage in a python3 manner
|
||||||
|
package:
|
||||||
|
state: present
|
||||||
|
name:
|
||||||
|
- python3-policycoreutils
|
||||||
|
- policycoreutils-python-utils
|
||||||
|
tags:
|
||||||
|
- httpd
|
||||||
|
- httpd/website
|
||||||
|
when: (ansible_distribution_major_version|int >= 30 and ansible_distribution == 'Fedora') or (ansible_distribution == 'RedHat' and ansible_distribution_major_version|int >= 8)
|
||||||
|
|
||||||
|
|
||||||
- name: Create /srv/web/ for all the goodies.
|
- name: Create /srv/web/ for all the goodies.
|
||||||
file: >
|
file: >
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue