Skip to content

Commit

Permalink
Merge pull request #102 from berttejeda/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
berttejeda committed Nov 4, 2019
2 parents f4c8ff0 + 685e298 commit f5bb91c
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 2 deletions.
5 changes: 5 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
History
=======

## Release 2019-11-04 v1.3.4

* Import missing logging module [56b3ca4](https://github.com/berttejeda/ansible-taskrunner/commit/56b3ca4292a189d169937efc5d8c3a7dbcfb0563)
* Add missing logger instantiation [02a6656](https://github.com/berttejeda/ansible-taskrunner/commit/02a6656345999c9d8568f499196856aba0f5b566)

## Release 2019-11-04 v1.3.3

* Fixed bug in cli invocation when specifying taskfile override [7a07d1a](https://github.com/berttejeda/ansible-taskrunner/commit/7a07d1af4060d96a487df4a8a69e347a94deb56e)
Expand Down
2 changes: 1 addition & 1 deletion ansible_taskrunner/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@

# Private variables
__author__ = 'etejeda'
__version__ = '1.3.3'
__version__ = '1.3.4'
__program_name__ = 'tasks'

# Logging
Expand Down
8 changes: 8 additions & 0 deletions ansible_taskrunner/libs/bastion_mode/__init__.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
import getpass
import logging
import os
import sys

local_username = getpass.getuser()

# Setup Logging
logger = logging.getLogger(__name__)
if '--debug run' in ' '.join(sys.argv):
logger.setLevel(logging.DEBUG)
else:
logger.setLevel(logging.INFO)

def init_bastion_settings(kwargs):
bastion_remote_path = kwargs.get('_bastion_remote_path')
bastion_host = kwargs.get('_bastion_host')
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = ansible_taskrunner
author = Engelbert Tejeda
author_email = berttejeda@gmail.com
description = ansible-playbook wrapper with YAML-abstracted python click cli options
version: 1.3.3
version: 1.3.4
url = https://github.com/berttejeda/ansible_taskrunner
keywords =
ansible
Expand Down

0 comments on commit f5bb91c

Please sign in to comment.