Mercurial > hg > Members > anatofuz > wordpress_ansible
changeset 24:f987206d7e7a
remove packages loop
author | anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 03 Sep 2020 07:11:43 +0900 |
parents | 71c5fd5fa109 |
children | 05b388a02cfc |
files | roles/install-mariadb/tasks/main.yml roles/install-php/tasks/main.yml |
diffstat | 2 files changed, 4 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/roles/install-mariadb/tasks/main.yml Wed Sep 02 23:11:54 2020 +0900 +++ b/roles/install-mariadb/tasks/main.yml Thu Sep 03 07:11:43 2020 +0900 @@ -2,14 +2,12 @@ - name: install dnf packages become: yes dnf: - name: "{{ packages }}" - state: latest - vars: - packages: + name: - mariadb - mariadb-server - MySQL-python3 - python3-libselinux + state: latest - name: start and enabled mariadb become: yes
--- a/roles/install-php/tasks/main.yml Wed Sep 02 23:11:54 2020 +0900 +++ b/roles/install-php/tasks/main.yml Thu Sep 03 07:11:43 2020 +0900 @@ -3,11 +3,9 @@ - name: install php packages become: yes dnf: - name: "{{ packages }}" - state: latest - vars: - packages: + name: - php - php-mysqlnd - php-mbstring - php-fpm + state: latest