Ansible role to manage timemachine settings in macOS.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
defaults
meta
tasks
tests
.gitignore
.travis.yml
LICENSE
README.md

README.md

ansible-macos-timemachine

Ansible role to manage timemachine settings in macOS.

Build Status Github All Releases GitHub forks GitHub stars GitHub watchers Twitter Follow License

Requirements

  • Ansible 2.3

ansible.cfg

hash_behaviour = merge

Install

Just add the role to your requirements.yml file:

- src: https://github.com/feffi/ansible-macos-timemachine.git
  name: feffi.macos-timemachine

Role Variables

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

Dependencies

None.

Example Playbook

    - 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
            }
          }