Download:
child 10:14d1e7c3a6a7
parent 8:bd870b027188
9:677ec7e634c8
Anton Shestakov <av6@dwimlabs.net>, Fri, 01 Apr 2016 01:57:43 +0800
pre_tasks: disable default Nginx site

1 файлов изменено, 2 вставок(+), 0 удалений(-) [+]
playbook-example.yml file | annotate | diff | comparison | revisions
--- a/playbook-example.yml Fri Apr 01 01:57:27 2016 +0800
+++ b/playbook-example.yml Fri Apr 01 01:57:43 2016 +0800
@@ -21,6 +21,8 @@
# restart both services manually after running this playbook.
- name: Install Nginx
apt: package=nginx-full state=installed update_cache=yes cache_valid_time=3600
+ - name: Disable default Nginx site
+ file: path=/etc/nginx/sites-enabled/default state=absent
- name: Install Supervisor
apt: package=supervisor state=installed
roles: