Code Monkey home page Code Monkey logo

ansible-role-fish's Introduction

ansible-role-fish

This role sets install the fish shell and can configure aliases (functions).

Example

Basic Usage

- name: play with fish
  vars:
    fish_variables:
      - name: SSH_AUTH_SOCK
        value: ~/.cache/ssh-agent.socket
    fish_functions:
      - name: httpath
        description: "Show HTTP(s) Headers with curl and a nice output"
        command: "curl -L -s -v -o /dev/null $argv"
  roles:
    - benibr.fish

Usage for macOS with homebrew

- name: play with fish
  vars:
    fish_exe_path: "/opt/homebrew/Cellar/fish/3.6.1/bin/fish"
    fish_tmux_path: "/opt/homebrew/bin/tmux"
    fish_local_tmux: yes 
    fish_variables:
      - name: PATH
        value: /opt/homebrew/opt/gnu-sed/libexec/gnubin:/opt/homebrew/bin/:$PATH
      - name: VAULT_ADDR
        value: https://vaultp.it.ku.dk
      - name: NETBOX_API
        value: https://ipam.it.ku.dk
      - name: NETBOX_TOKEN
        value: (cat ~/.config/netbox_token)
      - name: OBJC_DISABLE_INITIALIZE_FORK_SAFETY
        value: YES 
  roles:
    - benibr.fish

ansible-role-fish's People

Contributors

benibr avatar

Watchers

 avatar

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.