Coder Social home page Coder Social logo

wilddiebe10's Introduction

Wilddiebe10 Build Status

FaPra 1599 Uni Hagen

General setup

    apt-get install ansible sshpass pandoc
    echo <vaultpw> > .vault-password

Ansible >=2.0 is required!

Generate Documentaion

To ease the generation of the documentation files inside the doc folder you could use on of the commands below:

    make

or

    make pdf

If you won't to do that all the time use conttest.

    pip install conttest
    conttest make

That will generate the pdf all the time if something is changes inside the docs folder.

Run Ansible

Run Ansible via

    ansible-playbook -i inventory site.yml --vault-password-file=.vault-password -u <user> -s -K [-k]

or do a

    ssh-copy-id root@<hostip>
    ansible-playbook -i inventory site.yml --vault-password-file=.vault-password -u <user> -s -K

alternative you could use the commands 'make [ansible_with_password]' instead of the commands above.

The length of the commands above depends to your ~/.ssh/config

    Host fileserver fapra_1599
    HostName <hostip>
    User root

and your local ~/.ansible.cfg

    [ssh_connection]
    ssh_args = -o StrictHostKeyChecking=no

Run Ansible restricted to a tag

    ansible-playbook -i inventory site.yml --vault-password-file=.vault-password -u <user> -s -K -t <tag> [-k]

A list of all available tags could be found inside the file cat ansible/file_server.yml. If you use a '-t ssh' only the related ssh configuraton set inside the role k1599_ssh will be used.

Generate a new password for the vault file

    mkpasswd --method=des

Edit vault files

    ansible-vault --vault-password-file=.vault-password edit group_vars/fileserver/vault

More

Ansible

To get more involved with Ansible take a look at:

http://docs.ansible.com/ansible/playbooks_best_practices.html

Pandoc

To get more involved with pandoc take a look at:

http://pandoc.org/README.html

Latex

https://en.wikibooks.org/wiki/LaTeX

wilddiebe10's People

Contributors

sagiru avatar sijans avatar mvw avatar phaebel avatar ehansejoerg 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.