Last active
January 6, 2024 10:27
-
-
Save pancudaniel7/e40b009a69fc7e87f2f14e8249c32c07 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# 1 - project name (default: ansible) | |
project_name=${1:-ansible} | |
ansible_config_file_url="https://gist.github.com/alivx/2a4ca3e577ead4bd38d247c258e6513b" | |
mkdir -p $project_name/{playbooks,roles,inventory} && \ | |
touch $project_name/{playbooks,roles,inventory}/.gitkeep && \ | |
curl -o $project_name/ansible.cfg https://gist.githubusercontent.com/alivx/2a4ca3e577ead4bd38d247c258e6513b/raw/fe2b9b1c7abc2b52cc6998525718c9a40c7e02a5/ansible.cfg | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment