Giter Club home page Giter Club logo

ansible_playbooks's Introduction

ansible_playbooks

Repo Containing Ansible Playbooks

This repo is a work in progress as I learn Ansible. This will change over time and be split up as more efficient roles that can be called other by playbooks.

  • Configure your inventory in the included hosts file.

  • cd into this folder via terminal on your computer

To apply run: -

ansible-playbook install-docker.yml --inventory-file=hosts -l GreyLog -u andrew

In the above example - I target the install docker playbook, I set my inventory hosts file to the hosts file included in this repo/folder, target my inventory section in hosts called Greylog I also set the user to andrew which is already configured on the remote host with ssh keys for this local machine Im working on in the authorized key file.

Plex Info

When setting up Plex which resides on a vm or different network:

If you’re on a different network than the server computer (or the entire “local network” is not in the private network IP ranges), you’ll first need to set up a SSH tunnel so that you can access things as if they were local.

Tip!: This is only necessary for the initial setup. Once you’ve gone through the setup, you can access as normal.

macOS or Linux Open a Terminal window or your command prompt Enter the following command (substituting the IP address of your server as appropriate): ssh -L 8888:127.0.0.1:32400 ip.address.of.server Open a browser window Type http://127.0.0.1:8888/web into the address bar The browser will connect to the server as if it were local and load Plex Web App.

Continue your login and setup of plex.

Now try accessing your plex server by the proper ip address of your remote server. You should be able to login and use plex as normal.

ansible_playbooks's People

Contributors

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