2024-ansible-case/start.yml

16 lines
254 B
YAML
Raw Normal View History

2024-08-28 22:56:40 +07:00
- name: StartOperation
hosts: test
become: yes
roles:
- start
tasks:
- name: Display CPU Information
command: lscpu
register: cpu_info
- name: Display CPU Information
debug:
var: cpu_info.stdout_lines