File tree Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ APP_REPO: "https://github.com/apache/lucene-solr.git"
15
15
APP_VERSION : 8.9.0
16
16
APP_TAG : " releases/lucene-solr/{{ APP_VERSION }}"
17
17
APP_PORT : 8983
18
+ ZOOKEEPER_PORT : 2181
18
19
APP_USER : " root"
19
20
APP_CONFIG : computate
20
21
APP_MIRROR_URL : https://archive.apache.org/dist/lucene/solr
Original file line number Diff line number Diff line change 1
1
---
2
+ - name : " install podman dependency"
3
+ package :
4
+ name :
5
+ - python3
6
+ - python3-pip
7
+ - libselinux-python
8
+ - libsemanage-python
9
+ - podman
10
+ state : present
11
+ become : true
12
+ when : ansible_pkg_mgr != 'homebrew' and APP_PYTHON == '/usr/bin/python'
13
+ vars :
14
+ ansible_python_interpreter : " {{ APP_PYTHON }}"
2
15
- name : " install podman dependency"
3
16
package :
4
17
name :
9
22
- podman
10
23
state : present
11
24
become : true
12
- when : ansible_pkg_mgr != 'homebrew'
25
+ when : ansible_pkg_mgr != 'homebrew' and APP_PYTHON == '/usr/bin/python3'
26
+ vars :
27
+ ansible_python_interpreter : " {{ APP_PYTHON }}"
13
28
- name : Set container_manage_cgroup flag on to run podman containers as systemd services and keep it persistent across reboots
14
29
ansible.posix.seboolean :
15
30
name : container_manage_cgroup
16
31
state : true
17
32
persistent : true
18
33
become : true
34
+ vars :
35
+ ansible_python_interpreter : " {{ APP_PYTHON }}"
19
36
- name : Check for the {{ APP_NAME }} download
20
37
stat :
21
38
path : " {{ APP_DOWNLOAD_DEST }}"
64
81
target : " {{ APP_DATA }}"
65
82
setype : container_file_t
66
83
become : true
84
+ vars :
85
+ ansible_python_interpreter : " {{ APP_PYTHON }}"
67
86
- name : reload SELinux policy to ensure that {{ APP_NAME }} is executable
68
87
command : " restorecon -irv {{ APP_DATA }}"
69
88
become : true
You can’t perform that action at this time.
0 commit comments