summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: