Commit f9bb7d26 authored by nimrod's avatar nimrod
Browse files

- Forked from the example role.

parent 41ad1da6
Loading
Loading
Loading
Loading
+4 −6
Original line number Diff line number Diff line
Example
PHP-FPM
#######

.. image:: https://travis-ci.org/adarnimrod/example.svg?branch=master
    :target: https://travis-ci.org/adarnimrod/example
.. image:: https://travis-ci.org/adarnimrod/php-fpm.svg?branch=master
    :target: https://travis-ci.org/adarnimrod/php-fpm

An (empty) example Ansible role complete with working tests out of the box. For
more information read the `blog post
<https://www.shore.co.il/blog/ansible-example-role/>`_.
Provision PHP FastCGI (FPM).

Requirements
------------
+1 −1
Original line number Diff line number Diff line
---
# defaults file for example
# defaults file for php-fpm
+1 −1
Original line number Diff line number Diff line
---
# handlers file for example
# handlers file for php-fpm
+9 −4
Original line number Diff line number Diff line
galaxy_info:
  author: Nimrod Adar
  description: An example Ansible role
  description: Provision PHP FastCGI (FPM)
  company: Shore technologies
  license: MIT
  min_ansible_version: 2.0
@@ -10,6 +10,11 @@ galaxy_info:
    - 6.0
  - name: Ubuntu
    versions:
    - xenial
  galaxy_tags: [ ansible ]
dependencies: []
    - trusty
  - name: Debian
    versions:
    - jessie
  galaxy_tags: [ php, fpm, fastcgi, http, web ]
dependencies:
- src: adarnimrod.php5
  name: php5
+16 −6
Original line number Diff line number Diff line
@@ -16,10 +16,12 @@ vagrant:
  platforms:
  - name: openbsd
    box: kaorimatz/openbsd-6.0-amd64
  - name: xenial
    box: ubuntu/xenial64
  - name: trusty
    box: ubuntu/trusty64
  - name: jessie
    box: debian/jessie64
  instances:
  - name: example
  - name: php-fpm
    options:
        append_platform_to_hostname: yes
  raw_config_args:
@@ -30,9 +32,17 @@ vagrant:

docker:
  containers:
  - name: example-xenial
    image: ubuntu
    image_version: xenial
  - name: php-fpm-trusty
    image: ubuntu-upstart
    image_version: trusty
    command: /sbin/init
    privileged: True
    environment:
        DEBIAN_FRONTEND: noninteractive
        container: docker
  - name: php-fpm-jessie
    image: debian
    image_version: jessie
    command: /sbin/init
    privileged: True
    volume_mounts:
Loading