summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2023-12-16 11:38:32 +0200
committerLars Wirzenius <liw@liw.fi>2023-12-23 09:31:27 +0200
commite691517467aa139e5fd2ee91f7d0477c360e9768 (patch)
treee7abf5c7793b32e84bdf53fba1c8a648b83ab572
parentc28033e3ef511a56d57b3424cf38e8987902bec8 (diff)
downloadambient-build-vm-e691517467aa139e5fd2ee91f7d0477c360e9768.tar.gz
feat! install ambient-boot in the VM
Signed-off-by: Lars Wirzenius <liw@liw.fi> Sponsored-by: author
-rw-r--r--playbook.yml18
1 files changed, 9 insertions, 9 deletions
diff --git a/playbook.yml b/playbook.yml
index c9e9c25..69f42b8 100644
--- a/playbook.yml
+++ b/playbook.yml
@@ -40,21 +40,21 @@
shell: |
sed -i '/^root:[^:]*:/s//root::/' /etc/passwd
- - name: "create script to simulate build"
+ - name: "install script to boot strap build"
copy:
- src: ./ambient-run-script
- dest: /bin/ambient-run-script
+ src: ./ambient-boot
+ dest: /bin/ambient-boot
mode: 0755
- - name: "install systemd service unit to run build"
+ - name: "install systemd service unit to boot strap build"
copy:
- src: ambient-build.service
- dest: /etc/systemd/system/ambient-build.service
+ src: ambient.service
+ dest: /etc/systemd/system/ambient.service
- - name: "make sure ambient-build.service is run at boot"
+ - name: "make sure ambient.service is run at boot"
shell: |
- ln -nsf /etc/systemd/system/ambient-build.service \
- /etc/systemd/system/multi-user.target.wants/ambient-build.service
+ ln -nsf /etc/systemd/system/ambient.service \
+ /etc/systemd/system/multi-user.target.wants/ambient.service
vars:
ansible_python_interpreter: /usr/bin/python3