mirror of
https://github.com/geerlingguy/ansible-role-nfs
synced 2025-01-07 07:50:19 +01:00
Initial commit.
This commit is contained in:
commit
ff49294bc6
3 changed files with 53 additions and 0 deletions
29
README.md
Normal file
29
README.md
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
# Ansible Role: NFS
|
||||||
|
|
||||||
|
Installs NFS utilities on RHEL/CentOS 6.x.
|
||||||
|
|
||||||
|
## Requirements
|
||||||
|
|
||||||
|
None.
|
||||||
|
|
||||||
|
## Role Variables
|
||||||
|
|
||||||
|
None.
|
||||||
|
|
||||||
|
## Dependencies
|
||||||
|
|
||||||
|
None.
|
||||||
|
|
||||||
|
## Example Playbook
|
||||||
|
|
||||||
|
- hosts: db-servers
|
||||||
|
roles:
|
||||||
|
- { role: geerlingguy.nfs }
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
|
MIT / BSD
|
||||||
|
|
||||||
|
## Author Information
|
||||||
|
|
||||||
|
This role was created in 2014 by Jeff Geerling (@geerlingguy), author of Ansible for DevOps. You can find out more about the book at http://ansiblefordevops.com/, and learn about the author at http://jeffgeerling.com/.
|
15
meta/main.yml
Normal file
15
meta/main.yml
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
---
|
||||||
|
dependencies: []
|
||||||
|
|
||||||
|
galaxy_info:
|
||||||
|
author: geerlingguy
|
||||||
|
description: NFS installation for RHEL/CentOS 6.x.
|
||||||
|
company: "Midwestern Mac, LLC"
|
||||||
|
license: "license (BSD, MIT)"
|
||||||
|
min_ansible_version: 1.4
|
||||||
|
platforms:
|
||||||
|
- name: EL
|
||||||
|
versions:
|
||||||
|
- 6
|
||||||
|
categories:
|
||||||
|
- system
|
9
tasks/main.yml
Normal file
9
tasks/main.yml
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
---
|
||||||
|
- name: Ensure NFS utilities are installed.
|
||||||
|
yum: name=nfs-utils state=installed
|
||||||
|
|
||||||
|
- name: Ensure rpcbind and nfs are running.
|
||||||
|
service: name={{ item }} state=started enabled=yes
|
||||||
|
with_items:
|
||||||
|
- rpcbind
|
||||||
|
- nfs
|
Loading…
Reference in a new issue