You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
386 B
16 lines
386 B
11 months ago
|
---
|
||
|
- name: Gets models for raspberry pies (raspberries)
|
||
|
hosts: raspberries
|
||
|
tasks:
|
||
|
- name: Include the rpi_scripts role
|
||
|
include_role:
|
||
|
name: rpi_scripts
|
||
|
- name: Execute model script
|
||
|
ansible.builtin.command:
|
||
|
chdir: /home/pi/bin
|
||
|
cmd: ./model
|
||
|
register: stdout
|
||
|
- name: Display raspberry models
|
||
|
debug:
|
||
|
var=stdout.stdout
|