From 419107e6718da175dd4269ecac5e21701eb12d60 Mon Sep 17 00:00:00 2001 From: William Yeh Date: Sun, 20 Mar 2016 23:45:52 +0800 Subject: [PATCH] Update: remove unused variables "nginx_owner" and nginx_group" to avoid confusion. --- 03-deploy/setup.yml | 2 -- 04-db/setup.yml | 2 -- 05-success/setup.yml | 2 -- 06-ci/setup.yml | 2 -- 10-role/roles/nginx/defaults/main.yml | 5 ----- 5 files changed, 13 deletions(-) delete mode 100644 10-role/roles/nginx/defaults/main.yml diff --git a/03-deploy/setup.yml b/03-deploy/setup.yml index fe6b288..684b36e 100644 --- a/03-deploy/setup.yml +++ b/03-deploy/setup.yml @@ -8,8 +8,6 @@ wordpress_path: "{{ wordpress_parent_path }}/wordpress" wordpress_owner: www-data wordpress_group: www-data - nginx_owner: nginx - nginx_group: nginx tasks: - name: ==> 0 - add host info diff --git a/04-db/setup.yml b/04-db/setup.yml index dd948ea..b8b07de 100644 --- a/04-db/setup.yml +++ b/04-db/setup.yml @@ -8,8 +8,6 @@ wordpress_path: "{{ wordpress_parent_path }}/wordpress" wordpress_owner: www-data wordpress_group: www-data - nginx_owner: nginx - nginx_group: nginx mysql_root_password: secretsecret wordpress_db_name: wordpress wordpress_db_user: wordpressuser diff --git a/05-success/setup.yml b/05-success/setup.yml index a65b806..41cde5e 100644 --- a/05-success/setup.yml +++ b/05-success/setup.yml @@ -8,8 +8,6 @@ wordpress_path: "{{ wordpress_parent_path }}/wordpress" wordpress_owner: www-data wordpress_group: www-data - nginx_owner: nginx - nginx_group: nginx mysql_root_password: secretsecret wordpress_db_name: wordpress wordpress_db_user: wordpressuser diff --git a/06-ci/setup.yml b/06-ci/setup.yml index d9d1152..87b0334 100644 --- a/06-ci/setup.yml +++ b/06-ci/setup.yml @@ -9,8 +9,6 @@ wordpress_path: "{{ wordpress_parent_path }}/wordpress" wordpress_owner: www-data wordpress_group: www-data - nginx_owner: nginx - nginx_group: nginx mysql_root_password: secretsecret wordpress_db_name: wordpress wordpress_db_user: wordpressuser diff --git a/10-role/roles/nginx/defaults/main.yml b/10-role/roles/nginx/defaults/main.yml deleted file mode 100644 index 7ce3bd4..0000000 --- a/10-role/roles/nginx/defaults/main.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -# file: defaults/main.yml - -nginx_owner: nginx -nginx_group: nginx