diff --git a/evoacme/tasks/main.yml b/evoacme/tasks/main.yml index 25fcdebf..f6264b76 100644 --- a/evoacme/tasks/main.yml +++ b/evoacme/tasks/main.yml @@ -1,12 +1,19 @@ --- - include: tasks/certbot.yml + - include: tasks/acme.yml + - include: tasks/conf.yml + - include: tasks/scripts.yml + - include: tasks/webserver.yml + - include: tasks/apache.yml - when: sta.stat.isreg is defined and sta.stat.isreg == True + when: sta.stat.isreg is defined and sta.stat.isreg + - include: tasks/nginx.yml - when: stn.stat.isreg is defined and stn.stat.isreg == True + when: stn.stat.isreg is defined and stn.stat.isreg + - include: tasks/dhparam.yml - when: stn.stat.isreg is defined and stn.stat.isreg == True + when: stn.stat.isreg is defined and stn.stat.isreg diff --git a/evoacme/tasks/webserver.yml b/evoacme/tasks/webserver.yml index e628b674..b3f416df 100644 --- a/evoacme/tasks/webserver.yml +++ b/evoacme/tasks/webserver.yml @@ -1,8 +1,10 @@ --- - name: Determine Nginx presence - stat: path=/etc/nginx/nginx.conf + stat: + path: /etc/nginx/nginx.conf register: stn - name: Determine Apache presence - stat: path=/etc/apache2/apache2.conf + stat: + path: /etc/apache2/apache2.conf register: sta