aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorheqnx <root@heqnx.com>2025-06-26 14:42:39 +0300
committerheqnx <root@heqnx.com>2025-06-26 14:42:39 +0300
commita287b7281aae07441290d572ddcfa13f5f0520fc (patch)
tree0606d2c41f364b64940509f5e90260daa8c2c2b9
parent6779037e39d01e2260133365397de135b1b66acd (diff)
downloadansible-pve-host-a287b7281aae07441290d572ddcfa13f5f0520fc.tar.gz
ansible-pve-host-a287b7281aae07441290d572ddcfa13f5f0520fc.zip
copying the script to /root
-rw-r--r--tasks/pve_configure.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/tasks/pve_configure.yaml b/tasks/pve_configure.yaml
index 8d21a04..bbc9abc 100644
--- a/tasks/pve_configure.yaml
+++ b/tasks/pve_configure.yaml
@@ -93,6 +93,12 @@
- name: make /etc/resolv.conf immutable with chattr
command: chattr +i /etc/resolv.conf
+- name: copy pve-create-template.sh wrapper script
+ copy:
+ src: files/pve-create-template.sh
+ dest: /root/pve-create-template.sh
+ mode: '0744'
+
- name: generate secure 32-character password
set_fact:
pve_admin_user: "pveadmin@pve"