mirror of
https://github.com/ansible-collections/community.crypto.git
synced 2026-05-07 13:53:06 +00:00
Fix linting errors.
This commit is contained in:
@@ -23,27 +23,27 @@
|
||||
# supports working with container files directly.
|
||||
when: false
|
||||
block:
|
||||
- name: Create lookback device
|
||||
command: losetup -f {{ cryptfile_path }}
|
||||
- name: Create lookback device
|
||||
command: losetup -f {{ cryptfile_path }}
|
||||
|
||||
- name: Determine loop device name
|
||||
command: losetup -j {{ cryptfile_path }} --output name
|
||||
register: cryptfile_device_output
|
||||
- name: Determine loop device name
|
||||
command: losetup -j {{ cryptfile_path }} --output name
|
||||
register: cryptfile_device_output
|
||||
|
||||
- set_fact:
|
||||
cryptfile_device: "{{ cryptfile_device_output.stdout_lines[1] }}"
|
||||
- set_fact:
|
||||
cryptfile_device: "{{ cryptfile_device_output.stdout_lines[1] }}"
|
||||
|
||||
- name: Create LUKS container
|
||||
community.crypto.luks_device:
|
||||
device: "{{ cryptfile_device }}"
|
||||
# device: "{{ cryptfile_path }}"
|
||||
state: present
|
||||
keyfile: "{{ keyfile_path }}"
|
||||
pbkdf:
|
||||
iteration_time: 0.1
|
||||
- name: Create LUKS container
|
||||
community.crypto.luks_device:
|
||||
device: "{{ cryptfile_device }}"
|
||||
# device: "{{ cryptfile_path }}"
|
||||
state: present
|
||||
keyfile: "{{ keyfile_path }}"
|
||||
pbkdf:
|
||||
iteration_time: 0.1
|
||||
|
||||
- name: Destroy LUKS container
|
||||
community.crypto.luks_device:
|
||||
device: "{{ cryptfile_device }}"
|
||||
# device: "{{ cryptfile_path }}"
|
||||
state: absent
|
||||
- name: Destroy LUKS container
|
||||
community.crypto.luks_device:
|
||||
device: "{{ cryptfile_device }}"
|
||||
# device: "{{ cryptfile_path }}"
|
||||
state: absent
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
smoke_ipaddress:
|
||||
register: result
|
||||
|
||||
- name: Validate result
|
||||
- name: Validate result
|
||||
assert:
|
||||
that:
|
||||
- result.msg == 'Everything is ok'
|
||||
@@ -16,7 +16,7 @@
|
||||
smoke_pyyaml:
|
||||
register: result
|
||||
|
||||
- name: Validate result
|
||||
- name: Validate result
|
||||
assert:
|
||||
that:
|
||||
- result.msg == 'Everything is ok'
|
||||
|
||||
Reference in New Issue
Block a user