completed with firewall rules
This commit is contained in:
12
playbooks/setup-server.yml
Normal file
12
playbooks/setup-server.yml
Normal 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
|
||||
Reference in New Issue
Block a user