buluma.mas

mas

Mac App Store CLI installation for macOS

GitHub GitLab Quality Downloads Version Issues Pull Requests
github gitlab quality downloads Version Issues PullRequests

Example Playbook

This example is taken from molecule/default/converge.yml and is tested on each push, pull request and release.

---
- name: Converge
  hosts: all
  become: yes
  gather_facts: yes

  roles:
    - role: buluma.mas

The machine needs to be prepared. In CI this is done using molecule/default/prepare.yml:

---
- name: Prepare
  hosts: all
  gather_facts: no
  become: yes

  roles:
    - role: buluma.bootstrap

Role Variables

The default values for the variables are set in defaults/main.yml:

---
mas_email: ""
mas_password: ""
mas_installed_app_ids: []  # Deprecated
mas_installed_apps:
  - {id: 425264550, name: "Blackmagic Disk Speed Test (3.0)"}
  - {id: 411643860, name: "DaisyDisk (4.3.2)"}
  - {id: 498486288, name: "Quick Resizer (1.9)"}
  - {id: 497799835, name: "Xcode (8.1)"}

mas_upgrade_all_apps: false
mas_signin_dialog: false

Requirements

Status of used roles

The following roles are used to prepare a system. You can prepare your system in another way.

Requirement GitHub GitLab
buluma.bootstrap Build Status GitHub Build Status GitLab

Context

This role is a part of many compatible roles. Have a look at the documentation of these roles for further information.

Here is an overview of related roles:

dependencies

Compatibility

This role has been tested on these container images:

container tags
macos all, any

The minimum version of Ansible required is 2.4, tests have been done to:

  • The previous version.
  • The current version.
  • The development version.

If you find issues, please register them in GitHub

Changelog

Role History

License

Apache-2.0

Author Information

buluma

Install
ansible-galaxy install buluma.mas
GitHub repository
License
apache-2.0
Downloads
84
Owner
DevOps Engineer