Ansible role that runs the macOS softwareupdate.
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-softwareupdate

Ansible role that runs the macOS softwareupdate.

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-softwareupdate.git
  name: feffi.macos-softwareupdate

Role Variables

All role based variables are listed below, along with default values:

macos_softwareupdate:
  # Software Update Check Interval set to x days
  frequency: 1

  # Download or install only recommended updates (true) or all available updates (false)
  recommended: true

  # Install software updates (true) or download only (false)
  install: false

  # Show debug menu in AppStore
  debug: true

  # Set the Develop menu and the Web Inspector in AppStore
  webkit: true

Dependencies

None.

Example Playbook

    - hosts: all
      vars:
        macos_softwareupdate:
          frequency: 1
          recommended: true
          install: false
          debug: true
          webkit: true
      roles:
        - { role: feffi.macos-softwareupdate }

Or with local parameters:

    - hosts: all
      roles:
        - { role: feffi.macos-softwareupdate,
            macos_softwareupdate: {
              frequency: 1,
              recommended: true,
              install: false,
              debug: true,
              webkit: true
            }
          }