Skip to content

Commit

Permalink
Update lamp.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
satish2709 authored Apr 11, 2024
1 parent 87b9fe3 commit de72317
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lamp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
- hosts: all
become: yes
tasks:
- name: install apache2 and update pakage
- name: install httpd and update pakage
yum:
name: apache2
name: httpd
state: present
notify:
- restart and enable apache2
- restart and enable httpd

- name: install php modules
yum:
Expand All @@ -19,11 +19,11 @@
- php-mysql
- php-cli
notify:
- restart and enable apache2
- restart and enable httpd

handlers:
- name: restart and enabled apache2
- name: restart and enabled httpd
service:
name: apache2
name: httpd
enabled: yes
state: restarted

0 comments on commit de72317

Please sign in to comment.