chore: use FQCN module name
This commit is contained in:
parent
a209d3f74c
commit
a5bcd2aa65
2 changed files with 5 additions and 6 deletions
|
@ -12,6 +12,7 @@ Which is based on [Keep A Changelog](http://keepachangelog.com/)
|
|||
### Changed
|
||||
|
||||
test: replace kitchen to molecule
|
||||
chore: use FQCN module name
|
||||
|
||||
### Fixed
|
||||
|
||||
|
|
|
@ -1,9 +1,7 @@
|
|||
---
|
||||
- name: install packages
|
||||
package:
|
||||
name: '{{ packages }}'
|
||||
vars:
|
||||
packages:
|
||||
ansible.builtin.package:
|
||||
name:
|
||||
- cryptsetup
|
||||
- util-linux
|
||||
register: result
|
||||
|
@ -32,7 +30,7 @@
|
|||
tags: luks
|
||||
|
||||
- name: format partition
|
||||
filesystem:
|
||||
ansible.builtin.filesystem:
|
||||
fstype: '{{ item.fstype }}'
|
||||
dev: '/dev/mapper/{{ item.name }}'
|
||||
loop: '{{ luks_devices }}'
|
||||
|
@ -40,7 +38,7 @@
|
|||
tags: luks
|
||||
|
||||
- name: mount partition
|
||||
mount:
|
||||
ansible.builtin.mount:
|
||||
src: '/dev/mapper/{{ item.name }}'
|
||||
path: '{{ item.mount_point }}'
|
||||
fstype: '{{ item.fstype }}'
|
||||
|
|
Loading…
Reference in a new issue