diff options
Diffstat (limited to 'tasks/pve_configure.yaml')
-rw-r--r-- | tasks/pve_configure.yaml | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/tasks/pve_configure.yaml b/tasks/pve_configure.yaml index 757c7b4..bae645e 100644 --- a/tasks/pve_configure.yaml +++ b/tasks/pve_configure.yaml @@ -19,6 +19,19 @@ group: root mode: '0644' +- name: deploy /etc/network/interfaces.new + template: + src: interfaces.j2 + dest: /etc/network/interfaces.new + owner: root + group: root + mode: '0644' + +- name: run ifreload to commit changes + shell: ifreload -a + register: ifreload_shell + failed_when: ifreload_shell.rc != 0 + - name: set pveproxy config copy: src: files/pveproxy @@ -90,7 +103,7 @@ - name: save password to file copy: - content: "{{ pve_admin_password }}" + content: "pveadmin:{{ pve_admin_password }}\n" dest: "{{ pve_admin_password_file }}" owner: root group: root |