From d03f57d1c21a8be1a9c052c66c7a61849920f554 Mon Sep 17 00:00:00 2001 From: vincent Date: Wed, 17 Apr 2019 13:37:19 +0200 Subject: [PATCH] create tt-rss role --- group_vars/all/all_vault | 26 ++++++++++++++++---------- group_vars/server | 22 +++++++++++++++++++++- host_vars/arch3 | 1 + host_vars/pi2 | 1 + 4 files changed, 39 insertions(+), 11 deletions(-) create mode 100644 host_vars/arch3 diff --git a/group_vars/all/all_vault b/group_vars/all/all_vault index a60b3b2..bcdac52 100644 --- a/group_vars/all/all_vault +++ b/group_vars/all/all_vault @@ -1,11 +1,17 @@ $ANSIBLE_VAULT;1.1;AES256 -66363162333638663431363630666135616261633634336561373331306231396335393530333938 -3263393132303633336231356334313064666433313761350a316165656230396265306130386433 -32333934313839363038356236396134363265393039343332643864633737356338353034303734 -3165653730366536310a393463383139313766323238306565326539643761323561306537383939 -61336236393835366362653533346564306232323732393237633630636334303563323264353365 -35313361353665653163303230333064653132343636646439316332393038356263343536666137 -37633265353963326561323036353933663062373432383234336635336634383138626639623561 -35343230663933353363663765336331353364353735393566633632303362396239346534363633 -62313834623033333066366334366561646136633938643134366566663762336430653936626532 -3066623066346637653936366261353930663432613936303963 +30376330376664643561613731323036336335613765393034313734316335356563333663343439 +6232373039336233313865646534326636653665303039650a316266643537363563333163383938 +32326462306539656432653030316462386561636463666538376130623435386265353238646634 +6330303831383436610a373437373439343564633537393838653163663630366561396162373563 +33333661653631356630336362396631633436326537626662363936353834366337663065376235 +63663063653436323938616666333963643738653766643835393039653931353930326630353936 +65393461373934313163326362346166303761333565376533646534396236346339323539336536 +63613331306563383432366430303630313835623339396638333636643463636235323335353163 +62303261303261636438353637383261616436623162343964626135373130316533373937666164 +35333865353237333332626430393866396161633038363638666463303038306435363935626532 +31633238653538636237306431643638313030633261366365353035643038653763636530656336 +64346632653763306239663365643239366465333962636662353231373533636366636362313261 +66306136363464613634353031383265323838626561643538663031383661373939303432666230 +61616536636165373361376161303664616436666137616536623133336530316332663662326138 +33353562663836313265393332623835343233623965646337356530373837393533663237383066 +38663037646565396535 diff --git a/group_vars/server b/group_vars/server index 53c0688..d8b44aa 100644 --- a/group_vars/server +++ b/group_vars/server @@ -89,7 +89,27 @@ php_extention_enable: mysql_root_password: "{{ vault_mysql_root }}" mysql_root_password_update: true +mysql_databases: + - name: gitea + collation: utf8mb4_unicode_ci + encoding: utf8mb4 + +# Users. +mysql_users: + + - name: gitea + host: localhost + password: "{{ vault_mysql_gitea }}" + priv: gitea.*:ALL + + - name: dump + host: localhost + password: "{{ vault_mysql_dump }}" + priv: "*.*:SELECT,SHOW DATABASES" + +ttrss_db_password: "{{ vault_mysql_ttrss }}" +ttrss_log_destination: "" bind_listen_ipv4: ['any'] bind_allow_query: ['any'] @@ -104,4 +124,4 @@ bind_forwarders: - '80.67.169.40' bind_recursion: true bind_allow_recursion: - - "192.168.1.0/24" \ No newline at end of file + - "192.168.1.0/24" diff --git a/host_vars/arch3 b/host_vars/arch3 new file mode 100644 index 0000000..a7a206e --- /dev/null +++ b/host_vars/arch3 @@ -0,0 +1 @@ +ttrss_url_path: http://arch3/tt-rss/ \ No newline at end of file diff --git a/host_vars/pi2 b/host_vars/pi2 index e69de29..725e3b8 100644 --- a/host_vars/pi2 +++ b/host_vars/pi2 @@ -0,0 +1 @@ +ttrss_url_path: "https://www.{{domain.name}}/tt-rss" \ No newline at end of file