blob: 55c2b29423d070b2247cb54125c55066408e0a80 [file] [log] [blame]
# Configures an RPi with everything it needs to run under switchboard.
- hosts: switchboard_rpis
user: chrome-bot
gather_facts: true
# Using the `roles:` key here causes an error about
# test_machine_monitor_version being undefined in get_ansible_binaries during
# install_test_machine_monitor.
tasks:
- name: Copy authorized keys.
import_role:
name: copy_authorized_keys
- name: Copy service account key.
import_role:
name: copy_service_account_key
- name: Install collectd.
import_role:
name: install_collectd
- name: Install Swarming needs.
import_role:
name: swarming_needs
- name: Install Switchboard needs.
import_role:
name: switchboard_needs
- name: Install test_machine_monitor.
import_role:
name: install_test_machine_monitor