]> arthur.barton.de Git - ansible-collection-boilerplate.git/log
ansible-collection-boilerplate.git
2 days agohow-to-release.md: Fix "git push" command main
Alexander Barton [Wed, 29 May 2024 20:54:17 +0000 (22:54 +0200)]
how-to-release.md: Fix "git push" command

2 days agoRelease 1.1.2
Alexander Barton [Wed, 29 May 2024 20:51:40 +0000 (22:51 +0200)]
Release 1.1.2

2 days agohow-to-release.md: Show what to cimmit before actually creating the commit
Alexander Barton [Wed, 29 May 2024 20:51:11 +0000 (22:51 +0200)]
how-to-release.md: Show what to cimmit before actually creating the commit

2 days agoansible-boilerplate: Ignore diff(1) error exit code
Alexander Barton [Wed, 29 May 2024 20:49:11 +0000 (22:49 +0200)]
ansible-boilerplate: Ignore diff(1) error exit code

2 days agoRelease 1.1.1 rel-1-1-1
Alexander Barton [Wed, 29 May 2024 20:38:21 +0000 (22:38 +0200)]
Release 1.1.1

2 days agoMakefile: Implement "check-mdl" target running mdl(1) Markdown linter
Alexander Barton [Wed, 29 May 2024 20:36:14 +0000 (22:36 +0200)]
Makefile: Implement "check-mdl" target running mdl(1) Markdown linter

2 days agoAdd docs/how-to-release.md
Alexander Barton [Wed, 29 May 2024 19:36:54 +0000 (21:36 +0200)]
Add docs/how-to-release.md

2 days agoansible-boilerplate: Fix quoting of diff(1) parameters
Alexander Barton [Wed, 29 May 2024 19:26:54 +0000 (21:26 +0200)]
ansible-boilerplate: Fix quoting of diff(1) parameters

This fixes commit 16c3de7. Oh my!

2 days agoRelease 1.1.0 rel-1-1-0
Alexander Barton [Wed, 29 May 2024 19:07:35 +0000 (21:07 +0200)]
Release 1.1.0

2 days agoUpdate Python dependencies
Alexander Barton [Wed, 29 May 2024 19:05:16 +0000 (21:05 +0200)]
Update Python dependencies

2 days agoBetter support and document ansible-vault(1)
Alexander Barton [Wed, 29 May 2024 19:02:05 +0000 (21:02 +0200)]
Better support and document ansible-vault(1)

2 days agoMakefile: Implement "check-shellcheck" target running shellcheck(1)
Alexander Barton [Wed, 29 May 2024 18:45:30 +0000 (20:45 +0200)]
Makefile: Implement "check-shellcheck" target running shellcheck(1)

2 days agoansible-boilerplate: Fix disabled shellcheck(1) warnings
Alexander Barton [Wed, 29 May 2024 18:45:16 +0000 (20:45 +0200)]
ansible-boilerplate: Fix disabled shellcheck(1) warnings

2 days agoansible-boilerplate: Show diff's for files with newer templates after upgrade
Alexander Barton [Wed, 29 May 2024 14:41:14 +0000 (16:41 +0200)]
ansible-boilerplate: Show diff's for files with newer templates after upgrade

2 days agoansible-boilerplate: Use "--force-with-deps" on --init and --force
Alexander Barton [Wed, 29 May 2024 14:38:39 +0000 (16:38 +0200)]
ansible-boilerplate: Use "--force-with-deps" on --init and --force

2 days agoUpdate .yamllint for ansible-lint >=24
Alexander Barton [Wed, 29 May 2024 14:33:56 +0000 (16:33 +0200)]
Update .yamllint for ansible-lint >=24

2 days agoansible-boilerplate: Tweak the meaning of the "upgrade" command
Alexander Barton [Wed, 29 May 2024 14:30:00 +0000 (16:30 +0200)]
ansible-boilerplate: Tweak the meaning of the "upgrade" command

"Upgrade" is now meant to upgrade (new) template files, too. It
therefore is now an equivalent to "init".

Update/add documentation to the README.md.

2 days agoansible-boilerplate: Minor fixes
Alexander Barton [Wed, 29 May 2024 13:29:31 +0000 (15:29 +0200)]
ansible-boilerplate: Minor fixes

- Upgrade(): Update function comment.
- Upgrade_Dependent(): Don't use a "foreign" variable, use the
  function argument.
- Upgrade_Template(): Hide cmp(1) command output.

5 months agoMakefile: Fix "distcheck" when there are multiple archives in "dist/" directory
Alexander Barton [Fri, 8 Dec 2023 21:54:15 +0000 (22:54 +0100)]
Makefile: Fix "distcheck" when there are multiple archives in "dist/" directory

5 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

5 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

5 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.

7 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.

9 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

10 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!

10 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.

10 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.

10 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"!

10 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

10 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

10 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"

10 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).

12 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.

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

12 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.