Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---
- - hosts: newhost
- tasks:
- - name: install lamp stack
- sudo: yes
- apt: name= state=present update_cache=yes
- with_items:
- - apache2
- - mysql-server
- - php7.0
- - php7.0-mysql
- - name: start services
- service: name= state=started enabled=yes
- sudo: yes
- with_items:
- - apache2
- - mysql
- - name: Use tasksel to install LAMP on Debian(s)
- command: apt install lamp-server^`
Add Comment
Please, Sign In to add comment