diff --git a/lamp_centos7/group_vars/all b/lamp_centos7/group_vars/all index 74ca458..f5d5fd2 100644 --- a/lamp_centos7/group_vars/all +++ b/lamp_centos7/group_vars/all @@ -1,6 +1,6 @@ --- # Variables listed here are applicable to all host groups -httpd_port: 80 -ntpserver: 192.168.1.2 +httpd_port: 82 +ntpserver: 0.au.pool.ntp.org repository: https://github.com/bennojoy/mywebapp.git diff --git a/lamp_centos7/hosts b/lamp_centos7/hosts index ccb8069..3cb4f9e 100644 --- a/lamp_centos7/hosts +++ b/lamp_centos7/hosts @@ -1,7 +1,7 @@ [webservers] -122.129.219.67 +122.129.219.67:221 [dbservers] -122.129.219.67 +122.129.219.67:221 diff --git a/lamp_centos7/roles/web/tasks/install_httpd.yml b/lamp_centos7/roles/web/tasks/install_httpd.yml index a0fe65f..baecde4 100644 --- a/lamp_centos7/roles/web/tasks/install_httpd.yml +++ b/lamp_centos7/roles/web/tasks/install_httpd.yml @@ -7,6 +7,7 @@ - httpd - php - php-mysql + - php-fpm - git - libsemanage-python - libselinux-python