Difference between revisions of "Install httpd on Red Hat server"
From MyWiki
(Created page with "<source lang="yaml"> - name: Install HTTPD using Ansible Playbook hosts: slave-1 #here ensure that node instance name is correct or not become: true tasks: - name:...") |
(No difference)
|
Revision as of 10:41, 8 July 2024
- name: Install HTTPD using Ansible Playbook hosts: slave-1 #here ensure that node instance name is correct or not become: true tasks: - name: Install HTTPD package package: name: httpd state: present - name: Start HTTPD service service: name: httpd state: started enabled: yes