- name: Install Apache HTTP Server
hosts: all
become: yes
tasks:
-
name: Install Apache (httpd) package: name: apache2 # For Debian/Ubuntu
state: present
-
name: Start Apache service service: name: apache2 # For Debian/Ubuntu
state: started enabled: yes
-
name: Ensure Apache is running service: name: apache2 # For Debian/Ubuntu
state: started haii
-
Mustak22/AWX-
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|