diff --git a/lemp-rhel7/roles/ansible-role-nginx/tasks/main.yml b/lemp-rhel7/roles/ansible-role-nginx/tasks/main.yml index b260532..d0d9ef8 100755 --- a/lemp-rhel7/roles/ansible-role-nginx/tasks/main.yml +++ b/lemp-rhel7/roles/ansible-role-nginx/tasks/main.yml @@ -38,7 +38,7 @@ - name: Copy headers config file in place. template: src: headers.conf.j2 - dest: "{{ nginx_conf_file_path }}/conf.d" + dest: "{{ nginx_conf_path }}" owner: root group: "{{ root_group }}" mode: 0644 diff --git a/lemp-rhel7/roles/common/tasks/main.yml b/lemp-rhel7/roles/common/tasks/main.yml index 4c789ae..90e7377 100644 --- a/lemp-rhel7/roles/common/tasks/main.yml +++ b/lemp-rhel7/roles/common/tasks/main.yml @@ -14,3 +14,5 @@ - name: Creates custom users user: name=vmuser comment=DefaultUser groups=vmuser,wheel password={{ default_user_password }} shell=/bin/bash createhome=yes user: name=www-php comment=DefaultPHPUser shell=/sbin/nologin createhome=no + +- hostname: name=web01