summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2023-10-24 10:37:52 +0300
committerLars Wirzenius <liw@liw.fi>2023-10-24 10:37:52 +0300
commit108ada427f3baa79580a262bcb2ad5a0a449d40c (patch)
tree96d465943dde59a3e11b9cf43831c44cf81a9a38
parent8b7a89c88b83ff6064bf8c410fb905f8f1892827 (diff)
downloadansibleness-108ada427f3baa79580a262bcb2ad5a0a449d40c.tar.gz
holywood2: fixes
Signed-off-by: Lars Wirzenius <liw@liw.fi> Sponsored-by: author
-rw-r--r--ansible/holywood2.yml5
-rw-r--r--ansible/roles/holywood2/tasks/main.yml10
2 files changed, 9 insertions, 6 deletions
diff --git a/ansible/holywood2.yml b/ansible/holywood2.yml
index 327652b..cff235f 100644
--- a/ansible/holywood2.yml
+++ b/ansible/holywood2.yml
@@ -1,3 +1,6 @@
+# As long as this is based on bullseye, reboot VM after running the
+# playbook.
+
- hosts: holywood2
remote_user: root
roles:
@@ -21,7 +24,7 @@
ansible_python_interpreter: /usr/bin/python3
sane_debian_system_version: 2
- sane_debian_system_hostname: holywood2
+ sane_debian_system_hostname: "{{ inventory_hostname }}"
sane_debian_system_codename: bullseye
sane_debian_system_mirror: deb.debian.org
sane_debian_system_sources_lists:
diff --git a/ansible/roles/holywood2/tasks/main.yml b/ansible/roles/holywood2/tasks/main.yml
index 1da48db..8f702a6 100644
--- a/ansible/roles/holywood2/tasks/main.yml
+++ b/ansible/roles/holywood2/tasks/main.yml
@@ -8,11 +8,11 @@
src: ssh-config
dest: /home/root/.ssh/config
-- name: symlink /root/.ssh to /home/root/.ssh
- file:
- state: link
- src: /home/root/.ssh
- path: /root/.ssh
+# - name: symlink /root/.ssh to /home/root/.ssh
+# file:
+# state: link
+# src: /home/root/.ssh
+# path: /root/.ssh
- name: create soile group
group: