summaryrefslogtreecommitdiffstats
path: root/roles/openshift_storage_nfs_lvm
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2018-01-10 08:10:41 -0500
committerGitHub <noreply@github.com>2018-01-10 08:10:41 -0500
commit19ae452d558d7f04f49d024bf82fcb7221c8fa0d (patch)
tree6a06bfb124ce15bc26cf97da60a8631e2d0b5069 /roles/openshift_storage_nfs_lvm
parentaa155550a651708fcb200746ad78fb0bbf562e94 (diff)
parent4b06eaf83e137ddeba2ce498e141ad87413761c0 (diff)
downloadopenshift-19ae452d558d7f04f49d024bf82fcb7221c8fa0d.tar.gz
openshift-19ae452d558d7f04f49d024bf82fcb7221c8fa0d.tar.bz2
openshift-19ae452d558d7f04f49d024bf82fcb7221c8fa0d.tar.xz
openshift-19ae452d558d7f04f49d024bf82fcb7221c8fa0d.zip
Merge pull request #6674 from mgugino-upstream-stage/remove-becomes2
Remove become statements
Diffstat (limited to 'roles/openshift_storage_nfs_lvm')
-rw-r--r--roles/openshift_storage_nfs_lvm/README.md8
1 files changed, 3 insertions, 5 deletions
diff --git a/roles/openshift_storage_nfs_lvm/README.md b/roles/openshift_storage_nfs_lvm/README.md
index cc674d3fd..a11219f6d 100644
--- a/roles/openshift_storage_nfs_lvm/README.md
+++ b/roles/openshift_storage_nfs_lvm/README.md
@@ -1,7 +1,7 @@
# openshift_storage_nfs_lvm
This role is useful to create and export nfs disks for openshift persistent volumes.
-It does so by creating lvm partitions on an already setup pv/vg, creating xfs
+It does so by creating lvm partitions on an already setup pv/vg, creating xfs
filesystem on each partition, mounting the partitions, exporting the mounts via NFS
and creating a json file for each mount that an openshift master can use to
create persistent volumes.
@@ -20,7 +20,7 @@ create persistent volumes.
osnl_nfs_export_options: "*(rw,sync,all_squash)"
# Directory, where the created partitions should be mounted. They will be
-# mounted as <osnl_mount_dir>/<lvm volume name>
+# mounted as <osnl_mount_dir>/<lvm volume name>
osnl_mount_dir: /exports/openshift
# Volume Group to use.
@@ -64,11 +64,10 @@ None
## Example Playbook
With this playbook, 2 5Gig lvm partitions are created, named stg5g0003 and stg5g0004
-Both of them are mounted into `/exports/openshift` directory. Both directories are
+Both of them are mounted into `/exports/openshift` directory. Both directories are
exported via NFS. json files are created in /root.
- hosts: nfsservers
- become: no
remote_user: root
gather_facts: no
roles:
@@ -94,7 +93,6 @@ exported via NFS. json files are created in /root.
* Create an ansible playbook, say `setupnfs.yaml`:
```
- hosts: nfsservers
- become: no
remote_user: root
gather_facts: no
roles: