mac_maker.profile

Mac Maker Profile.

mac_maker.profile.precheck

Provisioning pre-application checks for a Mac Maker profile.

mac_maker.profile.spec_file

A file containing an Ansible provisioning specification.

class mac_maker.profile.Profile(profile_root)[source]

Mac Maker Profile.

Parameters:

profile_root (Union[Path, str]) – The path of the Profile’s root location.

get_collections_path()[source]

Return the Ansible collections folder’s location(s).

Return type:

Path

Returns:

The Ansible collections folder’s location(s).

get_galaxy_requirements_file()[source]

Return the Ansible Galaxy requirements file’s location.

Return type:

Path

Returns:

The Ansible Galaxy requirements file’s location.

get_inventory_file()[source]

Return the Ansible inventory file’s location.

Return type:

Path

Returns:

The Ansible inventory file’s location.

get_playbook_file()[source]

Return the main Ansible playbook file’s location.

Return type:

Path

Returns:

The main Ansible playbook file’s location.

get_profile_data_path()[source]

Return the Mac Maker profile’s root folder location.

Return type:

Path

Returns:

The Mac Maker profile’s root folder location.

get_profile_root()[source]

Return the Profile’s root folder location.

Return type:

Path

Returns:

The Profile’s root folder location.

get_roles_path()[source]

Return the Ansible roles folder’s location(s).

Return type:

Path

Returns:

The Ansible roles folder’s location(s).

get_spec_file()[source]

Return the spec file’s location.

Return type:

Path

Returns:

The spec file’s location.