From 5b4ad4283294ac86c56b1a52161260e8339d6605 Mon Sep 17 00:00:00 2001 From: vincent Date: Tue, 10 May 2022 08:36:05 +0200 Subject: [PATCH] cleanup server playbook --- group_vars/server/nextcloud | 21 --------------------- group_vars/server/php | 21 --------------------- group_vars/server/server | 19 ------------------- group_vars/server/vaultwarden | 6 ------ playbooks/server.yml | 9 --------- 5 files changed, 76 deletions(-) delete mode 100644 group_vars/server/nextcloud delete mode 100644 group_vars/server/php delete mode 100644 group_vars/server/vaultwarden diff --git a/group_vars/server/nextcloud b/group_vars/server/nextcloud deleted file mode 100644 index a0cbb21..0000000 --- a/group_vars/server/nextcloud +++ /dev/null @@ -1,21 +0,0 @@ - -nextcloud_SQl_target_file: /mnt/diskstation/git/backup/postgres/last/nextcloud.sql -nextcloud_db_password: "{{ vault_mysql_nextcloud }}" -nextcloud_admin_password: "{{ vault_nextcloud_admin }}" -nextcloud_admin_user: "{{user.name}}" -nextcloud_trusted_domains: - - localhost - - file.ducamps.win -nextcloud_config_options: # additional options to set in config.php - - option: overwrite.cli.url - value: "'https://file.ducamps.win'" - - option: maintenance - value: "false" - - option: loglevel - value: "'2'" - - option: installed - value: "true" - - option: config_is_read_only - value: "false" -nextcloud_datadirectory: /mnt/diskstation/nextcloud -nextcloud_data_directory_creation: false diff --git a/group_vars/server/php b/group_vars/server/php deleted file mode 100644 index a2f6ac8..0000000 --- a/group_vars/server/php +++ /dev/null @@ -1,21 +0,0 @@ -PHP_ReadWritePaths: - - /usr/share/webapps/nextcloud/apps - - /etc/webapps/nextcloud/config - - /mnt/diskstation -php_memory_limit: 512M #need for nextcloud be carefull on low memory device -php_extention_enable: - - iconv - - mysqli - - pdo_mysql - - pgsql - - pdo_pgsql - - soap - - intl - - bcmath #need for nextcloud - - gmp #need for nextcloud - - gd #need for nextcloud - - imagick #need for nextcloud - - exif # need for nextcloud -php_zend_extention_enable: - - opcache #need for nextcloud - \ No newline at end of file diff --git a/group_vars/server/server b/group_vars/server/server index 6f53278..8866fb6 100644 --- a/group_vars/server/server +++ b/group_vars/server/server @@ -22,26 +22,7 @@ Gandi_API_KEYS: "{{ vault_gandi_API_Keys }}" Gandi_Domain: "{{ domain.name }}" Gandi_Record: www - -ttrss_db_password: "{{ vault_mysql_ttrss }}" -ttrss_log_destination: "" -ttrss_SQl_target_file: /mnt/diskstation/git/backup/postgres/last/ttrss.sql -ttrss_url_path: "https://www.{{domain.name}}/tt-rss" -ttrss_url_path: "https://www.{{domain.name}}/tt-rss" - - -supysonic_db_password: "{{ vault_mysql_supysonic }}" -supysonic_SQl_target_file: /mnt/diskstation/git/backup/postgres/last/supysonic.sql -supysonic_force_site_update: true - docker_users: "{{user.name}}" - -hass_SQl_target_file: /mnt/diskstation/git/backup/postgres/last/hass.sql -hass_db_password: "{{ vault_mysql_hass }}" -hass_repo: "git@git.{{ domain.name }}:2222/vincent/HASS_conf.git" -hass_users: "{{user.name}}" - - keystodeploy: - name: juicessh with password user: "{{user.name}}" diff --git a/group_vars/server/vaultwarden b/group_vars/server/vaultwarden deleted file mode 100644 index 7a25396..0000000 --- a/group_vars/server/vaultwarden +++ /dev/null @@ -1,6 +0,0 @@ -vaultwarden_baseURL: https://vault.ducamps.win -vaultwarden_db_type: postgresql -vaultwarden_port: 8081 -vaultwarden_websocket_port: 3012 -vaultwarden_db_password: "{{ vault_db_vaultwarden }}" -vaultwarden_SQl_target_file: /mnt/diskstation/git/backup/postgres/last/vaultwarden.sql diff --git a/playbooks/server.yml b/playbooks/server.yml index 1ae51de..d64a6ab 100644 --- a/playbooks/server.yml +++ b/playbooks/server.yml @@ -19,15 +19,6 @@ become: true - role: ansible-role-postgresql become: true - - role: radicale - become: true - - php - - nextcloud - - tt-rss - - supysonic - - hass - - role: ansible-vaultwarden - become: true - role: ansible-role-samba become: true - chainetv