Skip to content

Commit

Permalink
Add 'debops.php' role and its playbook
Browse files Browse the repository at this point in the history
  • Loading branch information
drybjed committed Jul 11, 2016
1 parent 0ecf995 commit be29d20
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ Added
- Add support for custom Ansible environment variables in all playbooks.
Environment can be configured using Ansible inventory variables. [drybjed]

- Add ``debops.php`` role and its corresponding playbook. [drybjed]


`debops-playbooks v0.2.9`_ - 2016-07-07
---------------------------------------
Expand Down
1 change: 1 addition & 0 deletions galaxy/requirements-testing.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ debops.nodejs,testing
debops.ntp,testing
debops.openvz,testing
debops.owncloud,testing
debops.php,testing
debops.php5,testing
debops.phpipam,testing
debops.phpmyadmin,testing
Expand Down
3 changes: 3 additions & 0 deletions galaxy/requirements-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,9 @@
- src: debops.owncloud
version: testing

- src: debops.php
version: testing

- src: debops.php5
version: testing

Expand Down
1 change: 1 addition & 0 deletions galaxy/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ debops.nodejs
debops.ntp
debops.openvz
debops.owncloud
debops.php
debops.php5
debops.phpipam
debops.phpmyadmin
Expand Down
2 changes: 2 additions & 0 deletions galaxy/requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@

- src: debops.owncloud

- src: debops.php

- src: debops.php5

- src: debops.phpipam
Expand Down
2 changes: 2 additions & 0 deletions playbooks/env/all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,7 @@

- include: php5.yml

- include: php.yml

- include: fcgiwrap.yml

1 change: 1 addition & 0 deletions playbooks/env/php.yml
17 changes: 17 additions & 0 deletions playbooks/service/php.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---

- hosts: [ 'debops_service_php' ]
become: True

roles:

- role: debops.php/env
tags: [ 'role::php', 'role::logrotate' ]

- role: debops.logrotate
tags: [ 'role::logrotate' ]
logrotate__dependent_config:
- '{{ php__logrotate__dependent_config }}'

- role: debops.php
tags: [ 'role::php' ]

0 comments on commit be29d20

Please sign in to comment.