Skip to content

Commit

Permalink
Merge pull request #15 from serverscom/bump_to_2.16
Browse files Browse the repository at this point in the history
Bump to 2.16
  • Loading branch information
amarao committed Feb 6, 2024
2 parents d3e531a + b724e5d commit 6edb7fa
Show file tree
Hide file tree
Showing 5 changed files with 450 additions and 620 deletions.
2 changes: 1 addition & 1 deletion galaxy.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
namespace: serverscom
name: mitogen
version: 1.3.4
version: 1.3.5
readme: README.md
authors:
- Sergey Putko <psvmcc+ansible-galaxy@gmail.com>
Expand Down
2 changes: 1 addition & 1 deletion molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
dependency:
name: galaxy
driver:
name: delegated
name: default
platforms:
- name: instance
provisioner:
Expand Down
6 changes: 3 additions & 3 deletions plugins/strategy/patching.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def loaders_path():

class patch_version(ContextDecorator):
ORIG_LINE = "ANSIBLE_VERSION_MAX = (2, 13)\n"
PATCH_LINE = "ANSIBLE_VERSION_MAX = (2, 15)\n"
PATCH_LINE = "ANSIBLE_VERSION_MAX = (2, 16)\n"

def __enter__(self):
self.patched = False
Expand All @@ -47,8 +47,8 @@ def __enter__(self):
with open(self.lp_orig) as source:
with open(self.lp, "w") as dest:
for line in source.readlines():
if line == "ANSIBLE_VERSION_MAX = (2, 13)\n":
line = "ANSIBLE_VERSION_MAX = (2, 15)\n"
if line == self.ORIG_LINE:
line = self.PATCH_LINE
dest.write(line)
return self

Expand Down

0 comments on commit 6edb7fa

Please sign in to comment.