Skip to content

Commit

Permalink
Merge pull request #234 from jt-edb/bump_edb_ansible
Browse files Browse the repository at this point in the history
Updating edb-ansible version to 3.6.0
  • Loading branch information
vibhorkumar123 authored Sep 16, 2021
2 parents 2978ed6 + a77c596 commit ed6c208
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 5 deletions.
3 changes: 2 additions & 1 deletion edbdeploy/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
__version__ = "3.6.0"

# Version number of the Ansible collection we want to use
__edb_ansible_version__ = "3.6.0"

def to_num(version):
"""
Expand Down
4 changes: 3 additions & 1 deletion edbdeploy/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
from .system import exec_shell
from .terraform import TerraformCli
from .tpaexec import TPAexecCli
from . import __edb_ansible_version__


def exec_hook(obj, name, *args, **kwargs):
# Inject specific method call.
Expand Down Expand Up @@ -66,7 +68,7 @@ class Project:
'virtualbox'
)
terraform_templates = ['variables.tf.template', 'tags.tf.template']
ansible_collection_name = 'edb_devops.edb_postgres:3.5.2'
ansible_collection_name = 'edb_devops.edb_postgres:%s' % __edb_ansible_version__ # noqa

def __init__(self, cloud, name, env, bin_path=None):
self.env = env
Expand Down
3 changes: 2 additions & 1 deletion edbdeploy/projects/aws_pot.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@
from ..cloud import CloudCli
from ..errors import ProjectError
from ..project import Project
from .. import __edb_ansible_version__


class AWSPOTProject(Project):

ansible_collection_name = 'edb_devops.edb_postgres:3.5.2'
ansible_collection_name = 'edb_devops.edb_postgres:%s' % __edb_ansible_version__ # noqa
aws_collection_name = 'community.aws:1.4.0'

def __init__(self, name, env, bin_path=None):
Expand Down
3 changes: 2 additions & 1 deletion edbdeploy/projects/azure_pot.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@
from ..action import ActionManager as AM
from ..cloud import CloudCli
from ..project import Project
from .. import __edb_ansible_version__


class AzurePOTProject(Project):

ansible_collection_name = 'edb_devops.edb_postgres:3.5.2'
ansible_collection_name = 'edb_devops.edb_postgres:%s' % __edb_ansible_version__ # noqa
aws_collection_name = 'community.aws:1.4.0'

def __init__(self, name, env, bin_path=None):
Expand Down
3 changes: 2 additions & 1 deletion edbdeploy/projects/gcloud_pot.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@
from ..action import ActionManager as AM
from ..cloud import CloudCli
from ..project import Project
from .. import __edb_ansible_version__


class GCloudPOTProject(Project):

ansible_collection_name = 'edb_devops.edb_postgres:3.5.2'
ansible_collection_name = 'edb_devops.edb_postgres:%s' % __edb_ansible_version__ # noqa
aws_collection_name = 'community.aws:1.4.0'

def __init__(self, name, env, bin_path=None):
Expand Down

0 comments on commit ed6c208

Please sign in to comment.