Coder Social home page Coder Social logo

linux_workstation_configs's Introduction

linux_workstation_configs

Ansible role to configure a linux workstation for cloud- and infrastructure-automation development. Currently only supporting (x)ubuntu

Requirements

You need ansible to be installed on your machine:

# sudo apt-get install -y ansible

Role Variables

set in defaults/main.yml:

install_atom_packages: false

if you want atom-packages to be installed, you have to overwrite this variable to be "true"

You also have to set variables for:

git_username:
git_mailaddress:

to be set in .gitconfig-file

Dependencies

You have to ensure that you execute ansible with the user you want to work later on as it will place config-files in the users home directory.

Be sure that the user is in sudoers group to be able to install packages.

Example Playbook

call this role with a site.yml looking like:

- import_playbook: linux_workstation_configs.yml

and linux_workstation_configs.yml with content (in this case we connect with a user and then use sudo):

- hosts: foo
  vars:
    git_mailaddress: <MAILADDRESS>
    git_username: <GIT_USERNAME>
  remote_user: <USER>
  roles:
    - linux_workstation_configs

using inventory file hosts.yml like:

foo:
  hosts:
    <IP>:

and this role in roles-directory, just by typing:

# ansible-playbook -i hosts linux_workstation_configs.yml --key-file "<private-ssh-key>"

other possibility is to just execute the playbook localy:

# ansible-playbook --connection=local --inventory 127.0.0.1, <PLAYBOOK>

Do not use remote_user variable in playbook in this case.

License

BSD

Author Information

Philipp Felwor

linux_workstation_configs's People

Contributors

philippfe avatar

Watchers

James Cloos avatar

linux_workstation_configs'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.