1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
Find a file
Olof Johansson 3044c0288f
scaleway_compute: When removing node, wait for transition (#444)
To remove a scaleway compute node, one needs to stop it first. This is
handled internally within the module by shutting down before removing.
Shutting down the node transitions it to a "stopping" state, which is
not the "stopped" state we expect. We thus need the transition to
complete so that we can put it in the actual target state (absent, i.e.
delete it).

The mechanism for waiting for such transitions today is controlled by
module parameters, with default to not being enabled at all, which
includes the transition from ([running] -(stopping)-> [stopped]).

Without this chage, in case of a running node, we would shut it down
(transition it to "stopping"), not wait for it complete the transition,
realize that it's not yet stopped and issue a second shut down command
to the api. This would fail with a 400 Bad Request error, "already
stopped".

Reference: https://github.com/ansible/ansible/issues/45740
Reported-by: zwindler
2020-06-11 11:34:15 +03:00
.github Fix modules/packaging/os/pkg5 authors/maintainers in BOTMETA.yml (#471) 2020-06-07 12:37:15 +01:00
changelogs scaleway_compute: When removing node, wait for transition (#444) 2020-06-11 11:34:15 +03:00
meta Remove extra field (#492) 2020-06-10 21:52:18 +02:00
plugins scaleway_compute: When removing node, wait for transition (#444) 2020-06-11 11:34:15 +03:00
scripts Fix linting errors. (#343) 2020-05-15 13:35:41 +02:00
tests New module: dpkg_divert (#417) 2020-06-10 21:01:16 +03:00
.gitignore Initial commit 2020-03-09 09:11:07 +00:00
COPYING Initial commit 2020-03-09 09:11:07 +00:00
galaxy.yml Update dependency versions in galaxy.yml (#433) 2020-05-29 11:45:56 +02:00
README.md Fix README Badge urls (#496) 2020-06-11 07:20:02 +02:00
shippable.yml Add extra sanity tests and changelog config. (#352) 2020-05-18 19:36:35 +02:00

Run Status Codecov

Ansible Collection: community.general

This repo contains the community.general Ansible Collection.

The collection includes the modules and plugins supported by Ansible community.

Installation and Usage

Installing the Collection from Ansible Galaxy

Before using the General community collection, you need to install the collection with the ansible-galaxy CLI:

ansible-galaxy collection install community.general

You can also include it in a requirements.yml file and install it via ansible-galaxy collection install -r requirements.yml using the format:

collections:
- name: community.general

Testing and Development

If you want to develop new content for this collection or improve what is already here, the easiest way to work on the collection is to clone it into one of the configured COLLECTIONS_PATHS, and work on it there.

You can find more information in the developer guide for collections

Testing with ansible-test

See here.

Publishing New Version

TBD

More Information

TBD

Communication

We have a dedicated Working Group for Ansible development.

You can find other people interested on the following Freenode IRC channels -

  • #ansible - For general use questions and support.
  • #ansible-devel - For discussions on developer topics and code related to features or bugs.
  • #ansible-community - For discussions on community topics and community meetings.

For more information about communities, meetings and agendas see Community Wiki.

For more information about communication

License

GNU General Public License v3.0 or later

See LICENSE to see the full text.