Path and name fixes
This commit is contained in:
parent
ba0a279b4f
commit
07580cd132
4 changed files with 5 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
- name: "Apache | Copy virtualhost configuration"
|
- name: "Apache | Copy virtualhost configuration"
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
src: apache2.conf.j2
|
src: apache.conf.j2
|
||||||
dest: "/etc/apache2/sites-available/{{ dmarcsrg_domain }}.conf"
|
dest: "/etc/apache2/sites-available/{{ dmarcsrg_domain }}.conf"
|
||||||
mode: "0644"
|
mode: "0644"
|
||||||
notify: Reload apache2
|
notify: Reload apache2
|
||||||
|
|
|
@ -46,7 +46,7 @@
|
||||||
- src: "{{ dmarcsrg_home }}/{{ latest_version.stdout }}"
|
- src: "{{ dmarcsrg_home }}/{{ latest_version.stdout }}"
|
||||||
dest: "{{ dmarcsrg_home }}/current"
|
dest: "{{ dmarcsrg_home }}/current"
|
||||||
- src: "{{ overrides_path }}/conf.php"
|
- src: "{{ overrides_path }}/conf.php"
|
||||||
dest: "{{ dmarcsrg_home }}/{{ latest_version.stdout }}/conf.php"
|
dest: "{{ dmarcsrg_home }}/{{ latest_version.stdout }}/config/conf.php"
|
||||||
|
|
||||||
- name: "Install | Initiate database"
|
- name: "Install | Initiate database"
|
||||||
ansible.builtin.command:
|
ansible.builtin.command:
|
||||||
|
|
|
@ -10,5 +10,5 @@
|
||||||
- name: "User | Add www-data to user group"
|
- name: "User | Add www-data to user group"
|
||||||
ansible.builtin.user:
|
ansible.builtin.user:
|
||||||
name: www-data
|
name: www-data
|
||||||
groups: "{{ dmarcsrg }}"
|
groups: "{{ dmarcsrg_user }}"
|
||||||
append: true
|
append: true
|
||||||
|
|
|
@ -7,8 +7,8 @@ $database = [
|
||||||
'host' => '{{ database_host }}',
|
'host' => '{{ database_host }}',
|
||||||
'type' => 'mysql',
|
'type' => 'mysql',
|
||||||
'name' => '{{ dmarcsrg_database }}',
|
'name' => '{{ dmarcsrg_database }}',
|
||||||
'user' => '{{ dmarcsrg_datababse }}',
|
'user' => '{{ dmarcsrg_database }}',
|
||||||
'password' => '{{ dmarcsrg_datababse_password }}',
|
'password' => '{{ dmarcsrg_database_password }}',
|
||||||
'table_prefix' => ''
|
'table_prefix' => ''
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue