Mercurial > hg > Members > anatofuz > wordpress_ansible
changeset 20:8842962276a3
bug fix
author | anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 02 Sep 2020 21:43:11 +0900 (2020-09-02) |
parents | 9ced8fcb39a9 |
children | 0db847234dbe |
files | roles/install-firewalld/tasks/main.yml roles/install-mariadb/tasks/main.yml roles/install-wordpress/tasks/main.yml |
diffstat | 3 files changed, 4 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/roles/install-firewalld/tasks/main.yml Wed Sep 02 15:57:59 2020 +0900 +++ b/roles/install-firewalld/tasks/main.yml Wed Sep 02 21:43:11 2020 +0900 @@ -9,11 +9,9 @@ - name: Setting Firewalld become: yes firewalld: - zone: public - service: - - "{{ item }}" + service: "{{ item }}" permanent: yes - state: enable + state: enabled loop: - http - https
--- a/roles/install-mariadb/tasks/main.yml Wed Sep 02 15:57:59 2020 +0900 +++ b/roles/install-mariadb/tasks/main.yml Wed Sep 02 21:43:11 2020 +0900 @@ -9,7 +9,7 @@ - mariadb - mariadb-server - MySQL-python3 - - libselinux-python + - python3-libselinux - name: start and enabled mariadb become: yes
--- a/roles/install-wordpress/tasks/main.yml Wed Sep 02 15:57:59 2020 +0900 +++ b/roles/install-wordpress/tasks/main.yml Wed Sep 02 21:43:11 2020 +0900 @@ -4,6 +4,7 @@ unarchive: src: https://ja.wordpress.org/latest-ja.tar.gz dest: /var/www/html + remote_src: yes - name: change dir / files permission become: yes