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

A Ansible role to optimize only non Apple SSDs.

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

Role Variables

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

macos_ssd:
  # Enable TRIM. See http://en.wikipedia.org/wiki/TRIM
  trim: false

  # Enable Sudden Motion Sensor technology. See https://en.wikipedia.org/wiki/Sudden_Motion_Sensor
  sms: false

  # Disable file access time. See https://en.wikipedia.org/wiki/Access_time
  noatime: false

  # where to set the noatime
  noatime_plist: "/Library/LaunchDaemons/com.noatime.plist"

Dependencies

None.

Example Playbook

    - hosts: all
      vars:
        macos_ssd:
          trim: true
          sms: true
          noatime: true
      roles:
        - { role: feffi.macos-ssd }

Or with local parameters:

    - hosts: all
      roles:
        - { role: feffi.macos-ssd,
            macos_ssd: {
              trim: true,
              sms: true,
              noatime: true
            }
          }

About

Ansible role to optimize _only_ non Apple SSDs.

Topics

Resources

License

Releases

No releases published

Packages

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