Skip to content
This repository has been archived by the owner on Feb 13, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1207 from geerlingguy/1200-fixes
Browse files Browse the repository at this point in the history
Issue #1200: Remove dev package installation for speedier build.
  • Loading branch information
geerlingguy authored Mar 10, 2017
2 parents 972a86b + b963d2c commit 9924d7f
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion provisioning/requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,4 @@
- src: geerlingguy.solr
version: 3.5.1
- src: geerlingguy.varnish
version: 1.8.1
version: 1.8.3
4 changes: 2 additions & 2 deletions provisioning/roles/geerlingguy.varnish/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ None.
*Inside `vars/main.yml`*:

varnish_secret: "[secret generated by uuidgen]"
varnish_default_backend_host: 81
varnish_default_backend_port: 81
... etc ...

## License
Expand All @@ -91,4 +91,4 @@ MIT / BSD

## Author Information

This role was created in 2014 by [Jeff Geerling](http://www.jeffgeerling.com/), author of [Ansible for DevOps](https://www.ansiblefordevops.com/).
This role was created in 2014 by [Jeff Geerling](https://www.jeffgeerling.com/), author of [Ansible for DevOps](https://www.ansiblefordevops.com/).
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
- gcc
- libedit-devel
- initscripts
- redhat-rpm-config

- name: Add Varnish repository.
yum:
Expand Down
4 changes: 2 additions & 2 deletions provisioning/tasks/init-debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
- name: Update apt cache if needed.
apt: update_cache=yes cache_valid_time=86400

- name: Get software for Python-based control.
- name: Install required dependencies.
apt: "name={{ item }} state=installed"
with_items:
- curl
- python-apt
- python-pycurl
- build-essential
- sudo
- unzip
- make

- name: Configure /etc/mailname.
copy:
Expand Down
11 changes: 6 additions & 5 deletions provisioning/tasks/init-redhat.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
---
- name: Get software for Python-based control.
- name: Install required dependencies.
yum: "name={{ item }} state=installed"
with_items:
- "curl"
- "python-pycurl"
- "@development"
- "unzip"
- curl
- python-pycurl
- unzip
- make
- gcc

- name: Enable remi repo for MySQL.
set_fact: mysql_enablerepo="remi"
Expand Down

0 comments on commit 9924d7f

Please sign in to comment.