Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

About

Ansible role that runs the macOS softwareupdate.

Topics

Resources

License

Packages

No packages published
You can’t perform that action at this time.