Final upload
This commit is contained in:
23
roles/webserver_apache/tasks/main.yml
Normal file
23
roles/webserver_apache/tasks/main.yml
Normal file
@ -0,0 +1,23 @@
|
||||
- name: Install web server
|
||||
package:
|
||||
name: "apache2"
|
||||
state: present
|
||||
tags: install
|
||||
|
||||
- name: Set homepage
|
||||
template:
|
||||
src: ./index.html.j2
|
||||
dest: /var/www/html/index.html
|
||||
notify: Reload apache
|
||||
tags:
|
||||
- configure
|
||||
- index
|
||||
|
||||
- name: Set homepage2
|
||||
template:
|
||||
src: ./index.html.j2
|
||||
dest: /var/www/html/index7.html
|
||||
notify: Reload apache
|
||||
tags:
|
||||
- configure
|
||||
- index
|
Reference in New Issue
Block a user