Skip to content

Releases: sitewards/ansible-role-magento-2

Add ability to set custom MySQL ports

23 Aug 19:14
71e67cf
Compare
Choose a tag to compare

This release adds ability to configure magento with custom mysql ports, this is optional and backwards compatible

To use custom port set:

magento_config_db:
    ...
    port = [custom port number]

and

magento_db_connections:
  - type: "connection"
    databases:
        ...
        host: "[mysql host]:[custom port number]"

4.3.0: Merge pull request #19 from sitewards/ADHOC-modernize-a-bit

23 Aug 19:06
d0951eb
Compare
Choose a tag to compare

Minor modernization improvements

Redis is now referenced according to magento docs recommendations:

  • magento_cache_frontend_page_cache_backend: "\Magento\Framework\Cache\Backend\Redis"

Add Asynchronous operations

23 Aug 19:03
a1586d3
Compare
Choose a tag to compare

Improve deployment performance by utilizing asynchronous completion of old clones cleanup and magento reindexing after deploy

The two new features can be activated by setting:

  • magento_allow_async_reindex: true
  • magento_allow_async_cleanup_old_clones: true

Both are set to false by default for backwards compatibility

Configurable wait for consumer messages

17 Mar 19:41
53b4748
Compare
Choose a tag to compare

Features:

  • optional setting to stop waiting for message consumers magento_queue_consumers_wait_for_messages

This feature was meant to be released in the previous major version but was excluded by accident
By default it is set to false, existing projects will therefore see no change unless this variable is defined in the
project and set to true

Breaking changes for redis page cache backends

05 Mar 14:30
087c60d
Compare
Choose a tag to compare

Features

  • optional setting to stop waiting for message consumers
  • required forced expiry for redis cache entries
  • required compression lib setting for redis cache

Breaking Changes

When magento_cache_frontend_page_cache_backend and/or magento_cache_frontend_default_backend are set to Cm_Cache_Backend_Redis several new settings for forced expiry of entries and compression library are now required.

Fix symlinking error while deployment

14 Jan 17:14
a25feb5
Compare
Choose a tag to compare

It was discovered that deployment was failing while the server was under
load. The reason was, that magento was recreating the shared folders
between the deletion and the symlinking.

We move this step now to be done before the symlink is moved to the new
magento deployed folder. This is also saving some downtime in the
deployment.

*#####################
*## Breaking Change ##
*#####################

This includes a backwards incompatible change. As the targets for the
shared folders needs now to be defined relative to the application root
folder. Absolute pathes are not possible anymore.

So you want to change your config something like this

 magento_shared_folders:
   - src: "{{ magento_shared_directory }}/pub/media"
-    dest: "{{ magento_app_root }}/pub/media"
+    dest: "pub/media"

Add sap credentials, additional config and log rotation

18 Dec 09:49
c7409c1
Compare
Choose a tag to compare

This features where required in one of our projects. It's helps preventing from disks filling up and gives more flexibility in configuration.

Better deploy performance

23 Oct 12:01
7c557e0
Compare
Choose a tag to compare

Changed the way how file permissions are controlled during the deploy,
this should speed up deployment routines by some minutes.

One single ansible steps was taking 5-10 minutes (or even 40, depending
on the amount of files) to complete, with this change it takes few seconds.
So deployment generally becomes faster overall.

Indexer run on deployment

30 Aug 09:27
519ce3c
Compare
Choose a tag to compare

With this release an opportunity to run a complete reindex upon deployment is added.

2.1.0 Automatic clone cleanup

22 Aug 16:58
b9e6368
Compare
Choose a tag to compare

Major feature added - automatic cleanup of old clones to keep the disk usage under control.