2024-ansible-case/start.yml

22 lines
368 B
YAML
Raw Normal View History

2024-08-28 22:56:40 +07:00
- name: StartOperation
hosts: test
become: yes
remote_user: ubuntu
vars:
2024-09-01 13:57:20 +07:00
sdisk_disk: "xvdb"
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