Guest User

Untitled

a guest
Dec 15th, 2018
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. ---
  2. - hosts: newhost
  3. tasks:
  4. - name: install lamp stack
  5. sudo: yes
  6. apt: name= state=present update_cache=yes
  7. with_items:
  8. - apache2
  9. - mysql-server
  10. - php7.0
  11. - php7.0-mysql
  12.  
  13. - name: start services
  14. service: name= state=started enabled=yes
  15. sudo: yes
  16. with_items:
  17. - apache2
  18. - mysql
  19.  
  20. - name: Use tasksel to install LAMP on Debian(s)
  21. command: apt install lamp-server^`
Add Comment
Please, Sign In to add comment