✨: config wwwdev
This commit is contained in:
@@ -9,6 +9,9 @@
|
||||
- name: WP for NintendojoFR
|
||||
ansible.builtin.include_tasks: wp_dojo.yml
|
||||
when: inventory_hostname == 'web2.dmz.mateu.be'
|
||||
- name: WP dev for NintendojoFR
|
||||
ansible.builtin.include_tasks: wpdev_dojo.yml
|
||||
when: inventory_hostname == 'web2.dmz.mateu.be'
|
||||
- name: Oolatoocs for NintendojoFR
|
||||
ansible.builtin.include_tasks: oolatoocs.yml
|
||||
when: inventory_hostname in groups['mastodonservers']
|
||||
|
9
roles/webapps/tasks/wpdev_dojo.yml
Normal file
9
roles/webapps/tasks/wpdev_dojo.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
|
||||
- name: Put htpasswd file
|
||||
ansible.builtin.template:
|
||||
src: wwwdev.htpasswd.j2
|
||||
dest: /etc/nginx/wwwdev.htpasswd
|
||||
owner: www-data
|
||||
group: www-data
|
||||
mode: "0o600"
|
Reference in New Issue
Block a user