Compare commits

..
Author SHA1 Message Date
decentral1se 3b75e39241 Merge branch 'main' of github.com:ansible-community/molecule-hetznercloud into main
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2021-06-02 12:53:28 +02:00
decentral1seandGitHub 79567304dd Merge pull request #30 from hetznercloud/bug/fix-network-deletion
Remove async for network deletion
2021-06-02 12:53:14 +02:00
Martin Reinhardt a1669c0b04 Remove async for network deletion 2021-06-02 11:55:04 +02:00
Martin Reinhardt cfdb264fe5 Remove async for network deletion 2021-06-02 11:48:41 +02:00
decentral1se 534b1427f2 Point to new location 2021-06-02 11:12:56 +02:00
decentral1se 2e9f4b8f06 Disable volume testing for now
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2021-06-02 11:04:23 +02:00
decentral1se 87c3b71df5 Add change log entry 2021-06-02 11:03:37 +02:00
6 changed files with 9 additions and 37 deletions
+4
View File
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased] ## [Unreleased]
## [1.2.0] - 2021-06-02
- Allow to create networks during test runs ([#29](https://github.com/ansible-community/molecule-hetznercloud/pull/29), thanks @ggggut!)
## [1.1.0] - 2021-03-30 ## [1.1.0] - 2021-03-30
## Changed ## Changed
+1 -1
View File
@@ -183,7 +183,7 @@ See [CHANGELOG.md](./CHANGELOG.md).
## Contact ## Contact
- Ping @decentral1se on the `#ansible-molecule` channel on [Freenode](https://webchat.freenode.net). - Ping @decentral1se on the `#ansible-molecule` channel on [Libera](https://libera.chat/).
## License ## License
+4 -3
View File
@@ -7,9 +7,10 @@ platforms:
- name: "molecule-hetznercloud-${INSTANCE_UUID}" - name: "molecule-hetznercloud-${INSTANCE_UUID}"
server_type: cx11 server_type: cx11
image: debian-10 image: debian-10
volumes: # https://github.com/ansible-community/molecule-hetznercloud/issues/24
- name: "molecule-hetznercloud-volume-1-${INSTANCE_UUID}" # volumes:
# - name: "molecule-hetznercloud-volume-2-${INSTANCE_UUID}" # - name: "molecule-hetznercloud-volume-1-${INSTANCE_UUID}"
# - name: "molecule-hetznercloud-volume-2-${INSTANCE_UUID}"
networks: networks:
molecule-hetznercloud-network-1: molecule-hetznercloud-network-1:
ip_range: 10.10.0.0/16 ip_range: 10.10.0.0/16
@@ -67,17 +67,6 @@
state: absent state: absent
register: networks register: networks
loop: "{{ instance_conf|subelements('networks', skip_missing=True) }}" loop: "{{ instance_conf|subelements('networks', skip_missing=True) }}"
async: 7200
poll: 0
- name: Wait for network(s) deletion to complete
async_status:
jid: "{{ item.ansible_job_id }}"
register: hetzner_networks
until: hetzner_networks.finished
retries: 300
when: networks.changed
with_items: "{{ networks.results }}"
- name: Remove registered SSH key - name: Remove registered SSH key
hcloud_ssh_key: hcloud_ssh_key:
@@ -63,17 +63,6 @@
state: absent state: absent
register: networks register: networks
loop: "{{ instance_conf|subelements('networks', skip_missing=True) }}" loop: "{{ instance_conf|subelements('networks', skip_missing=True) }}"
async: 7200
poll: 0
- name: Wait for network(s) deletion to complete
async_status:
jid: "{{ item.ansible_job_id }}"
register: hetzner_networks
until: hetzner_networks.finished
retries: 300
when: networks.changed
with_items: "{{ networks.results }}"
- name: Remove registered SSH key - name: Remove registered SSH key
hcloud_ssh_key: hcloud_ssh_key:
@@ -66,17 +66,6 @@
state: absent state: absent
register: networks register: networks
loop: "{{ instance_conf|subelements('networks', skip_missing=True) }}" loop: "{{ instance_conf|subelements('networks', skip_missing=True) }}"
async: 7200
poll: 0
- name: Wait for network(s) deletion to complete
async_status:
jid: "{{ item.ansible_job_id }}"
register: hetzner_networks
until: hetzner_networks.finished
retries: 300
when: networks.changed
with_items: "{{ networks.results }}"
- name: Remove registered SSH key - name: Remove registered SSH key
hcloud_ssh_key: hcloud_ssh_key: