completed with firewall rules

This commit is contained in:
Ilgar Naghiyev
2020-03-24 14:33:27 +01:00
parent dc90601d73
commit 745e61d24f
4 changed files with 106 additions and 1 deletions

View File

@@ -0,0 +1,12 @@
---
- hosts: labservers
user: ansible
become: yes
gather_facts: no
tasks:
- name: install elinks
action: yum name=elinks state=installed
- name: install httpd
action: yum name=httpd state=installed
- name: enable and start apache on system reboot
service: name=httpd enabled=yes state=started