mirror of
https://github.com/davestephens/ansible-nas
synced 2024-12-25 19:13:08 +00:00
Rejig config/yml structure
This commit is contained in:
parent
3da6be5000
commit
0752c582ca
4 changed files with 8 additions and 5 deletions
|
@ -21,7 +21,7 @@ You can run Ansible-NAS from the computer you plan to use for your NAS, or from
|
||||||
|
|
||||||
`cp -rfp inventories/sample inventories/my-ansible-nas`
|
`cp -rfp inventories/sample inventories/my-ansible-nas`
|
||||||
|
|
||||||
5. Review `group_vars/all.yml`. Change settings by overriding them in `inventories/my-ansible-nas/group_vars/all.yml`.
|
5. Review `group_vars/all.yml`. Change settings by overriding them in `inventories/my-ansible-nas/group_vars/nas.yml`.
|
||||||
|
|
||||||
6. Update `inventories/my-ansible-nas/inventory`.
|
6. Update `inventories/my-ansible-nas/inventory`.
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
###
|
###
|
||||||
### DO NOT EDIT THIS FILE!
|
### DO NOT EDIT THIS FILE!
|
||||||
### Add your customisations to inventories/<your_inventory>/group_vars/all.yml
|
### Add your customisations to inventories/<your_inventory>/group_vars/nas.yml
|
||||||
###
|
###
|
||||||
|
|
||||||
###
|
###
|
||||||
|
|
|
@ -6,10 +6,13 @@
|
||||||
## \/ \/ \/ \/ \/ \/ \/ \/
|
## \/ \/ \/ \/ \/ \/ \/ \/
|
||||||
## a n s i b l e - n a s https://github.com/davestephens/ansible-nas
|
## a n s i b l e - n a s https://github.com/davestephens/ansible-nas
|
||||||
|
|
||||||
|
|
||||||
[all]
|
[all]
|
||||||
|
## Example when running from a remote workstation
|
||||||
|
# ansible-nas ansible_host=192.168.1.30
|
||||||
|
|
||||||
## Example when running directly on your Ansible-NAS server
|
## Example when running directly on your Ansible-NAS server
|
||||||
# localhost ansible_connection=local
|
# ansible-nas ansible_connection=local ansible_host=localhost
|
||||||
|
|
||||||
## Example when running from a remote workstation
|
[nas]
|
||||||
# 192.168.1.30
|
ansible-nas
|
Loading…
Reference in a new issue