added OS-sensitive vars for httpd
Debian requires apache2, RHEL variants req httpd
added dict variables for {apache2,httpd}.conf location
and service name, with ansible_os_family {Debian,RedHat} as the keys.
Project: http://git-wip-us.apache.org/repos/asf/airavata/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/42b84f98
Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/42b84f98
Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/42b84f98
Branch: refs/heads/ansible-testing-0.17
Commit: 42b84f980962b2caf9bf924effef277015ec96fe
Parents: 69a5855
Author: jecoulte <[email protected]>
Authored: Fri Jan 27 10:07:18 2017 -0500
Committer: jecoulte <[email protected]>
Committed: Fri Jan 27 10:07:18 2017 -0500
----------------------------------------------------------------------
dev-tools/ansible/roles/pga/vars/main.yml | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/airavata/blob/42b84f98/dev-tools/ansible/roles/pga/vars/main.yml
----------------------------------------------------------------------
diff --git a/dev-tools/ansible/roles/pga/vars/main.yml
b/dev-tools/ansible/roles/pga/vars/main.yml
index 298e897..a47212d 100644
--- a/dev-tools/ansible/roles/pga/vars/main.yml
+++ b/dev-tools/ansible/roles/pga/vars/main.yml
@@ -4,7 +4,12 @@ pga_group: "pga"
doc_root_dir: "/var/www/html/php-gateway"
user_data_dir: "/var/www/user_data"
#httpd_conf_file: "/etc/httpd/conf/httpd.conf"
-httpd_conf_file_location: "/etc/httpd/conf"
+httpd_conf_file_location:
+ RedHat: "/etc/httpd/conf/httpd.conf"
+ Debian: "/etc/apache2/apache2.conf"
+httpd_name:
+ Debian: apache2
+ RedHat: httpd
## WSO2 IS related variables
tenant_domain: "prod.testdrive"