diff --git a/.workstation/test.yaml b/.workstation/test.yaml new file mode 100644 index 0000000..8eb2478 --- /dev/null +++ b/.workstation/test.yaml @@ -0,0 +1,15 @@ +# first-playbook.yml +--- +- name: Basic tasks + # This host is defined in the `first-inventory.ini` + hosts: my-localhost + tasks: + - name: Execute uptime command + command: uptime + register: uptime_result + - debug: var=uptime_result.stdout_lines + + - name: Check OS release + command: cat /etc/os-release + register: os_result + - debug: var=os_result.stdout_lines