8000 GitHub - prafulbusa/Ansible-Script.yml: Test description
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

prafulbusa/Ansible-Script.yml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

Repository files navigation

Ansible-Script.yml

Test description

git remote add origin https://github.com/prafulbusa/Ansible-Script.yml.git git push -u origin master


  • hosts: webservers vars: http_port: 80 max_clients: 200 remote_user: root tasks:
    • name: ensure apache is at the latest version yum: name: httpd state: latest
    • name: write the apache config file template: src: /srv/httpd.j2 dest: /etc/httpd.conf notify:
      • restart apache
    • name: ensure apache is running (and enable it at boot) service: name: httpd state: started enabled: yes handlers:
      • name: restart apache service: name: httpd state: restarted

About

Test description

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0