Skip to content

Commit 5900098

Browse files
committed
Fix config
1 parent edb3d22 commit 5900098

File tree

5 files changed

+11
-7
lines changed

5 files changed

+11
-7
lines changed

group_vars/all.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,5 @@ php5:
1818

1919
mariadb:
2020
current_password: ''
21-
root_password: dev
21+
root_password: dev
22+

install.sh

100755100644
File mode changed.

roles/synapse/tasks/main.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,7 @@
2727
notify:
2828
- Start synapse
2929

30-
- name: "Launcher | Set configuration"
31-
copy: src=config.json dest=/home/{{ user }}/.config/synapse/config.json owner={{ user }} group={{ user }} mode=664
30+
- name: "Launcher | Set configuration of ansible_env.LOGNAME"
31+
remote_user: lesmyrmidons
32+
sudo: false
33+
copy: src=config.json dest={{ ansible_env.HOME }}/.config/synapse/config.json owner={{ ansible_env.LOGNAME }} group={{ ansible_env.LOGNAME }} mode=664

roles/web/tasks/main.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@
6464
template: src=my.cnf.j2 dest=/root/.my.cnf owner=root mode=0600
6565

6666
- name: MariaDB | Write file my.cnf
67-
template: src=my.cnf.j2 dest=/home/{{ user }}/.my.cnf owner={{ user }} mode=0600
67+
template: src=my.cnf.j2 dest={{ ansible_env.HOME }}/.my.cnf owner={{ ansible_env.LOGNAME }} mode=0600
6868

69-
- name: MariaDB | Remove the MySQL test database
70-
mysql_db: db=test state=absent
69+
#- name: MariaDB | Remove the MySQL test database
70+
# mysql_db: db=test state=absent
7171

7272
# This role deploys the PHP5 processes and sets up settings.
7373

site.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#
44

55
---
6+
67
- hosts: local
78
user: lesmyrmidons
89
sudo: yes
@@ -15,7 +16,7 @@
1516
- vim # Configuration for vim
1617
- pinta # Gimp little
1718
- latex # Latex and ide texmaker
18-
# - nvidia # Drivers owner
19+
# - nvidia # Drivers owner
1920
- adst # Application for series https://github.com/lesmyrmidons/AdstSF2
2021
# - hhvm # Fork PHP
2122
- web

0 commit comments

Comments
 (0)