Compare commits
No commits in common. "ba9b0058291e10af9731f79db78e9e2ff4a1722c" and "e0b431452c0004e989db6ab2c2018f9b023719f8" have entirely different histories.
ba9b005829
...
e0b431452c
@ -9,7 +9,6 @@ packages:
|
|||||||
- python3
|
- python3
|
||||||
- xen-hypervisor
|
- xen-hypervisor
|
||||||
- xen-hypervisor-common
|
- xen-hypervisor-common
|
||||||
- xen-system-amd64
|
|
||||||
- xen-utils
|
- xen-utils
|
||||||
- xen-tools
|
- xen-tools
|
||||||
- qemu-system-x86
|
- qemu-system-x86
|
||||||
|
@ -4,9 +4,3 @@
|
|||||||
dest: "/etc/ganeti/instance-debootstrap/variants/{{ item.name }}.conf"
|
dest: "/etc/ganeti/instance-debootstrap/variants/{{ item.name }}.conf"
|
||||||
mode: "0644"
|
mode: "0644"
|
||||||
loop: "{{ instance_debootstrap }}"
|
loop: "{{ instance_debootstrap }}"
|
||||||
|
|
||||||
- name: List variants
|
|
||||||
ansible.builtin.template:
|
|
||||||
src: etc-ganeti-instance-debootstrap-variants.list.j2
|
|
||||||
dest: "/etc/ganeti/instance-debootstrap/variants.list"
|
|
||||||
mode: "0644"
|
|
||||||
|
@ -34,6 +34,6 @@
|
|||||||
ansible.builtin.include_tasks:
|
ansible.builtin.include_tasks:
|
||||||
file: debootstrap.yml
|
file: debootstrap.yml
|
||||||
|
|
||||||
- name: Configure Ganeti
|
- name: Configure RAPI
|
||||||
ansible.builtin.include_tasks:
|
ansible.builtin.include_tasks:
|
||||||
file: ganeti.yml
|
file: rapi.yml
|
||||||
|
@ -15,8 +15,3 @@
|
|||||||
regex: "RAPI_ARGS=.*"
|
regex: "RAPI_ARGS=.*"
|
||||||
line: RAPI_ARGS="-b 0.0.0.0 --require-authentication"
|
line: RAPI_ARGS="-b 0.0.0.0 --require-authentication"
|
||||||
path: /etc/default/ganeti
|
path: /etc/default/ganeti
|
||||||
|
|
||||||
- name: Clear VNC password
|
|
||||||
ansible.builtin.file:
|
|
||||||
path: /etc/ganeti/vnc-cluster-password
|
|
||||||
mode: "0644"
|
|
@ -85,16 +85,3 @@
|
|||||||
notify:
|
notify:
|
||||||
- update initramfs
|
- update initramfs
|
||||||
- reboot
|
- reboot
|
||||||
|
|
||||||
- name: "Get latest Xen version"
|
|
||||||
ansible.builtin.command:
|
|
||||||
cmd: bash -c 'find /usr/lib -type d -name "xen-*" | sort -r | head -1'
|
|
||||||
register: latest_xen
|
|
||||||
changed_when: false
|
|
||||||
failed_when: latest_xen.rc != 0
|
|
||||||
|
|
||||||
- name: "Link Xen to latest version"
|
|
||||||
ansible.builtin.file:
|
|
||||||
state: link
|
|
||||||
src: "{{ latest_xen.stdout }}"
|
|
||||||
dest: /usr/lib/xen
|
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
{% for variant in instance_debootstrap %}
|
|
||||||
{{ variant.name }}
|
|
||||||
{% endfor %}
|
|
Loading…
Reference in New Issue
Block a user