-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved Vagrantfile and added ansible provision
This commit adds Vagrantfile and ansible to add provision to Vagrant image Signed-off-by: Farhaan Bukhsh(fhackdroid) <[email protected]>
- Loading branch information
1 parent
409664b
commit 315abee
Showing
5 changed files
with
54 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- name: restart redis | ||
service: name=redis state=restarted |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
--- | ||
- name: Install helpfull packages | ||
dnf: name={{ item }} state=present | ||
with_items: | ||
- git | ||
- python-rpdb | ||
- tmux | ||
- tree | ||
- vim-enhanced | ||
|
||
- name: Install ircb development packages | ||
dnf: name={{ item }} state=present | ||
with_items: | ||
- gcc | ||
- libffi-devel | ||
- python-alembic | ||
- redis | ||
- python3-devel | ||
- openssl-devel | ||
- python-pip | ||
- python-virtualenvwrapper | ||
- python-devel | ||
- libffi | ||
- python | ||
- zeromq | ||
- zeromq-devel | ||
- redhat-rpm-config | ||
|
||
- name: Install python packages for ircb | ||
pip: requirements=/home/vagrant/devel/requirements.txt executable=pip3.5 | ||
|
||
- name: Run python3 setup | ||
shell: python3 setup.py develop | ||
args: | ||
chdir: /home/vagrant/devel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
- hosts: all | ||
become: true | ||
become_method: sudo | ||
vars: | ||
roles: | ||
- ircb-dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,3 +15,4 @@ aiohttp-session[secure]==0.5.0 | |
aiozmq==0.7.1 | ||
msgpack-python==0.4.7 | ||
PyYAML==3.11 | ||
redis |