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
|
### Changed
|
||||||
|
|
||||||
test: replace kitchen to molecule
|
test: replace kitchen to molecule
|
||||||
|
chore: use FQCN module name
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,7 @@
|
||||||
---
|
---
|
||||||
- name: install packages
|
- name: install packages
|
||||||
package:
|
ansible.builtin.package:
|
||||||
name: '{{ packages }}'
|
name:
|
||||||
vars:
|
|
||||||
packages:
|
|
||||||
- cryptsetup
|
- cryptsetup
|
||||||
- util-linux
|
- util-linux
|
||||||
register: result
|
register: result
|
||||||
|
@ -32,7 +30,7 @@
|
||||||
tags: luks
|
tags: luks
|
||||||
|
|
||||||
- name: format partition
|
- name: format partition
|
||||||
filesystem:
|
ansible.builtin.filesystem:
|
||||||
fstype: '{{ item.fstype }}'
|
fstype: '{{ item.fstype }}'
|
||||||
dev: '/dev/mapper/{{ item.name }}'
|
dev: '/dev/mapper/{{ item.name }}'
|
||||||
loop: '{{ luks_devices }}'
|
loop: '{{ luks_devices }}'
|
||||||
|
@ -40,7 +38,7 @@
|
||||||
tags: luks
|
tags: luks
|
||||||
|
|
||||||
- name: mount partition
|
- name: mount partition
|
||||||
mount:
|
ansible.builtin.mount:
|
||||||
src: '/dev/mapper/{{ item.name }}'
|
src: '/dev/mapper/{{ item.name }}'
|
||||||
path: '{{ item.mount_point }}'
|
path: '{{ item.mount_point }}'
|
||||||
fstype: '{{ item.fstype }}'
|
fstype: '{{ item.fstype }}'
|
||||||
|
|
Loading…
Reference in a new issue