mac_maker.utilities.filesystem¶
File system representation.
- class mac_maker.utilities.filesystem.FileSystem(work_space_root)[source]¶
File system representation.
- Parameters
work_space_root (
Union[Path,str]) – The path of the Workspace 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_roles_path()[source]¶
Return the Ansible roles folder’s location(s).
- Return type
Path- Returns
The Ansible roles folder’s location(s).