Skip to content

Commit eee3396

Browse files
committed
Revert "Pin ansible-core to < 2.19.0"
This reverts commit 4d7155e. Signed-off-by: rabi <ramishra@redhat.com>
1 parent 0c174cd commit eee3396

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

docs/docs-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# this is required for the docs build jobs
2-
ansible-core>=2.15.0,<2.19.0
2+
ansible-core>=2.15.0
33
sphinx>=2.0.0,!=2.1.0 # BSD
44
reno>=3.1.0 # Apache-2.0
55
doc8>=0.8.1 # Apache-2.0

molecule-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ansible-core>=2.15.0,<2.19.0
1+
ansible-core>=2.15.0
22
molecule>=5.1.0,<6.0.0
33
molecule-plugins[podman,vagrant]>=23.5.0
44
pytest-testinfra
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ansible-core>=2.16.1,<2.19.0
1+
ansible-core>=2.16.1
22
ansible-runner>=2.4.0
33
ansible-builder>=3.1.0
44
dumb-init>=1.2.2

plugins/action/container_systemd.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
from ansible.errors import AnsibleActionFail
2727
from ansible.plugins.action import ActionBase
2828
from ansible.utils.display import Display
29-
29+
from ansible.template import trust_as_template
3030

3131
DISPLAY = Display()
3232

@@ -203,7 +203,7 @@ def _get_unit_template(self):
203203
raise AnsibleActionFail('Template {} was '
204204
'not found'.format(source))
205205
with open(source) as template_file:
206-
data = template_file.read()
206+
data = trust_as_template(template_file.read())
207207
return data
208208

209209
def _create_units(self, container_config, task_vars):

0 commit comments

Comments
 (0)