aboutsummaryrefslogtreecommitdiff
path: root/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'tasks/main.yml')
-rw-r--r--tasks/main.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/tasks/main.yml b/tasks/main.yml
index 44d11c3..7629c87 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -55,3 +55,10 @@
- acl
notify:
- Restart Nginx
+- name: Install Htpasswd
+ copy:
+ src: '{{nginx_htpasswd}}'
+ dest: /etc/htpasswd
+ owner: "{{nginx_conf_owner}}"
+ group: "{{nginx_conf_group}}"
+ when: nginx_htpasswd is defined