GithubHelp home page GithubHelp logo

vmware_x's Introduction

C$&4 Custom Code

Here is the custom code developed as part of the engagement.

Instructions

To use either the VMWare or Windows stuff, you'll want to place this at the root level of your Ansible project directory (be careful not to include the .git folder).

VMWare Modules

There are currently 2 modules, one more on the way:

  1. vmware_clone_to_folder

  2. vmware_nic

  3. vmware_disk (WIP)

For documentation you can see the source code of each module under the DOCUMENTATION string or alternatively, from within this top level directory you can do:

ansible-doc -M ./library $MODULE_NAME

and it will give you a less like format for reading the documentation.

Windows Reboot

This code stack will work up through the release of Ansible 2.1 (target release of late April). Once 2.1 is released you'll want to use the native features for rebooting Windows.

USAGE

## run_this.yml 
- hosts: win
  tasks:
  - include: updatereboot.yml
    with_sequence: start=1 end=5

## updatereboot.yml
- name: win_update
  win_updates:
  register: wu_result
  when: wu_result | default({"changed":"true"}) | changed

- name: reboot
  win_reboot:
  when: wu_result.reboot_required | default(False)

vmware_x's People

Contributors

mholiv avatar

Stargazers

 avatar

Forkers

berukann

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.