Ansible role to manage a atom installation on macOS.
- Ansible 2.3
hash_behaviour = merge
Just add the role to your requirements.yml
file:
- src: https://github.com/feffi/ansible-macos-atom.git
name: feffi.macos-atom
All role based variables are listed below, along with default values:
---
macos_atom:
# Settings to be placed in the atom user preferences
preferences:
"*":
core:
disabledPackages: [
...
],
projectHome: "/Users/fooo/"
...
# Packages to be installed via PackageControl.io
packages: [
{ name: "archive-view" },
{ name: "autocomplete-atom-api" },
{ name: "autocomplete-css", enabled: false },
{ name: "autocomplete-html", enabled: false },
...
]
- hosts: all
vars:
macos_atom:
preferences:
...
packages:
...
roles:
- { role: feffi.macos-atom }
Or with local parameters:
- hosts: all
roles:
- { role: feffi.macos-atom,
macos_atom: {
preferences: {
...
},
packages: [
...
]
}
}