Skip to content

Instantly share code, notes, and snippets.

@pancudaniel7
Last active January 6, 2024 10:27
Show Gist options
  • Save pancudaniel7/e40b009a69fc7e87f2f14e8249c32c07 to your computer and use it in GitHub Desktop.
Save pancudaniel7/e40b009a69fc7e87f2f14e8249c32c07 to your computer and use it in GitHub Desktop.
#!/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