mirror of
				https://github.com/krislamo/freecloud
				synced 2025-10-31 01:38:33 +00:00 
			
		
		
		
	Merge branch 'production'
This commit is contained in:
		
							
								
								
									
										8
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							| @@ -5,6 +5,10 @@ | ||||
| *.retry | ||||
|  | ||||
| # Production files | ||||
| group_vars/production.yml | ||||
| group_vars/.gitignore | ||||
| *.yml | ||||
| host_vars/** | ||||
|  | ||||
| # Testing env exceptions | ||||
| !testing.yml | ||||
| !./host_vars/all.yml | ||||
|  | ||||
|   | ||||
| @@ -1,13 +0,0 @@ | ||||
| ## Nextcloud Configuration ## | ||||
| nc_version: 16.0.3 | ||||
| nc_sha256sum: a13f68ce47a1362318629ba5b118a59fa98358bb18f4afc371ea15104f2881f3 | ||||
|  | ||||
| nc_domain: www.example.com | ||||
| nc_docroot: /var/www/nextcloud | ||||
|  | ||||
| nc_db: nextcloud | ||||
| nc_db_user: nextcloud | ||||
| nc_db_pass: nc+password | ||||
|  | ||||
| nc_admin: admin | ||||
| nc_admin_pass: ncadmin+password | ||||
| @@ -1,29 +0,0 @@ | ||||
| # Freedom Cloud. Management code for a self-hosted file server. | ||||
| # Copyright (C) 2019  Kris Lamoureux | ||||
| # | ||||
| # This program is free software: you can redistribute it and/or modify | ||||
| # it under the terms of the GNU General Public License as published by | ||||
| # the Free Software Foundation, version 3 of the License. | ||||
| # | ||||
| # This program is distributed in the hope that it will be useful, | ||||
| # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
| # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | ||||
| # GNU General Public License for more details. | ||||
| # | ||||
| # You should have received a copy of the GNU General Public License | ||||
| # along with this program.  If not, see <https://www.gnu.org/licenses/>. | ||||
|  | ||||
|  | ||||
| - name: Install Backup Server | ||||
|   hosts: production | ||||
|   become: true | ||||
|  | ||||
|   pre_tasks: | ||||
|     - name: Install Ansible requirements | ||||
|       shell: apt-get update && apt-get install -y python-apt aptitude | ||||
|       args: | ||||
|         creates: /usr/lib/python2.7/dist-packages/apt/__init__.py | ||||
|         warn: false | ||||
|  | ||||
|   roles: | ||||
|     - nextcloud | ||||
| @@ -83,7 +83,8 @@ | ||||
|             --database-user "{{ nc_db_user }}" | ||||
|             --database-pass "{{ nc_db_pass }}" | ||||
|             --admin-user "{{ nc_admin }}" | ||||
|             --admin-pass "{{ nc_admin_pass }}"' | ||||
|             --admin-pass "{{ nc_admin_pass }}" | ||||
|             --data-dir "{{ nc_data }}"' | ||||
|   register: nc_install | ||||
|   args: | ||||
|     warn: false | ||||
|   | ||||
		Reference in New Issue
	
	Block a user