Code Monkey home page Code Monkey logo

linuxworkenv's Introduction

linuxworkenv


Ansible Playbook for a yum managed server or workstation to make the following updates:

  • Install latest "tree" filesystem viewer utility
  • Install latest "tmux" terminal utility
  • Install latest "Vim" editor
  • Configure Vim environment
  • Configure bash environment
  • Configure tmux environment

This playbook is intended to be used as a base for deploying a consistent work environment configuration on a RHEL system through automation so to be iterable and predictable. Some Ansible know-how can easily extend this to add more apps and update different configuration files to suit your needs.

To use, git clone the repo to your Ansible Control Server. Alternatively, you can download it directly from the repo then copy the project to your Ansible Control Server. Update the inventory file with the host(s) informaiton under the [workstations] group. Thist playbook is written to act against the [worksations] group found in the inventory file. The playbook expects the user variable to be given as a parameter in the command line or will fail. This is the user account you are using to access all the hosts under the [workstations] group. The account you use will need sudo access for yum. Please see examples at the bottom.

File Tree

.
├── ansible.cfg
├── files
│   ├── bash_profile
│   ├── tmux.conf
│   └── vimrc
├── inventory
├── linuxworkenv.yml
└── README.md

If you have exchanged keys with the remote hosts, invoke the playbook as follows: (Only prompted for sudo password)

ansible-playbook linuxworkenv.yml -e 'user=<username>'

If you have have not exchanged keys with the remote hosts, invoke the playbook as follows: (Prompted for both user and sudo password)

ansible-playbook linuxworkenv.yml -e 'user=<username>' -k

linuxworkenv's People

Contributors

gnuub 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.