Code Monkey home page Code Monkey logo

ansible-role-xcode's Introduction

Ansible Role: Xcode

GPL-3.0 licensed Build Status

Installs Xcode on MacOS according to supplied variables.

Requirements

The role is capable of installing Xcode 8 and above.

The Xcode installation requires a pre-downloaded Xcode xip file on the target machine. You can find all Xcode versions in the Apple Downloads Page.

A UI session is also required. This means the user you are using to execute the role must be logged on to the OSX machine.

The role expects Spotlight to be enabled. It uses Spotlight search to check whether Xcode is already installed.

Role Variables

Role variables and their default values are listed below. You can find all default variables in defaults/main.yml

xcode_xip_location:

The Xcode xip location on the target computer.

xcode_major_version:

The major Xcode version to be installed. The way extra packages are installed varies between Xcode versions. That is why the major version must be known when running the provisioning scripts.

xcode_build: /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild

The path to the xcodebuild tool.

xcode_packages_location: /Applications/Xcode.app/Contents/Resources/Packages

The directory containing all extra Xcode packages to be installed.

Dependencies

None.

Example Playbook

- hosts: localhost
  vars:
    xcode_xip_location: '/Users/user/Downloads/Xcode_10.1.xip'
    xcode_major_version: 10
  roles:
    - xcode

License

GPL-3.0

Author Information

This role was created in 2019 by MacStadium, Inc.

Maintainer(s)

ansible-role-xcode's People

Contributors

ispasov avatar jpraczyk 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.