Coder Social home page Coder Social logo

infra-setup's Introduction

Ansible System Setup

pipeline status

Prerequesties

python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt

# Target
sudo apt-get install -y openssh-server

# Host
scp ./bin/prepare-ansible.sh [email protected]:~/prepare-ansible.sh

# Target
./prepare-ansible.sh

Running

# desktop
ansible-playbook -i machines systems.yaml -k --limit desktop
# localhost
ansible-playbook -i machines -c local  systems.yaml --limit localhost
# server
ansible-playbook -i machines systems.yaml -k --limit server

Dev

Docker

# Runs setup, test, clean
make docker type=server
# Setup docker container
make docker-setup
# Runs Ansible against Docker container
make docker-test type=server
# Clean
make docker-clean

ansible-playbook -i machines systems.yaml --limit docker --extra-vars "type=server laptop=true"

Vagrant

# Create VM and run Ansible
make vagrant-up type=server
# Just run Ansible on previously built VM
make vagrant-provision type=server
# Clean
vagrant-clean

ansible-playbook -i machines systems.yaml --limit virtualbox --extra-vars "type=pc"

infra-setup's People

Contributors

gregops312 avatar

Watchers

 avatar  avatar

infra-setup's Issues

Add windows things

https://chocolatey.org

  • choco install authy-desktop
  • choco install GoogleChrome
  • choco install leagueoflegends
  • choco install libreoffice-fresh
  • choco install steam
  • choco install virtualbox
  • choco install zoom-client
  • choco install vscode
  • choco install vlc
  • choco install expressvpn

windows packages

Windows package manager article

Apps for windows

  • Chrome
  • Firefox
  • League
  • Synergy
  • Pcloud
  • Express vpn
  • Avid music
  • Xbox console
  • Racerender
  • Vlc
  • Advanced system care
  • Handbrake
  • Terminal
  • Linux subsystem
  • Slack? vs just online
  • Vs code
  • Minecraft
  • Sea of thrives
  • Battle.net
  • Steam

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.