diff --git a/applications.yaml b/applications.yaml index 7648c2b..92ff139 100644 --- a/applications.yaml +++ b/applications.yaml @@ -5,4 +5,6 @@ - include: keka/keka.yaml - include: limechat/limechat.yaml - include: firefox/firefox.yaml -- include: opera/opera.yaml \ No newline at end of file +# - include: opera/opera.yaml +- include: mou/mou.yaml +- include: texts/texts.yaml \ No newline at end of file diff --git a/install/dmg.yaml b/install/dmg.yaml index f36fd3d..c9ea681 100644 --- a/install/dmg.yaml +++ b/install/dmg.yaml @@ -2,7 +2,7 @@ - name: Download $app_name_pretty get_url: url=$app_url dest=$downloads/$app_name.dmg - name: Mount $app_name_pretty image - command: hdiutil mount $app_name.dmg chdir=$downloads + command: hdiutil attach $app_name.dmg chdir=$downloads - name: Copy $app_name_pretty app to Applications directory command: cp -R ${mount_path}$app_name.app /Applications when_string: $installer_type == 'app' @@ -10,4 +10,4 @@ command: sudo installer -package ${mount_path}$app_name.pkg -target $install_target when_string: $installer_type == 'pkg' - name: Unmount $app_name_pretty image - command: hdiutil unmount $mount_path \ No newline at end of file + command: hdiutil detach $mount_path \ No newline at end of file diff --git a/iterm/iterm.yaml b/iterm/iterm.yaml index a68f641..d46f258 100644 --- a/iterm/iterm.yaml +++ b/iterm/iterm.yaml @@ -1,6 +1,4 @@ --- -- include: ../setup.yaml - - hosts: $hosts user: $user vars: @@ -12,4 +10,5 @@ vars_files: - ../setup-vars.yaml tasks: + - include: ../setup.yaml - include: ../install/$install_method.yaml \ No newline at end of file diff --git a/mou/README.md b/mou/README.md new file mode 100644 index 0000000..ccd7706 --- /dev/null +++ b/mou/README.md @@ -0,0 +1,4 @@ +Mou +=== + +This Ansible playbook installs Mou, a feature rich Markdown editor. \ No newline at end of file diff --git a/mou/mou.yaml b/mou/mou.yaml new file mode 100644 index 0000000..550848b --- /dev/null +++ b/mou/mou.yaml @@ -0,0 +1,14 @@ +--- +- hosts: $hosts + user: $user + vars: + app_name: Mou + app_name_pretty: Mou + app_url: http://mouapp.com/download/Mou.zip + installer_type: app + install_method: zip + vars_files: + - ../setup-vars.yaml + tasks: + - include: ../setup.yaml + - include: ../install/$install_method.yaml \ No newline at end of file diff --git a/opera/opera.yaml b/opera/opera.yaml index 0489944..dba2a13 100644 --- a/opera/opera.yaml +++ b/opera/opera.yaml @@ -5,7 +5,7 @@ vars: app_name: Opera app_name_pretty: Opera - app_url: http://www.opera.com/download/get/?partner=www&opsys=MacOS + app_url: http://ftp.opera.com/pub/opera/mac/1215/Opera_12.15_Setup_Intel.dmg installer_type: app install_method: dmg mount_path: /Volumes/Opera/ diff --git a/texts/README.md b/texts/README.md new file mode 100644 index 0000000..677d9b7 --- /dev/null +++ b/texts/README.md @@ -0,0 +1,4 @@ +Texts +===== + +This Ansible playbook installs Texts, a lightweight Markdown editor. \ No newline at end of file diff --git a/texts/texts.yaml b/texts/texts.yaml new file mode 100644 index 0000000..36c73b6 --- /dev/null +++ b/texts/texts.yaml @@ -0,0 +1,16 @@ +--- +- hosts: $hosts + user: $user + sudo: yes + vars: + app_name: Texts + app_name_pretty: Texts + app_url: http://www.texts.io/Texts-0.13.1.dmg + installer_type: app + install_method: dmg + mount_path: /Volumes/Texts/ + vars_files: + - ../setup-vars.yaml + tasks: + - include: ../setup.yaml + - include: ../install/$install_method.yaml \ No newline at end of file