{"id":13753562,"url":"https://github.com/geerlingguy/ansible-role-mas","last_synced_at":"2025-05-09T21:35:09.781Z","repository":{"id":50754899,"uuid":"75663149","full_name":"geerlingguy/ansible-role-mas","owner":"geerlingguy","description":"Ansible Role - Mac App Store CLI (MOVED to geerlingguy.mac collection)","archived":true,"fork":false,"pushed_at":"2021-05-31T14:20:16.000Z","size":40,"stargazers_count":84,"open_issues_count":1,"forks_count":43,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-08-03T09:05:33.181Z","etag":null,"topics":["ansible","app-store","mac","macos","mas","role"],"latest_commit_sha":null,"homepage":"https://galaxy.ansible.com/geerlingguy/mas/","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/geerlingguy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"geerlingguy","patreon":"geerlingguy"}},"created_at":"2016-12-05T20:25:00.000Z","updated_at":"2024-01-04T15:48:15.000Z","dependencies_parsed_at":"2022-09-02T20:12:16.690Z","dependency_job_id":null,"html_url":"https://github.com/geerlingguy/ansible-role-mas","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geerlingguy%2Fansible-role-mas","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geerlingguy%2Fansible-role-mas/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geerlingguy%2Fansible-role-mas/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geerlingguy%2Fansible-role-mas/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/geerlingguy","download_url":"https://codeload.github.com/geerlingguy/ansible-role-mas/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224884615,"owners_count":17386121,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","app-store","mac","macos","mas","role"],"created_at":"2024-08-03T09:01:24.629Z","updated_at":"2024-11-16T06:30:29.007Z","avatar_url":"https://github.com/geerlingguy.png","language":null,"funding_links":["https://github.com/sponsors/geerlingguy","https://patreon.com/geerlingguy"],"categories":["role"],"sub_categories":[],"readme":"# Ansible Role: Mac App Store CLI (mas) (MOVED)\n\n**MOVED**: This role has been moved into the `geerlingguy.mac` collection. Please see [this issue](https://github.com/geerlingguy/ansible-role-mas/issues/31) for a migration guide and more information.\n\n[![CI][badge-gh-actions]][link-gh-actions]\n\nInstalls [mas](https://github.com/mas-cli/mas) on macOS, and installs macOS apps from the Mac App Store.\n\n## Requirements\n\n  - **Homebrew**: Requires `homebrew` already installed (you can use `geerlingguy.homebrew` to install it on your Mac).\n  - **Mac App Store account**: You can either sign into the Mac App Store via the GUI before running this role, or you can set the `mas_email` and `mas_password` prior to running the role. For security reasons, if you're going to use this role to sign in, you should use `vars_prompt` for at least the password; don't store unencrypted passwords with your playbooks!\n\n## Role Variables\n\nAvailable variables are listed below, along with default values (see `defaults/main.yml`):\n\n    mas_email: \"\"\n    mas_password: \"\"\n\nThe credentials for your Mac App Store account. The Apps you install should already be purchased by/registered to this account.\n\nIf setting these variables statically (e.g. in an included vars file), you should encrypt the inventory using [Ansible Vault](http://docs.ansible.com/ansible/playbooks_vault.html). Otherwise you can use [`vars_prompt`](http://docs.ansible.com/ansible/playbooks_prompts.html) to prompt for the password at playbook runtime.\n\nIf you leave both blank, and don't prompt for them, the role assumes you've already signed in via other means (e.g. via GUI or `mas signin [email]`), and will not attempt to sign in again.\n\n    mas_signin_dialog: false\n\nFallback to the built-in Mac App Store dialog to complete sign in. If set to yes, you must specify the aforementioned `mas_email` variable which will be autofilled in the dialog and prompt you to enter your password, followed by the 2FA authorization code if enabled on the account.\n\n    mas_installed_apps:\n      - { id: 425264550, name: \"Blackmagic Disk Speed Test (3.0)\" }\n      - { id: 411643860, name: \"DaisyDisk (4.3.2)\" }\n      - { id: 498486288, name: \"Quick Resizer (1.9)\" }\n      - { id: 497799835, name: \"Xcode (8.1)\" }\n\nA list of apps to ensure are installed on the computer. You can get IDs for all your existing installed apps with `mas list`, and you can search for IDs with `mas search [App Name]`. The `name` attribute is not authoritative and only used to provide better information in the playbook output.\n\n    mas_upgrade_all_apps: false\n\nWhether to run `mas upgrade`, which will upgrade all installed Mac App Store apps.\n\n## Dependencies\n\n  - (Soft dependency) `geerlingguy.homebrew`\n\n## Example Playbook\n\n    - hosts: localhost\n      vars:\n        mas_installed_apps:\n          - { id: 497799835, name: \"Xcode (8.1)\" }\n      roles:\n        - geerlingguy.homebrew\n        - geerlingguy.mas\n\nSee the [Mac Development Ansible Playbook](https://github.com/geerlingguy/mac-dev-playbook) for an example of this role's usage.\n\n## License\n\nMIT / BSD\n\n## Author Information\n\nThis role was created in 2016 by [Jeff Geerling](https://www.jeffgeerling.com/), author of [Ansible for DevOps](https://www.ansiblefordevops.com/).\n\n[badge-gh-actions]: https://github.com/geerlingguy/ansible-role-mas/workflows/CI/badge.svg?event=push\n[link-gh-actions]: https://github.com/geerlingguy/ansible-role-mas/actions?query=workflow%3ACI\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeerlingguy%2Fansible-role-mas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeerlingguy%2Fansible-role-mas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeerlingguy%2Fansible-role-mas/lists"}