An helper to avoid keeping ansible.cfg in playbook repos.
From this repo
make installwill installansible-cfg.mk,ansible-cfg.jsonnetandansible-cfg.ymlin/usr/local/bin
From any pristine ansible playbook repo
-
ansible-cfg.mk $configwill invokeansible-cfg.jsonnetto create various ansible configs inansible-cfgand linkansible.cfgto$config(default tofull) -
ansible-cfg.yml -e dir=$(pwd)will create local dirs needed by ansible config and populate.gitignoreand/or.git/info/exclude -
ansible-cfg.mk excludeis a shorthand foransible-cfg.yml -e dir=$(pwd) -
ansible-cfgis a shorthand foransible-cfg.mk