File tree Expand file tree Collapse file tree 1 file changed +29
-27
lines changed Expand file tree Collapse file tree 1 file changed +29
-27
lines changed Original file line number Diff line number Diff line change 15
15
16
16
tasks :
17
17
- name : Get software for apt repository management.
18
- apt : " name={{ item }} state=present"
19
- with_items :
20
- - python-apt
21
- - python-pycurl
18
+ apt :
19
+ state : present
20
+ name :
21
+ - python-apt
22
+ - python-pycurl
22
23
23
24
- name : Add ondrej repository for later versions of PHP.
24
25
apt_repository : repo='ppa:ondrej/php' update_cache=yes
25
26
26
27
- name : " Install Apache, MySQL, PHP, and other dependencies."
27
- apt : " name={{ item }} state=present"
28
- with_items :
29
- - git
30
- - curl
31
- - unzip
32
- - sendmail
33
- - apache2
34
- - php7.1-common
35
- - php7.1-cli
36
- - php7.1-dev
37
- - php7.1-gd
38
- - php7.1-curl
39
- - php7.1-json
40
- - php7.1-opcache
41
- - php7.1-xml
42
- - php7.1-mbstring
43
- - php7.1-pdo
44
- - php7.1-mysql
45
- - php-apcu
46
- - libpcre3-dev
47
- - libapache2-mod-php7.1
48
- - python-mysqldb
49
- - mysql-server
28
+ apt :
29
+ state : present
30
+ name :
31
+ - git
32
+ - curl
33
+ - unzip
34
+ - sendmail
35
+ - apache2
36
+ - php7.1-common
37
+ - php7.1-cli
38
+ - php7.1-dev
39
+ - php7.1-gd
40
+ - php7.1-curl
41
+ - php7.1-json
42
+ - php7.1-opcache
43
+ - php7.1-xml
44
+ - php7.1-mbstring
45
+ - php7.1-pdo
46
+ - php7.1-mysql
47
+ - php-apcu
48
+ - libpcre3-dev
49
+ - libapache2-mod-php7.1
50
+ - python-mysqldb
51
+ - mysql-server
50
52
51
53
- name : Disable the firewall (since this is for local dev only).
52
54
service : name=ufw state=stopped
You can’t perform that action at this time.
0 commit comments