OLD | NEW |
1 --- | 1 --- |
2 - hosts: 127.0.0.1 | 2 - hosts: 127.0.0.1 |
3 connection: local | 3 connection: local |
4 remote_user: chrome-bot | 4 remote_user: chrome-bot |
5 become_user: root | 5 become_user: root |
6 become: yes | 6 become: yes |
7 become_method: sudo | 7 become_method: sudo |
8 vars: | 8 vars: |
9 image: /opt/rpi_img/2016-03-18-raspbian-jessie-lite.img | 9 image: /opt/rpi_img/2016-03-18-raspbian-jessie-lite.img |
10 # 8192 * 512 | 10 # 8192 * 512 |
(...skipping 10 matching lines...) Expand all Loading... |
21 # Additionally, I don't necessarily want to update fstab | 21 # Additionally, I don't necessarily want to update fstab |
22 - command: mount --rbind /dev /opt/raspberrypi/root/dev | 22 - command: mount --rbind /dev /opt/raspberrypi/root/dev |
23 - command: mount -t proc none /opt/raspberrypi/root/proc | 23 - command: mount -t proc none /opt/raspberrypi/root/proc |
24 - command: mount -o bind /sys /opt/raspberrypi/root/sys | 24 - command: mount -o bind /sys /opt/raspberrypi/root/sys |
25 | 25 |
26 # Comment out this line in this file so as to avoid | 26 # Comment out this line in this file so as to avoid |
27 # qemu: uncaught target signal 4 (Illegal instruction) - core dumped | 27 # qemu: uncaught target signal 4 (Illegal instruction) - core dumped |
28 # Illegal instruction (core dumped) | 28 # Illegal instruction (core dumped) |
29 - lineinfile: dest=/opt/raspberrypi/root/etc/ld.so.preload line="/usr/lib/ar
m-linux-gnueabihf/libarmmem.so" state=absent | 29 - lineinfile: dest=/opt/raspberrypi/root/etc/ld.so.preload line="/usr/lib/ar
m-linux-gnueabihf/libarmmem.so" state=absent |
30 - lineinfile: dest=/opt/raspberrypi/root/etc/ld.so.preload line="#/usr/lib/a
rm-linux-gnueabihf/libarmmem.so" state=present | 30 - lineinfile: dest=/opt/raspberrypi/root/etc/ld.so.preload line="#/usr/lib/a
rm-linux-gnueabihf/libarmmem.so" state=present |
| 31 |
| 32 - name: Create the startup script |
| 33 copy: src=start_swarming dest=/opt/raspberrypi/root/opt/start_swarming own
er=root group=root mode=0755 |
| 34 |
| 35 - name: Create the swarming service |
| 36 copy: src=swarming dest=/opt/raspberrypi/root/etc/init.d/swarming owner=ro
ot group=root mode=0755 |
| 37 |
31 handlers: | 38 handlers: |
32 | 39 |
OLD | NEW |