mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-07-27 00:05:44 +02:00
Update to 2022-03-07 17:00
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user