]> arthur.barton.de Git - ansible-collection-boilerplate.git/log
ansible-collection-boilerplate.git
4 months agoMakefile: Fix "distcheck" when there are multiple archives in "dist/" directory main
Alexander Barton [Fri, 8 Dec 2023 21:54:15 +0000 (22:54 +0100)]
Makefile: Fix "distcheck" when there are multiple archives in "dist/" directory

4 months agoRelease 1.0.1 rel-1-0-1
Alexander Barton [Fri, 8 Dec 2023 21:47:18 +0000 (22:47 +0100)]
Release 1.0.1

4 months agoEnhance the README.md file a bit
Alexander Barton [Fri, 8 Dec 2023 21:46:10 +0000 (22:46 +0100)]
Enhance the README.md file a bit

4 months agoansible.cfg: "collections_paths" is deprecated, use singular
Alexander Barton [Fri, 8 Dec 2023 21:44:47 +0000 (22:44 +0100)]
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.

6 months agoRelease 1.0.0 rel-1-0-0
Alexander Barton [Tue, 10 Oct 2023 12:01:28 +0000 (14:01 +0200)]
Release 1.0.0

Bump version number to 1.0.0 before pushing it to Ansible Galaxy.

8 months agoUpdate Ansible configuration
Alexander Barton [Tue, 8 Aug 2023 16:09:42 +0000 (18:09 +0200)]
Update Ansible configuration

- check_mode_markers = yes
- display_failed_stderr = yes
- show_task_path_on_failure = yes

8 months agoMakefile.boilerplate: Don't touch pip when updating it, only on create
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.

And let touch(1) never create files!

8 months agoMakefile.boilerplate: Let Python "venv targets" depend on "requirements.txt"
Alexander Barton [Sat, 29 Jul 2023 16:33:45 +0000 (18:33 +0200)]
Makefile.boilerplate: Let Python "venv targets" depend on "requirements.txt"

This allows dependent projects to actually provide a Makefile target to
generate the "requirements.txt" from an other package manager.

With this change, both the "this_makefile_path" and "this_dir" variables
are no longer used (never have been?) and therefore have been removed.

8 months agoUpdate Python dependencies
Alexander Barton [Sat, 29 Jul 2023 16:08:48 +0000 (18:08 +0200)]
Update Python dependencies

Leave out indirect dependencies, pip will figure them out on its own.

8 months agoansible-boilerplate: Only create ".new" files when called with the "init" subcommand
Alexander Barton [Thu, 20 Jul 2023 09:04:26 +0000 (11:04 +0200)]
ansible-boilerplate: Only create ".new" files when called with the "init" subcommand

Don't create ".new" files on "upgrade"!

9 months agoansible-lint: Threat "yaml[line-length]" issues as warnings only
Alexander Barton [Thu, 6 Jul 2023 15:30:33 +0000 (17:30 +0200)]
ansible-lint: Threat "yaml[line-length]" issues as warnings only

9 months agoansible-lint includes yamllint, don't run it twice
Alexander Barton [Thu, 6 Jul 2023 15:29:59 +0000 (17:29 +0200)]
ansible-lint includes yamllint, don't run it twice

9 months agoMakefile.boilerplate: Try to remove empty "ansible_galaxy" folder on "distclean"
Alexander Barton [Sun, 2 Jul 2023 19:34:01 +0000 (21:34 +0200)]
Makefile.boilerplate: Try to remove empty "ansible_galaxy" folder on "distclean"

9 months agonsible-boilerplate: Try to get the "upgrade" logic right
Alexander Barton [Sun, 2 Jul 2023 19:14:14 +0000 (21:14 +0200)]
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).

10 months agoThe "a" wrapper requires the bash(1) interpreter!
Alexander Barton [Mon, 29 May 2023 11:26:45 +0000 (13:26 +0200)]
The "a" wrapper requires the bash(1) interpreter!

It makes use of bash arrays, for example.

10 months agoAdd a bit more documentation
Alexander Barton [Thu, 25 May 2023 15:16:04 +0000 (17:16 +0200)]
Add a bit more documentation

10 months agoInitial commit
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.