summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorMichael DeHaan <michael@ansibleworks.com>2013-05-05 19:47:22 +0200
committerMichael DeHaan <michael@ansibleworks.com>2013-05-05 19:47:22 +0200
commit5342c35f7c41670c1a31f19b2171bc9cd6b28810 (patch)
tree3a2409179b2673980ee6a5a11aa4ea8b5532ad4d /examples
parentupdate user example (diff)
downloadansible-5342c35f7c41670c1a31f19b2171bc9cd6b28810.tar.xz
ansible-5342c35f7c41670c1a31f19b2171bc9cd6b28810.zip
Update zfs example
Diffstat (limited to 'examples')
-rw-r--r--examples/playbooks/zfs.yml14
1 files changed, 8 insertions, 6 deletions
diff --git a/examples/playbooks/zfs.yml b/examples/playbooks/zfs.yml
index e5276a0aee..0e0282ee9b 100644
--- a/examples/playbooks/zfs.yml
+++ b/examples/playbooks/zfs.yml
@@ -13,19 +13,21 @@
tasks:
- name: Create a zfs file system
- action: zfs name=$pool/var/log/httpd state=present
+ action: zfs name={{pool}}/var/log/httpd state=present
- name: Create a zfs file system with quota of 10GiB and visible snapdir
- action: zfs name=$pool/ansible quota='10G' snapdir=visible state=present
+ action: zfs name={{pool}}/ansible quota='10G' snapdir=visible state=present
- name: Crate zfs snapshot of the above file system
- action: zfs name=$pool/ansible@mysnapshot state=present
+ action: zfs name={{pool}}/ansible@mysnapshot state=present
- name: Create zfs volume named smallvol with a size of 10MiB
- action: zfs name=$pool/smallvol volsize=10M state=present
+ action: zfs name={{pool}}/smallvol volsize=10M state=present
- name: Removes snapshot of rpool/oldfs
- action: zfs name=$pool/oldfs@oldsnapshot state=absent
+ action: zfs name={{pool}}/oldfs@oldsnapshot state=absent
- name: Removes file system rpool/oldfs
- action: zfs name=$pool/oldfs state=absent
+ action: zfs name={{pool}}/oldfs state=absent
+
+