# HG changeset patch # User anatofuz # Date 1599027970 -32400 # Node ID c0313aebc975476aef72038717ed7c96635b510d # Parent 177c28bf6e0582f206ed18239eeb9a1b4acd0f32 use roles diff -r 177c28bf6e05 -r c0313aebc975 main.yml --- a/main.yml Wed Sep 02 15:22:32 2020 +0900 +++ b/main.yml Wed Sep 02 15:26:10 2020 +0900 @@ -1,11 +1,10 @@ - hosts: all user: anatofuz - tasks: - - import_tasks: tasks/install-firewalld.yml - - import_tasks: tasks/setting-firewalld.yml - - import_tasks: tasks/install-httpd.yml - - import_tasks: tasks/install-php.yml - - import_tasks: tasks/install-mariadb.yml - - import_tasks: tasks/install-php-mbstring.yml - - import_tasks: tasks/setting-mariadb.yml - - import_tasks: tasks/setting-wordpress.yml + roles: + - update-dnf + - install-firewalld + - install-nginx + - install-php + - install-mariadb + - install-wordpress + - restart-handlers