Update to 2022-03-07 17:00

This commit is contained in:
Daniel Berteaud
2022-03-07 17:00:06 +01:00
parent 1065df387c
commit 714e44f5c5
42 changed files with 92 additions and 136 deletions

View File

@@ -36,16 +36,6 @@
when: pve_modules.changed
tags: pve
- name: Enable ocfs2 support
set_fact: pve_ocfs2=True
when: fstab | default([]) | selectattr('fstype','equalto','ocfs2') | list | length > 0
tags: pve
- name: Install ocfs2 support
apt: name=ocfs2-tools state=present
when: pve_ocfs2 == True
tags: pve
- name: Check proxmox cluster status
command: pvesh get /cluster/status --output-format=json
register: pve_cluster_status_1
@@ -70,22 +60,6 @@
when: pve_cluster_status_1.rc != 0
tags: pve
- name: Deploy ocfs2 config
template: src=ocfs2.conf.j2 dest=/etc/ocfs2/cluster.conf
when: pve_ocfs2 == True
notify: restart o2cb
tags: pve
- name: Deploy o2cb conf
template: src=o2cb.j2 dest=/etc/default/o2cb
when: pve_ocfs2 == True
tags: pve
- name: Handle o2cb service
service: name=o2cb state=started enabled=True
when: pve_ocfs2 == True
tags: pve
- name: Deploy the unlock_dev script
copy: src=unlock_dev dest=/usr/local/bin/unlock_dev mode=755
tags: pve