Compare commits
7 Commits
add-networ
...
1.2.1
Author | SHA1 | Date | |
---|---|---|---|
3b75e39241
|
|||
79567304dd | |||
a1669c0b04 | |||
cfdb264fe5 | |||
534b1427f2
|
|||
2e9f4b8f06
|
|||
87c3b71df5
|
@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
## [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
|
||||
|
||||
## Changed
|
||||
|
@ -183,7 +183,7 @@ See [CHANGELOG.md](./CHANGELOG.md).
|
||||
|
||||
## 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
|
||||
|
||||
|
@ -7,9 +7,10 @@ platforms:
|
||||
- name: "molecule-hetznercloud-${INSTANCE_UUID}"
|
||||
server_type: cx11
|
||||
image: debian-10
|
||||
volumes:
|
||||
- name: "molecule-hetznercloud-volume-1-${INSTANCE_UUID}"
|
||||
# - name: "molecule-hetznercloud-volume-2-${INSTANCE_UUID}"
|
||||
# https://github.com/ansible-community/molecule-hetznercloud/issues/24
|
||||
# volumes:
|
||||
# - name: "molecule-hetznercloud-volume-1-${INSTANCE_UUID}"
|
||||
# - name: "molecule-hetznercloud-volume-2-${INSTANCE_UUID}"
|
||||
networks:
|
||||
molecule-hetznercloud-network-1:
|
||||
ip_range: 10.10.0.0/16
|
||||
|
@ -67,17 +67,6 @@
|
||||
state: absent
|
||||
register: networks
|
||||
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
|
||||
hcloud_ssh_key:
|
||||
|
@ -63,17 +63,6 @@
|
||||
state: absent
|
||||
register: networks
|
||||
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
|
||||
hcloud_ssh_key:
|
||||
|
@ -66,17 +66,6 @@
|
||||
state: absent
|
||||
register: networks
|
||||
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
|
||||
hcloud_ssh_key:
|
||||
|
Reference in New Issue
Block a user