Skip to content

Commit e86fa9c

Browse files
committed
Added CIFS-Example to Documentation
Update README.md Added Information to Cororsync Priority
1 parent fdef651 commit e86fa9c

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,6 +423,8 @@ pve_storages: [] # List of storages to manage in PVE. See section on Storage Man
423423
pve_datacenter_cfg: {} # Dictionary to configure the PVE datacenter.cfg config file.
424424
pve_domains_cfg: [] # List of realms to use as authentication sources in the PVE domains.cfg config file.
425425
pve_no_log: false # Set this to true in production to disable logging for strorage add to avoid having credentials leaked in log.
426+
pve_addr0_priority: 255 # Type: integer Sets the Priority of the first Link for Corosync. Lower Number means higher Priority.
427+
pve_addr1_priority: 0 # Type: integer See [pvecm-network-priority] for more Information.
426428
```
427429

428430
To enable clustering with this role, configure the following variables appropriately:
@@ -595,7 +597,7 @@ Refer to `library/proxmox_role.py` [link][user-module] and
595597

596598
You can use this role to manage storage within Proxmox VE (both in
597599
single server deployments and cluster deployments). For now, the only supported
598-
types are `dir`, `rbd`, `nfs`, `cephfs`, `lvm`,`lvmthin`, `zfspool`, `btrfs`,
600+
types are `dir`, `rbd`, `nfs`, `cephfs`, `lvm`,`lvmthin`, `zfspool`, `btrfs`, `cifs`
599601
and `pbs`. Here are some examples.
600602

601603
```
@@ -646,6 +648,7 @@ pve_storages:
646648
username: user@pbs
647649
password: PBSPassword1
648650
datastore: main
651+
namespace: Top/something # Optional
649652
- name: zfs1
650653
type: zfspool
651654
content: [ "images", "rootdir" ]
@@ -657,6 +660,15 @@ pve_storages:
657660
nodes: [ "lab-node01.local", "lab-node02.local" ]
658661
path: /mnt/proxmox_storage
659662
is_mountpoint: true
663+
- name: cifs1
664+
server: cifs-host.domain.tld
665+
type: cifs
666+
content: [ "snippets", "vztmpl", "iso" ]
667+
share: sharename
668+
subdir: /subdir
669+
username: user
670+
password: supersecurepass
671+
domain: addomain.tld
660672
```
661673

662674
Refer to https://pve.proxmox.com/pve-docs/api-viewer/index.html for more information.
@@ -869,6 +881,7 @@ Adam Delo ([@ol3d](https://github.com/ol3d)) - PCIe Passthrough Support
869881
[pve-cluster]: https://pve.proxmox.com/wiki/Cluster_Manager
870882
[install-ansible]: http://docs.ansible.com/ansible/intro_installation.html
871883
[pvecm-network]: https://pve.proxmox.com/pve-docs/chapter-pvecm.html#_separate_cluster_network
884+
[pvecm-network-priority]: https://pve.proxmox.com/pve-docs/chapter-pvecm.html#_Corosync_Redundancy
872885
[pvesm]: https://pve.proxmox.com/pve-docs/chapter-pvesm.html
873886
[user-module]: https://github.com/lae/ansible-role-proxmox/blob/master/library/proxmox_user.py
874887
[group-module]: https://github.com/lae/ansible-role-proxmox/blob/master/library/proxmox_group.py

0 commit comments

Comments
 (0)