{"id":20331020,"url":"https://github.com/cans/directory-make","last_synced_at":"2026-06-09T05:05:31.965Z","repository":{"id":139897849,"uuid":"99280193","full_name":"cans/directory-make","owner":"cans","description":"Simple Ansible Role that creates directories","archived":false,"fork":false,"pushed_at":"2018-06-23T15:18:58.000Z","size":19,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-04T12:29:02.997Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cans.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-08-03T22:31:13.000Z","updated_at":"2017-09-27T05:54:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"5b34ec1a-bacc-4a0d-9a46-b87000c5ec85","html_url":"https://github.com/cans/directory-make","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cans/directory-make","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cans%2Fdirectory-make","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cans%2Fdirectory-make/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cans%2Fdirectory-make/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cans%2Fdirectory-make/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cans","download_url":"https://codeload.github.com/cans/directory-make/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cans%2Fdirectory-make/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34092321,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-09T02:00:06.510Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-11-14T20:18:29.490Z","updated_at":"2026-06-09T05:05:31.932Z","avatar_url":"https://github.com/cans.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"directory-make\n==============\n\nA role that ensures some directories exist and have the right permission.\n\nEach directory is  described as follows:\n\n    - group: The name of the group the directory should belong to  (default: dirmake\\_group)\n      mode: The mode the directory should have                     (default: 0700)\n      owner: The name of the user that should own the directory    (default: dirmake\\_user)\n      path: Path of the directory you need to ensure exists        (no default, mandatory)\n      \n\nRequirements\n------------\n\nThis role has no requirements.\n\n\nRole Variables\n--------------\n\nAll variables in this roles are namespaced with the prefix `dirmake_`.\n\n- `dirmake_directories`: the list of directories to check, specified by items as specified above (default: [])\n- `dirmake_group`: the default group the directories should belong to (default: omit, meaning will be determined by the system)\n- `dirmake_mode`: the default mode the directories should have (default: 0700)\n- `dirmake_owner`: the default owner for the directories (default: remote\\_user)\n\n\nDependencies\n------------\n\nThis role has no dependencies.\n\n\nExample Playbook\n----------------\n\nIncluding an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:\n\n    - hosts: servers\n      vars:\n        dirmake_directories:\n          - path: \"/home/user/some/path\"\n            owner: \"alice\"\n            mode: 0600\n          - path: \"/home/user/some/other/path\"\n          - path: \"/home/user/yet/another/directory\"\n            group: \"bob\"\n      roles:\n         - role: cans.directory-make\n\n\n    - hosts: servers\n      vars_files:\n        - vars/part1.yml   # defines directory_list_1\n        - vars/part2.yml   # defines directory_list_2\n      roles:\n        - role: cans.directory-make\n          dirmake_directories: \"{{ directory_list_1 + directory_list_2 }}\"\n\nLicense\n-------\n\nGPLv2\n\n\nAuthor Information\n------------------\n\nCopyright © 2017, Nicolas CANIART.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcans%2Fdirectory-make","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcans%2Fdirectory-make","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcans%2Fdirectory-make/lists"}