2024-08-28 22:56:40 +07:00
|
|
|
- name: StartOperation
|
|
|
|
hosts: test
|
|
|
|
become: yes
|
2024-08-29 18:00:08 +07:00
|
|
|
|
|
|
|
vars:
|
2024-09-01 13:57:20 +07:00
|
|
|
sdisk_disk: "xvdb"
|
2024-08-29 18:00:08 +07:00
|
|
|
sdisk_name: "sdisk_crypt"
|
|
|
|
adjacent_partition: "sda"
|
|
|
|
|
2024-08-28 22:56:40 +07:00
|
|
|
roles:
|
|
|
|
- start
|
|
|
|
|
|
|
|
tasks:
|
|
|
|
- name: Display CPU Information
|
|
|
|
command: lscpu
|
|
|
|
register: cpu_info
|
|
|
|
|
|
|
|
- name: Display CPU Information
|
|
|
|
debug:
|
|
|
|
var: cpu_info.stdout_lines
|