-
Notifications
You must be signed in to change notification settings - Fork 3
/
README
58 lines (37 loc) · 1.2 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
A collection of ansible roles to use primarily with vagrant.
Installation
------------
Clone the roles in this repository:
git clone <git repo> ~/.ansible/roles
Note, that this command copies the roles to the ~/.ansible/roles directory.
This is the recommended location for shared ansible roles, but you can choose
any other location you like.
Make sure the ansible.cfg file in your project (in the root directory next to
the Vagrantfile) contains the roles_path setting:
[defaults]
roles_path = /etc/ansible/roles/:~/.ansible/roles/
Alternatively you can create your own configuration file in your home
directory: ~/.ansible.cfg and add that line, including your custom roles
location.
Usage
-----
Please inspect the defaults and tasks files of the roles for insights.
Primary usecase of this role collection is provisioning of Django projects
with vagrant. Typically you would start out with a site.yml like this:
---
- name: provision service
hosts: default
become: yes
become_user: 'root'
vars:
- service_name: 'foo'
roles:
- common
- python
- django
License
-------
See LICENSE
Contributing
------------
See CONTRIBUTING