Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/39services/ansible_project_template
Template for Ansible projects
https://github.com/39services/ansible_project_template
Last synced: 8 days ago
JSON representation
Template for Ansible projects
- Host: GitHub
- URL: https://github.com/39services/ansible_project_template
- Owner: 39services
- License: mit
- Created: 2023-08-02T20:25:55.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-07T11:28:23.000Z (7 months ago)
- Last Synced: 2024-12-06T12:13:05.426Z (17 days ago)
- Language: Shell
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Ansible Project - template
========================================This is a template project
Using Template
--------------
To use this template for a new role, run```bash
export NEW_PROJECT_NAME="NEW_NAME"find README.md inventories playbooks vars files -type f -exec sed -i "s/template/${NEW_PROJECT_NAME}/g" {} + # Do not run this more than once
# Remove this section from README.md
sed -i "/Using Template/Q" README.md
```This is also provided as a script as `replace.sh`.