Ansible role to manage timemachine settings in macOS.
- Ansible 2.3
hash_behaviour = merge
Just add the role to your requirements.yml
file:
- src: https://github.com/feffi/ansible-macos-timemachine.git
name: feffi.macos-timemachine
All role based variables are listed below, along with default values:
macos_timemachine:
# Disable local Time Machine snapshots
local: false
# Prevent Time Machine from prompting to use new hard drives as backup volume
prompt_new: false
None.
- hosts: all
vars:
macos_timemachine:
local: false
prompt_new: false
roles:
- { role: feffi.macos-timemachine }
Or with local parameters:
- hosts: all
roles:
- { role: feffi.macos-timemachine,
macos_timemachine: {
local: false,
prompt_new: false
}
}