Git Product home page Git Product logo

ansible-role-ssh-reconnect's Introduction

Hi there ๐Ÿ‘‹

I'm Daniel. I do stuff with computers. If I had to give myself a title for my current type of work, it would be automation engineer. My day-to-day work currently involves working with AWS CDK and Ansible.

I'm born and living in Frankfurt ๐Ÿ‡ฉ๐Ÿ‡ช. In between though I've been living for 16 years in Berlin ๐Ÿ‡ฉ๐Ÿ‡ช and 3 years in Udon Thani ๐Ÿ‡น๐Ÿ‡ญ. I'm married and I have 3 children.

I've been working for almost 9 years at Groupon. It was a great experience with awesome people, but I ultimately decided I did no longer want to waste my life maxing out profits and sell electronic and plastic crap nobody needs, just so more of it can be produced.

I'm currently working for DB Systel, the IT branch of the Deutsche Bahn, trying to improve and reduce cost for public transportation. Chuu chuu! ๐Ÿš† ๐ŸŒณ ๐ŸŒž

My favorite programming language is Go, though I have learned to love TypeScript. I'm sure this list won't be complete but I have also worked with: Rust, Python, Ruby, C++, C#, Swift, PHP, JavaScript, ActionScript, HTML, CSS, ...

My current pet projects are:

  • IAM Floyd: An AWS IAM statement generator with a fluent interface.
  • cfn-teleport: A command-line tool which can move CloudFormation resources between stacks

You can learn more about my career on my landingpage. If you want to ๐Ÿ“ซ contact me, please reach out on Keybase.

ansible-role-ssh-reconnect's People

Contributors

udondan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

ansible-role-ssh-reconnect's Issues

Does not honour ansible_ssh_private_key_file

Running ssh-reconnect against EC2 provisions which typically use a non-local-default private key file I get the following errors:

fatal: [flap-load-test-master]: FAILED! => {
    "changed": false,
    "failed": true,
    "invocation": {
        "module_args": {
            "user": "ubuntu"
        },
        "module_name": "ssh-reconnect"
    },
    "msg": "Permission denied (publickey).\r\n"
}

Error when using

if "Write failed: Broken pipe" in err or "Shared connection to" in err or "Connection to %s closed by remote host" % self._connection.host in err or "OTHERUSER" in out:
TypeError: a bytes-like object is required, not 'str'

Can't figure out how to use the module from ansible-galaxy

I'm fairly new to ansible, so maybe I'm missing something really obvious, but when I put the example code from the readme in my playbook like this:

- name: Kill own ssh connections
  ssh-reconnect:

I get this:
ERROR! 'ssh-reconnect' is not a valid attribute for a Play

I've installed from ansible galaxy like ansible-galaxy install udondan.ssh-reconnect and my .ansible.cfg has roles_path=~/ansible-roles so after installing I have a ~/ansible-roles/udondan.ssh-reconnect/ folder with stuff in it, but I'm not sure how to get ansible to look there for the ssh-reconnect module.

I've tried various settings for library= in the .cfg, or setting ANSIBLE_LIBRARY= when running my playbook, but can't seem to get it right. Am I going about it wrong? A hint in the readme about how to consume this would be useful. I've used roles from ansible-galaxy successfully, but can't find much on consuming modules from there.

doesn't follow ansible.cfg host_key_checking

when restarting an image many times over this config option to disable ssh host key checking is necessary. This action_plugin reports failure that the host_key doesn't match known_hosts

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.