From 8ec89712f2b858ed2acec6bd9935c87e2aac74ef Mon Sep 17 00:00:00 2001 From: Anton Vakhrushev Date: Sun, 19 Nov 2017 09:44:42 +0300 Subject: [PATCH] Move s2photo to separate role --- ansible/configuration.yml | 5 +---- ansible/roles/s2photo/meta/main.yml | 5 +++++ 2 files changed, 6 insertions(+), 4 deletions(-) create mode 100644 ansible/roles/s2photo/meta/main.yml diff --git a/ansible/configuration.yml b/ansible/configuration.yml index 143ca67..38a01c9 100644 --- a/ansible/configuration.yml +++ b/ansible/configuration.yml @@ -72,10 +72,7 @@ - geerlingguy.mysql - role: homepage - - - role: static-site - static_site_name: s2photo - static_site_domain: s2photo.ru + - role: s2photo - role: symfony-app app_name: notes diff --git a/ansible/roles/s2photo/meta/main.yml b/ansible/roles/s2photo/meta/main.yml new file mode 100644 index 0000000..189de25 --- /dev/null +++ b/ansible/roles/s2photo/meta/main.yml @@ -0,0 +1,5 @@ +--- +dependencies: + - role: static-site + static_site_name: s2photo + static_site_domain: s2photo.ru