Resources attached to the Road To DevOps tutorial
https://blog.noobtoroot.xyz/road-to-devops/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
362 B
21 lines
362 B
2 years ago
|
- name: Install httpd (apache)
|
||
|
yum:
|
||
|
name:
|
||
|
- httpd
|
||
|
state: present
|
||
|
update_cache: yes
|
||
|
|
||
|
- name: Start and enable httpd service
|
||
|
service:
|
||
|
name: httpd
|
||
|
state: started
|
||
|
enabled: yes
|
||
|
|
||
|
- name: Allow http in firewalld
|
||
|
firewalld:
|
||
|
service: http
|
||
|
permanent: yes
|
||
|
state: enabled
|
||
|
immediate: yes
|
||
|
|