mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-22 12:03:58 -07:00
Adjust YAML files (#10233)
Adjust YAML files.
(cherry picked from commit eaa5e07b28
)
This commit is contained in:
parent
e8ff74f077
commit
a9e892952d
244 changed files with 7272 additions and 7329 deletions
|
@ -44,83 +44,83 @@
|
|||
- security_group_rule_creation_task is changed
|
||||
|
||||
- block:
|
||||
- name: Create security_group_rule check
|
||||
scaleway_security_group_rule:
|
||||
state: present
|
||||
region: '{{ scaleway_region }}'
|
||||
protocol: '{{ protocol }}'
|
||||
port: '{{ port }}'
|
||||
ip_range: '{{ ip_range }}'
|
||||
direction: '{{ direction }}'
|
||||
action: '{{ action }}'
|
||||
security_group: '{{ security_group.scaleway_security_group.id }}'
|
||||
register: security_group_rule_creation_task
|
||||
- name: Create security_group_rule check
|
||||
scaleway_security_group_rule:
|
||||
state: present
|
||||
region: '{{ scaleway_region }}'
|
||||
protocol: '{{ protocol }}'
|
||||
port: '{{ port }}'
|
||||
ip_range: '{{ ip_range }}'
|
||||
direction: '{{ direction }}'
|
||||
action: '{{ action }}'
|
||||
security_group: '{{ security_group.scaleway_security_group.id }}'
|
||||
register: security_group_rule_creation_task
|
||||
|
||||
- debug: var=security_group_rule_creation_task
|
||||
- debug: var=security_group_rule_creation_task
|
||||
|
||||
- assert:
|
||||
that:
|
||||
- security_group_rule_creation_task is success
|
||||
- security_group_rule_creation_task is changed
|
||||
- assert:
|
||||
that:
|
||||
- security_group_rule_creation_task is success
|
||||
- security_group_rule_creation_task is changed
|
||||
|
||||
- name: Create security_group_rule duplicate
|
||||
scaleway_security_group_rule:
|
||||
state: present
|
||||
region: '{{ scaleway_region }}'
|
||||
protocol: '{{ protocol }}'
|
||||
port: '{{ port }}'
|
||||
ip_range: '{{ ip_range }}'
|
||||
direction: '{{ direction }}'
|
||||
action: '{{ action }}'
|
||||
security_group: '{{ security_group.scaleway_security_group.id }}'
|
||||
register: security_group_rule_creation_task
|
||||
- name: Create security_group_rule duplicate
|
||||
scaleway_security_group_rule:
|
||||
state: present
|
||||
region: '{{ scaleway_region }}'
|
||||
protocol: '{{ protocol }}'
|
||||
port: '{{ port }}'
|
||||
ip_range: '{{ ip_range }}'
|
||||
direction: '{{ direction }}'
|
||||
action: '{{ action }}'
|
||||
security_group: '{{ security_group.scaleway_security_group.id }}'
|
||||
register: security_group_rule_creation_task
|
||||
|
||||
- debug: var=security_group_rule_creation_task
|
||||
- debug: var=security_group_rule_creation_task
|
||||
|
||||
- assert:
|
||||
that:
|
||||
- security_group_rule_creation_task is success
|
||||
- security_group_rule_creation_task is not changed
|
||||
- assert:
|
||||
that:
|
||||
- security_group_rule_creation_task is success
|
||||
- security_group_rule_creation_task is not changed
|
||||
|
||||
- name: Delete security_group_rule check
|
||||
check_mode: true
|
||||
scaleway_security_group_rule:
|
||||
state: absent
|
||||
region: '{{ scaleway_region }}'
|
||||
protocol: '{{ protocol }}'
|
||||
port: '{{ port }}'
|
||||
ip_range: '{{ ip_range }}'
|
||||
direction: '{{ direction }}'
|
||||
action: '{{ action }}'
|
||||
security_group: '{{ security_group.scaleway_security_group.id }}'
|
||||
register: security_group_rule_deletion_task
|
||||
- name: Delete security_group_rule check
|
||||
check_mode: true
|
||||
scaleway_security_group_rule:
|
||||
state: absent
|
||||
region: '{{ scaleway_region }}'
|
||||
protocol: '{{ protocol }}'
|
||||
port: '{{ port }}'
|
||||
ip_range: '{{ ip_range }}'
|
||||
direction: '{{ direction }}'
|
||||
action: '{{ action }}'
|
||||
security_group: '{{ security_group.scaleway_security_group.id }}'
|
||||
register: security_group_rule_deletion_task
|
||||
|
||||
- debug: var=security_group_rule_deletion_task
|
||||
- debug: var=security_group_rule_deletion_task
|
||||
|
||||
- assert:
|
||||
that:
|
||||
- security_group_rule_deletion_task is success
|
||||
- security_group_rule_deletion_task is changed
|
||||
- assert:
|
||||
that:
|
||||
- security_group_rule_deletion_task is success
|
||||
- security_group_rule_deletion_task is changed
|
||||
|
||||
always:
|
||||
- name: Delete security_group_rule check
|
||||
scaleway_security_group_rule:
|
||||
state: absent
|
||||
region: '{{ scaleway_region }}'
|
||||
protocol: '{{ protocol }}'
|
||||
port: '{{ port }}'
|
||||
ip_range: '{{ ip_range }}'
|
||||
direction: '{{ direction }}'
|
||||
action: '{{ action }}'
|
||||
security_group: '{{ security_group.scaleway_security_group.id }}'
|
||||
register: security_group_rule_deletion_task
|
||||
- name: Delete security_group_rule check
|
||||
scaleway_security_group_rule:
|
||||
state: absent
|
||||
region: '{{ scaleway_region }}'
|
||||
protocol: '{{ protocol }}'
|
||||
port: '{{ port }}'
|
||||
ip_range: '{{ ip_range }}'
|
||||
direction: '{{ direction }}'
|
||||
action: '{{ action }}'
|
||||
security_group: '{{ security_group.scaleway_security_group.id }}'
|
||||
register: security_group_rule_deletion_task
|
||||
|
||||
- debug: var=security_group_rule_deletion_task
|
||||
- debug: var=security_group_rule_deletion_task
|
||||
|
||||
- assert:
|
||||
that:
|
||||
- security_group_rule_deletion_task is success
|
||||
- security_group_rule_deletion_task is changed
|
||||
- assert:
|
||||
that:
|
||||
- security_group_rule_deletion_task is success
|
||||
- security_group_rule_deletion_task is changed
|
||||
|
||||
- name: Delete security_group_rule check
|
||||
scaleway_security_group_rule:
|
||||
|
@ -142,83 +142,83 @@
|
|||
- security_group_rule_deletion_task is not changed
|
||||
|
||||
- block:
|
||||
- name: Create security_group_rule with null check
|
||||
scaleway_security_group_rule:
|
||||
state: present
|
||||
region: '{{ scaleway_region }}'
|
||||
protocol: '{{ protocol }}'
|
||||
port: null
|
||||
ip_range: '{{ ip_range }}'
|
||||
direction: '{{ direction }}'
|
||||
action: '{{ action }}'
|
||||
security_group: '{{ security_group.scaleway_security_group.id }}'
|
||||
register: security_group_rule_creation_task
|
||||
- name: Create security_group_rule with null check
|
||||
scaleway_security_group_rule:
|
||||
state: present
|
||||
region: '{{ scaleway_region }}'
|
||||
protocol: '{{ protocol }}'
|
||||
port: null
|
||||
ip_range: '{{ ip_range }}'
|
||||
direction: '{{ direction }}'
|
||||
action: '{{ action }}'
|
||||
security_group: '{{ security_group.scaleway_security_group.id }}'
|
||||
register: security_group_rule_creation_task
|
||||
|
||||
- debug: var=security_group_rule_creation_task
|
||||
- debug: var=security_group_rule_creation_task
|
||||
|
||||
- assert:
|
||||
that:
|
||||
- security_group_rule_creation_task is success
|
||||
- security_group_rule_creation_task is changed
|
||||
- assert:
|
||||
that:
|
||||
- security_group_rule_creation_task is success
|
||||
- security_group_rule_creation_task is changed
|
||||
|
||||
- name: Create security_group_rule with null duplicate
|
||||
scaleway_security_group_rule:
|
||||
state: present
|
||||
region: '{{ scaleway_region }}'
|
||||
protocol: '{{ protocol }}'
|
||||
port: null
|
||||
ip_range: '{{ ip_range }}'
|
||||
direction: '{{ direction }}'
|
||||
action: '{{ action }}'
|
||||
security_group: '{{ security_group.scaleway_security_group.id }}'
|
||||
register: security_group_rule_creation_task
|
||||
- name: Create security_group_rule with null duplicate
|
||||
scaleway_security_group_rule:
|
||||
state: present
|
||||
region: '{{ scaleway_region }}'
|
||||
protocol: '{{ protocol }}'
|
||||
port: null
|
||||
ip_range: '{{ ip_range }}'
|
||||
direction: '{{ direction }}'
|
||||
action: '{{ action }}'
|
||||
security_group: '{{ security_group.scaleway_security_group.id }}'
|
||||
register: security_group_rule_creation_task
|
||||
|
||||
- debug: var=security_group_rule_creation_task
|
||||
- debug: var=security_group_rule_creation_task
|
||||
|
||||
- assert:
|
||||
that:
|
||||
- security_group_rule_creation_task is success
|
||||
- security_group_rule_creation_task is not changed
|
||||
- assert:
|
||||
that:
|
||||
- security_group_rule_creation_task is success
|
||||
- security_group_rule_creation_task is not changed
|
||||
|
||||
- name: Delete security_group_rule with null check
|
||||
check_mode: true
|
||||
scaleway_security_group_rule:
|
||||
state: absent
|
||||
region: '{{ scaleway_region }}'
|
||||
protocol: '{{ protocol }}'
|
||||
port: null
|
||||
ip_range: '{{ ip_range }}'
|
||||
direction: '{{ direction }}'
|
||||
action: '{{ action }}'
|
||||
security_group: '{{ security_group.scaleway_security_group.id }}'
|
||||
register: security_group_rule_deletion_task
|
||||
- name: Delete security_group_rule with null check
|
||||
check_mode: true
|
||||
scaleway_security_group_rule:
|
||||
state: absent
|
||||
region: '{{ scaleway_region }}'
|
||||
protocol: '{{ protocol }}'
|
||||
port: null
|
||||
ip_range: '{{ ip_range }}'
|
||||
direction: '{{ direction }}'
|
||||
action: '{{ action }}'
|
||||
security_group: '{{ security_group.scaleway_security_group.id }}'
|
||||
register: security_group_rule_deletion_task
|
||||
|
||||
- debug: var=security_group_rule_deletion_task
|
||||
- debug: var=security_group_rule_deletion_task
|
||||
|
||||
- assert:
|
||||
that:
|
||||
- security_group_rule_deletion_task is success
|
||||
- security_group_rule_deletion_task is changed
|
||||
- assert:
|
||||
that:
|
||||
- security_group_rule_deletion_task is success
|
||||
- security_group_rule_deletion_task is changed
|
||||
|
||||
always:
|
||||
- name: Delete security_group_rule with null check
|
||||
scaleway_security_group_rule:
|
||||
state: absent
|
||||
region: '{{ scaleway_region }}'
|
||||
protocol: '{{ protocol }}'
|
||||
port: null
|
||||
ip_range: '{{ ip_range }}'
|
||||
direction: '{{ direction }}'
|
||||
action: '{{ action }}'
|
||||
security_group: '{{ security_group.scaleway_security_group.id }}'
|
||||
register: security_group_rule_deletion_task
|
||||
- name: Delete security_group_rule with null check
|
||||
scaleway_security_group_rule:
|
||||
state: absent
|
||||
region: '{{ scaleway_region }}'
|
||||
protocol: '{{ protocol }}'
|
||||
port: null
|
||||
ip_range: '{{ ip_range }}'
|
||||
direction: '{{ direction }}'
|
||||
action: '{{ action }}'
|
||||
security_group: '{{ security_group.scaleway_security_group.id }}'
|
||||
register: security_group_rule_deletion_task
|
||||
|
||||
- debug: var=security_group_rule_deletion_task
|
||||
- debug: var=security_group_rule_deletion_task
|
||||
|
||||
- assert:
|
||||
that:
|
||||
- security_group_rule_deletion_task is success
|
||||
- security_group_rule_deletion_task is changed
|
||||
- assert:
|
||||
that:
|
||||
- security_group_rule_deletion_task is success
|
||||
- security_group_rule_deletion_task is changed
|
||||
|
||||
- name: Delete security_group_rule with null check
|
||||
scaleway_security_group_rule:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue