Coder Social home page Coder Social logo

ansible-role-authorization's Introduction

Ansible Role Authorization

[![Build Status](https://travis-ci.org/dgnest/ansible-role-authorization.svg)](https://travis-ci.org/dgnest/ansible-role-authorization) [![Stories in Ready](https://badge.waffle.io/dgnest/ansible-role-authorization.svg?label=ready&title=Ready)](http://waffle.io/dgnest/ansible-role-authorization) [![GitHub issues](https://img.shields.io/github/issues/dgnest/ansible-role-authorization.svg)](https://github.com/dgnest/ansible-role-authorization/issues) [![GitHub license](https://img.shields.io/github/license/mashape/apistatus.svg?style=flat-square)](LICENSE)

Installs and configures Authorization on a host.

Requirements

  • Linux
    • none
  • OSX

Role Variables

The default role variables in defaults/main.yml are:

---
# path keys 
authorization_key_dir: "~/.ssh/project"

Dependencies

none

Example Playbook

To run this playbook with default settings, create a basic playbook like this:

- hosts: servers
    roles:
    - dgnest.authorization

Copy files keys:

authorization_key_dir: "/Volumes/Home/private/key_file/fbp"
authorization:
sophimania:
    key_dir: "{{ authorization_key_dir }}"
    key_files:
    - key: id_rsa
        src: "{{ authorization_key_dir }}/id_rsa"
        path: "{{ app_dir_home }}/.ssh/id_rsa"
        permissions: 0600
        owner: "{{ user }}"
        state: file
    - key: id_rsa.pub
        src: "{{ authorization_key_dir }}/id_rsa.pub"
        path: "{{ app_dir_home }}/.ssh/id_rsa.pub"
        permissions: 0600
        state: file
        owner: "{{ user }}"

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Credits

Made with ❤️ ️☕️ and 🍕 by dgnest.

ansible-role-authorization's People

Contributors

luismayta avatar

Stargazers

Oscar avatar

Watchers

 avatar James Cloos avatar Oscar avatar Jorge Estrada avatar Vanessa avatar

ansible-role-authorization's Issues

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.