ansible.cfg: "collections_paths" is deprecated, use singular
This fixes the following warning of ansible-lint:
DEPRECATION WARNING]: [defaults]collections_paths option, does not fit
var naming standard, use the singular form collections_path instead.
This feature will be removed from ansible-core in version 2.19.
Alexander Barton [Sat, 29 Jul 2023 17:20:32 +0000 (19:20 +0200)]
Makefile.boilerplate: Don't touch pip when updating it, only on create
The upgrade set is potentially executed lather than other targets
depending on pip, so fiddling with its timestamps results in those
targets being rebuild over and over again.
nsible-boilerplate: Try to get the "upgrade" logic right
Don't try to install the Python package "ansible" and the Ansible
collection "alexbarton.boilerplate" first, depend on the Python
requirements.txt and Ansible Galaxy requirements.yml files for this.
This enables the user to specify the sources (and versions) that are
required for the specific project (and no longer requires the environment
variable BOILERPLATE_COLLECTION_SRC to be set, for example).
Alexander Barton [Wed, 19 Apr 2023 10:24:13 +0000 (12:24 +0200)]
Initial commit
This implements the core functionality, including the "ansible-boilerplate"
script, Ansible wrapper scripts "a", "ap" and "aps", the Makefile, and
boilerplate configuration files for Ansible, ansible-lint, yamllint, etc.