Code Monkey home page Code Monkey logo

ansible-playbooks's Introduction

Ansible-Playbooks

A collection of useful Ansible playbooks and roles that I have created, modified, or used.

Contributing

I am open to edits, having additional playbooks, and criticism. If you would like to edit, please follow the naming convention: system-verb-noun, such as tux-update-linux.yml for a playbook that updates Linux, or cent-update-httpd.yml for a playbook that only updates httpd on CentOS systems. Other than that, enjoy!

Cloud

Linux

tux-install-dockerce.yml

This runs the neccessary commands to install docker-ce on a RedHat, Centos, Fedora, Debian, or Ubuntu system. Please note that this playbook presumes you are using systemd. Credit where credit is due: Some of the Ubuntu/Debian stuff I modified from here.

tux-update-linux.yml

This updates linux on RedHat, CentOS, Fedora, Debian, or Ubuntu systems.

Windows

win-activate-windows.yml

This playbook accepts a variable, {{ activation-key }}, to activate Windows.

win-configure-dnsalladapters.yml

This playbook accepts a variable, {{ dns-servers }}, to set the dns server for all adapters.

win-create-directory.yml

This playbook accept a variable, {{ folder-path }}, to create a directory.

win-disable-ieesc

This playbook uses the file located in Windows/files/win-disable-ieesc.ps1 to disable Internet Explorer Enhanced Security Configuration (IEESC) on a Windows Server. Please refer to the powershell script before running!

win-disable-remoteuac.yml

This playbook disables remote uac via registry setting. This is useful when you have troubles using a vendor's remote session on a server.

win-disable-windowsfirewall.yml

This playbook disables Windows Firewall for all profiles (domain, private, and public).

win-enable-windowsfirewall.yml

This playbook enables Windows Firewall for all profiles (domain, private, and public).

win-download-url.yml

This playbook accepts two variables, {{ file-url }} and {{ file-destination }}, to download a specified URL to a specified directory. This is intended for downloading files on Windows.

win-enable-service.yml

This playbook accepts a variable, {{ service-name }}, and sets the specified service to autostart on boot and start immediately.

win-install-software.yml

This playbook accepts a variable, {{ package }}, to use Chocolatey to install a package.

win-install-windowsfeature.yml

This playbook accepts a variable, {{ win-feature }}, and installs the feature; rebooting if neccessary.

win-join-windowsdomain.yml

This playbook accepts serveral variables, {{ domain }} {{ hostname }} {{ domainadmin }} {{ password }}. The {{ domain }} variable should be the FQDN of the AD domain you wish to join, the {{ hostname }} variable will set the target's name. The {{ domainadmin }} and {{ password }} variables are to specify the domain administrator account and password, which are required to join a domain.

win-update-windows.yml

This playbook will download Windows Updates for all categories.

ansible-playbooks's People

Contributors

beze88 avatar steaksauce- avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

beze88 tygra

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.