Mercurial > hg > Members > anatofuz > wordpress_ansible
changeset 10:a2003ccc0166
php install as a role
author | anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 02 Sep 2020 13:33:55 +0900 |
parents | f4c9cb3b14a3 |
children | faa3afacbfd5 |
files | roles/install-php/tasks/main.yml tasks/install-php-mbstring.yml tasks/install-php.yml |
diffstat | 3 files changed, 9 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/roles/install-php/tasks/main.yml Wed Sep 02 13:33:55 2020 +0900 @@ -0,0 +1,9 @@ +- name: install php packages + become: yes + dnf: + name: {{ item }} + state: latest + loop: + - php + - php-mysqlnd + - php-mbstring