Giter Club home page Giter Club logo

ansible-role-xcode's Introduction

Xcode Ansible Role

Installs Xcode 6.4.

Requirements

YOU MUST USE YOUR OWN APPLE DEVELOPER ACCOUNT TO DOWNLOAD THE .DMG FILE.

WITHOUT THE .DMG FILE, THIS ROLE WILL NOT WORK.

I'm sorry, but proprietary software is proprietary, and also the Xcode .dmg is 2.6GB.

  • Go to developer.apple.com and make an account
  • Download the Xcode DMG into the files/ directory of this role
  • Make sure that the downloaded file's name matches the value in defaults/main.yaml

Role Variables

xcode_dmg - filename of Xcode dmg that you downloaded

Example Playbook

- hosts: mac 
  roles:
     - { role: edunham.xcode }

License

MIT

Author Information

Email ansible-xcode-role at edunham dot net.

ansible-role-xcode's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

ansible-role-xcode's Issues

Fails on Xcode 7.2 due to a cycle in copying

The first run of Xcode installation fails:

fatal: [192.168.1.100]: FAILED! => {"changed": true, "cmd": ["cp", "-r", "/Volumes/Xcode/Xcode.app", "/Applications/"], "delta": "0:14:00.436626", "end": "2016-02-16 16:38:37.744008", "failed": true, "rc": 1, "start": "2016-02-16 16:24:37.307382", "stderr": "cp: /Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Ruby.framework/Headers/ruby/ruby: directory causes a cycle\ncp: /Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.0/Headers/ruby/ruby: directory causes a cycle\ncp: /Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Ruby.framework/Versions/Current/Headers/ruby/ruby: directory causes a cycle", "stdout": "", "stdout_lines": [], "warnings": []}

It otherwise appears to be fine, so a second execution accepts the license and proceeds as expected.

I haven't had time to investigate and PR yet. I'm not sure if there's a way to have cp avoid this - so may need to consider an alternative for copying, or rsync?

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.