Ivan Grynenko
36c0b61c59
Squashed 'roles/ansible-role-apache/' content from commit 6d623d0
...
git-subtree-dir: roles/ansible-role-apache
git-subtree-split: 6d623d00c47168832b3d881bfe8514ac81e88c9a
8 years ago
Ivan Grynenko
4196dc9587
Squashed 'roles/ansible-role-apache-php-fpm/' content from commit 4b4158f
...
git-subtree-dir: roles/ansible-role-apache-php-fpm
git-subtree-split: 4b4158fe494695ff1e2f84255dbc551fafd6a58e
8 years ago
Ivan Grynenko
46e1eb29a2
Reorganised folders
8 years ago
Ivan Grynenko
ed889eaab8
Squashed 'lemp-rhel7/roles/ansible-role-apache/' content from commit 6d623d0
...
git-subtree-dir: lemp-rhel7/roles/ansible-role-apache
git-subtree-split: 6d623d00c47168832b3d881bfe8514ac81e88c9a
8 years ago
Ivan Grynenko
6a684ac9d1
Squashed 'lemp-rhel7/roles/ansible-role-drupal-console/' content from commit 9622067
...
git-subtree-dir: lemp-rhel7/roles/ansible-role-drupal-console
git-subtree-split: 9622067f57946a2bad71ddea37418f5b971a70b1
8 years ago
Ivan Grynenko
eaa42967a3
Fixing nginx con path and setting hostname.
8 years ago
Ivan Grynenko
bcc1e84553
Adding bigpipe support to nginx.
8 years ago
Ivan Grynenko
5f3cedf30e
Squashed 'lemp-rhel7/roles/ansible-role-composer/' content from commit b446bb5
...
git-subtree-dir: lemp-rhel7/roles/ansible-role-composer
git-subtree-split: b446bb589355ee2979dcbeb74d197e7c18724780
8 years ago
Ivan Grynenko
27b4fbf163
Squashed 'lemp-rhel7/roles/ansible-role-git/' content from commit b4f85aa
...
git-subtree-dir: lemp-rhel7/roles/ansible-role-git
git-subtree-split: b4f85aa9ad5368def602809847ef0367bbb407f9
8 years ago
Ivan Grynenko
1ed033b2a8
Squashed 'lemp-rhel7/roles/ansible-role-drush/' content from commit 6abbd27
...
git-subtree-dir: lemp-rhel7/roles/ansible-role-drush
git-subtree-split: 6abbd27d51dfcd34b693a72f69af984ebc73bd49
8 years ago
Ivan Grynenko
e9cb088630
Squashed 'lemp-rhel7/roles/ansible-role-postfix/' content from commit 3abdcbc
...
git-subtree-dir: lemp-rhel7/roles/ansible-role-postfix
git-subtree-split: 3abdcbc53d9c23202eb2451e7a0da5a83e7a2eb9
8 years ago
Ivan Grynenko
efea149d02
Squashed 'lemp-rhel7/roles/ansible-role-memcached/' content from commit 15a0808
...
git-subtree-dir: lemp-rhel7/roles/ansible-role-memcached
git-subtree-split: 15a0808b0c8aff4c339775c149824306345c8fc7
8 years ago
Ivan Grynenko
f6a03f8812
Added vmuser user and updated vars for nginx vhost directory.
8 years ago
Ivan Grynenko
a8cefea244
Updated as subtree with my customisations.
8 years ago
Ivan Grynenko
4af2c511fe
Squashed 'lemp-rhel7/roles/ansible-role-nginx/' content from commit 82575ce
...
git-subtree-dir: lemp-rhel7/roles/ansible-role-nginx
git-subtree-split: 82575ce142
8 years ago
Ivan Grynenko
798f27c655
Squashed 'lemp-rhel7/roles/ansible-role-php/' content from commit 1335099
...
git-subtree-dir: lemp-rhel7/roles/ansible-role-php
git-subtree-split: 1335099d778331317271a71bf4146cc454c824e1
8 years ago
Ivan Grynenko
5545cd761c
Squashed 'lemp-rhel7/roles/ansible-role-mysql/' content from commit b0fd5c3
...
git-subtree-dir: lemp-rhel7/roles/ansible-role-mysql
git-subtree-split: b0fd5c3f61
8 years ago
nerzhul
67d5548e6d
Permit to remove user, not only create them
8 years ago
curantes
290d9f05a6
remove requirement of redhat-lsb-core
...
I would suggest to use {{ ansible_distribution_major_version }} instead of the {{ ansible_lsb.major_version }} since that will require the package redhat-lsb-core installed which is not always installed. You will get the same result if you use the other way without the requirement of redhat-lsb-core package.
8 years ago
Jeff Geerling
cbbcc8db16
Whitespace fixes and follow-up for PR #54 .
8 years ago
Jeff Geerling
3acd799991
Install redhat-lsb-core prior to test.
8 years ago
Jeff Geerling
91c3b9c3eb
Ensure redhat-lsb-core is installed.
8 years ago
Jeff Geerling
71d6a0b328
Fix test build for CentOS 7.
8 years ago
Jeff Geerling
72d6da3922
Another attempt to get tests passing for RHEL.
8 years ago
Jeff Geerling
a7cdfefb55
Fix problems with new CentOS 7 MariaDB fixes.
8 years ago
Jeff Geerling
63064eab7f
Remove second idempotence test, fix follow-up to #115 .
8 years ago
Jon Pugh
08f2b86a9a
Fix "when" statement for mysql error log file permissions.
8 years ago
Bartek Rutkowski
3d71531209
Add FreeBSD support.
8 years ago
Jeff Geerling
ab21fa133f
Fixes #63 : Running role on Ubuntu 15/16.04 fails.
8 years ago
Solomon Gifford
571f8e4bf4
ansible doesn't have a create-if-not-exists - but we shouldn't be changing the date each time this is run
8 years ago
David Glaser
1e75c2f3e3
Verify that datadir has been created and selinux context set. Currently
...
selinux context set separately because I'm not sure that Ubuntu has it
installed in all cases.
8 years ago
David Glaser
01abbcaca3
Adapted for RHEL 7:
...
Separated RedHat.yml files into RedHat 6 and RedHat 7 files
Adapted main.yml to point to the correct file
8 years ago
Raphaël Droz
8ee93d8d3d
add no_log to operation on confidential data
...
Without no_log, password would appear in node's syslog.
It's probably unwanted when it comes to password
8 years ago
Jeff Geerling
e818255465
PR #45 : Clean up var names and document new feature.
8 years ago
Oskar Schöldström
d190734e84
Add initial docker setup
8 years ago
Jeff Geerling
cf69810612
PR #46 follow-up.
8 years ago
Jeff Geerling
e393119ed8
Fix Ansible 2.x deprecation warnings.
8 years ago
Marcin Wolny
790badecb3
Define nginx's global options and package name.
9 years ago
Frederik Wille
3063875875
add official nginx ppa for ubuntu
...
adds ppa:nginx to apt repositories when
nginx_use_ppa is set to yes (default no)
nginx_ppa_version can be either "stable" or "development"
this will reinstall nginx if ppa was just added to ensure that the ppa
version will be installed
9 years ago
Aleksandr Vinokurov
5294d77fa3
Remove new config validation, Fix #41
...
NOTE: current nginx config validation process breaks SELinux context
for pid file, as described in #41
Restart of nginx is not needed for configuration changes and is
replaced with reload, which will validate config before applying it,
leaving running nginx process untouched in case of any validation
errors.
Restart handler left in support.
9 years ago
Jeff Geerling
bb39bf5632
Fixes #59 : Ansible 2.x role cleanup.
9 years ago
Jeff Geerling
9848800982
PR #36 follow-up: clean up and reformat docs.
9 years ago
cmacrae
a248416a4d
Ensuring all instances that notify 'restart nginx' also validate first
9 years ago
cmacrae
fd6b8c8e6b
Addning handler for Nginx config validation:
...
Although the 'validate' param was added for the deployment of
/etc/nginx.conf - this validation process will only be triggered upon
changes.
So, if a vhost config is updated, but the main config isn't, the
collective config will not be verified.
I've added a new handler 'validate nginx configuration' and added this
to the 'notify' param as a first list item for vhost config changes.
Unfortunately, this will not protect against the deployment of malformed
configuration, however it will prevent the restart of Nginx in such a
situation (as the 'validate nginx configuration' handler should error
out before the 'restart nginx' handler is called).
9 years ago
cmacrae
fe55597334
Correcting indentation for 'validate' param
9 years ago
cmacrae
cc5114dc4f
Re-order template deploy & add validate:
...
Re-ordering the tasks in this way (having the vhosts deployed first)
allows the 'validate' param to collectively check the deployed Nginx config.
Deploying vhosts after makes it hard to check their validity, as Nginx's
config checking will operate on a "master" configuration that includes
others (checking those included, also) but would error out when checking
these individual configs if they do not contain a fully working Nginx
config (which they often don't, due to their nature).
9 years ago
Solomon Gifford
1b1e11b689
Fixed spacing
9 years ago
Solomon Gifford
2a8b19fe11
Support mariadb and other mysql implementations that have a mysql include directory for my.cnf overrides
9 years ago
Solomon Gifford
140026c7f1
Disallow root login remotely
9 years ago
Solomon Gifford
1960305381
reversed order of mysql-python install
9 years ago