[meta] symlink iCloud Drive

pull/28/head
Alpha Chen 6 years ago
parent 0b4009eec7
commit 59880d4b54

@ -11,8 +11,7 @@
dest: ~/.dotfiles dest: ~/.dotfiles
ignore_errors: yes ignore_errors: yes
- hosts: os_MacOSX - import_playbook: playbooks/homebrew.yml
import_playbook: playbooks/homebrew.yml
- hosts: os_MacOSX - hosts: os_MacOSX
roles: roles:

@ -1,5 +1,6 @@
- hosts: all - hosts: all
tasks: tasks:
- name: update - name: update
homebrew: update_homebrew=yes homebrew: update_homebrew=yes

@ -22,5 +22,11 @@
file: src={{ item }} dest=~/Library/Colors/{{ item | basename }} state=link file: src={{ item }} dest=~/Library/Colors/{{ item | basename }} state=link
with_fileglob: ~/.dotfiles/osx/Colors/* with_fileglob: ~/.dotfiles/osx/Colors/*
- name: symlink iCloud
file:
src: "{{ ansible_env.HOME }}/Library/Mobile Documents/com~apple~CloudDocs"
dest: ~/iCloud
state: link
- name: disable gamed - name: disable gamed
command: launchctl unload -w /System/Library/LaunchAgents/com.apple.gamed.plist command: launchctl unload -w /System/Library/LaunchAgents/com.apple.gamed.plist

@ -1,7 +1,8 @@
- name: install chruby - name: install chruby
homebrew: homebrew:
state=present name: "{{ item }}"
name: state: present
with_items:
- chruby - chruby
- ruby-install - ruby-install

Loading…
Cancel
Save