Skip to content

Commit

Permalink
Improve docker, hetzner and postgresql migration (#1382)
Browse files Browse the repository at this point in the history
* Improve fragment formatting.

* Remove docker fragments.

* Remove postgresql fragments.
  • Loading branch information
felixfontein committed Nov 25, 2020
1 parent e73451f commit dbae7da
Show file tree
Hide file tree
Showing 28 changed files with 8 additions and 67 deletions.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

2 changes: 0 additions & 2 deletions changelogs/fragments/1118-docker_login-config-store.yml

This file was deleted.

2 changes: 0 additions & 2 deletions changelogs/fragments/1119-docker_container-device-reqests.yml

This file was deleted.

2 changes: 0 additions & 2 deletions changelogs/fragments/1124-pg_hba-dictkey_bugfix.yaml

This file was deleted.

10 changes: 0 additions & 10 deletions changelogs/fragments/547-start-service-condition.yaml

This file was deleted.

This file was deleted.

2 changes: 0 additions & 2 deletions changelogs/fragments/642-docker_container-python-2.yml

This file was deleted.

This file was deleted.

4 changes: 0 additions & 4 deletions changelogs/fragments/651-fix-postgresql_set-warning.yaml

This file was deleted.

This file was deleted.

3 changes: 0 additions & 3 deletions changelogs/fragments/656-name-with-hyphen.yml

This file was deleted.

This file was deleted.

This file was deleted.

2 changes: 0 additions & 2 deletions changelogs/fragments/805-docker_image-build-output.yml

This file was deleted.

This file was deleted.

2 changes: 0 additions & 2 deletions changelogs/fragments/886-postgresql_query_add_ret_vals.yml

This file was deleted.

2 changes: 0 additions & 2 deletions changelogs/fragments/887-rollback-if-nothing-changed.yml

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

2 changes: 0 additions & 2 deletions changelogs/fragments/community.docker-31-docker-secret.yml

This file was deleted.

4 changes: 2 additions & 2 deletions changelogs/fragments/docker-migration-removal.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
removed_features:
- >
- |
All ``docker`` modules and plugins have been removed from this collection.
They have been migrated to the `community.docker <https://galaxy.ansible.com/community/docker>`_ collection.
If you use ansible-base 2.10 or newer, redirections have been provided.
If you use Ansible 2.9 and installed this collection, you need to adjust the FQCNs (``community.general.docker_container`` → ``community.docker.docker_container``) and make sure to install the community.docker collection.
breaking_changes:
- >
- |
If you use Ansible 2.9 and the ``docker`` plugins or modules from this collections, community.general 2.0.0 results in errors when trying to use the docker content by FQCN, like ``community.general.docker_container``.
Since Ansible 2.9 is not able to use redirections, you will have to adjust your playbooks and roles manually to use the new FQCNs (``community.docker.docker_container`` for the previous example) and to make sure that you have ``community.docker`` installed.
Expand Down
4 changes: 2 additions & 2 deletions changelogs/fragments/hetzner-migration-removal.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
removed_features:
- >
- |
All ``hetzner`` modules have been removed from this collection.
They have been migrated to the `community.hrobot <https://galaxy.ansible.com/community/hrobot>`_ collection.
If you use ansible-base 2.10 or newer, redirections have been provided.
If you use Ansible 2.9 and installed this collection, you need to adjust the FQCNs (``community.general.hetzner_firewall`` → ``community.hrobot.firewall``) and make sure to install the community.hrobot collection.
breaking_changes:
- >
- |
If you use Ansible 2.9 and the ``hetzner`` modules from this collections, community.general 2.0.0 results in errors when trying to use the hetzner content by FQCN, like ``community.general.hetzner_firewall``.
Since Ansible 2.9 is not able to use redirections, you will have to adjust your playbooks and roles manually to use the new FQCNs (``community.hrobot.firewall`` for the previous example) and to make sure that you have ``community.hrobot`` installed.
Expand Down
6 changes: 4 additions & 2 deletions changelogs/fragments/postgresql-migration-removal.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
removed_features:
- >
- |
All ``postgresql`` modules have been removed from this collection.
They have been migrated to the `community.postgresql <https://galaxy.ansible.com/community/postgresql>`_ collection.
If you use ansible-base 2.10 or newer, redirections have been provided.
If you use Ansible 2.9 and installed this collection, you need to adjust the FQCNs (``community.general.postgresql_info`` → ``community.postgresql.postgresql_info``) and make sure to install the community.postgresql collection.
breaking_changes:
- >
- |
If you use Ansible 2.9 and the ``postgresql`` modules from this collections, community.general 2.0.0 results in errors when trying to use the postgresql content by FQCN, like ``community.general.postgresql_info``.
Since Ansible 2.9 is not able to use redirections, you will have to adjust your playbooks and roles manually to use the new FQCNs (``community.postgresql.postgresql_info`` for the previous example) and to make sure that you have ``community.postgresql`` installed.
If you use ansible-base 2.10 or newer and did not install Ansible 3.0.0, but installed (and/or upgraded) community.general manually, you need to make sure to also install ``community.postgresql`` if you are using any of the ``postgresql`` modules.
While ansible-base 2.10 or newer can use the redirects that community.general 2.0.0 adds, the collection they point to (community.postgresql) must be installed for them to work.

0 comments on commit dbae7da

Please sign in to comment.