diff --git a/index.html b/files/index.html similarity index 100% rename from index.html rename to files/index.html diff --git a/zepto.min.js b/files/zepto.min.js similarity index 100% rename from zepto.min.js rename to files/zepto.min.js diff --git a/playbook.yml b/playbook.yml index 9be0232..7509a7d 100644 --- a/playbook.yml +++ b/playbook.yml @@ -27,7 +27,16 @@ enablerepo: remi # Postgres - # + - name: Install PostgreSQL + become: yes + yum: + name: postgresql-server + state: latest + + - name: NextCloud database + postgresql_db: + name: nextcloud + # PHP + PHP-FPM - name: Install PHP become: yes @@ -45,6 +54,8 @@ - php74-php-pecl-redis5 - php74-php-fpm state: latest + # Note to self: php-fpm is now in /opt/remi/php74/root/usr/sbin/php-fpm + # NextCloud itself # Domain diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..832cba6 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,17 @@ +[tool.poetry] +name = "juliobiason.me" +version = "0.1.0" +description = "Env for holding all the necessary packages for Ansible'ing my server" +authors = ["Julio Biason "] +license = "AGPL-3" + +[tool.poetry.dependencies] +python = "^3.9" +ansible = "^2.10.1" +psycopg2 = "^2.8.6" + +[tool.poetry.dev-dependencies] + +[build-system] +requires = ["poetry-core>=1.0.0"] +build-backend = "poetry.core.masonry.api"