Git Product home page Git Product logo

ansible-role-mosh's Introduction

Installs Mosh native package on Debian (wheezy), Ubuntu (precise and newer), OpenSuSE (12.3+), and Fedora (16+).

Optional installation from backports repository on Ubuntu and Debian is also supported.

Usage

Install via Galaxy:

ansible-galaxy install jnv.mosh

In your playbook:

- hosts: all
  roles:
    # ...
    - jnv.mosh

And then connect the same way as with SSH, but replace ssh with mosh:

mosh user@host

Install Mosh 1.2 from Backports (Debian, Ubuntu)

Ubuntu Precise (12.04) provides 1.1 version of Mosh, but the newer version is available from backports repository. To install:

  1. Enable backports repository; you can use debian-backports role:
ansible-galaxy install jnv.debian-backports
  1. Enable mosh_debian_use_backports variable.

For example:

- hosts: all
  roles:
  - jnv.debian-backports
  - { role: jnv.mosh, mosh_debian_use_backports: yes}

Variables

  • mosh_pkg (default: mosh): Mosh package name, usually just on most distributions
  • mosh_debian_use_backports (default: no): Whether the backports version should be installed; see above.
  • mosh_debian_backports_target (default: {{ansible_distribution_release}}-backports): Value of the default_release to use with apt module when mosh_debian_use_backports is enabled.
    • The default resolves to, for example, precise-backports

ansible-role-mosh's People

Contributors

jnv avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

mattias mineo

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.