From 66e509fde2fd863b90daec20163c34c70b985ca3 Mon Sep 17 00:00:00 2001 From: Julio Biason Date: Mon, 19 Oct 2020 11:29:51 -0300 Subject: [PATCH] Got some stuff required by NextCloud installed --- playbook.yml | 74 +++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 71 insertions(+), 3 deletions(-) diff --git a/playbook.yml b/playbook.yml index 47bb916..9813042 100644 --- a/playbook.yml +++ b/playbook.yml @@ -11,8 +11,76 @@ yum: name: nginx state: latest - - name: Start Nginx + - name: Enable Remi repo become: yes - service: - name: nginx + yum: + name: https://rpms.remirepo.net/enterprise/remi-release-7.rpm + state: installed + enablerepo: remi + + # NextCloud + # Redis 5 (although remi only has 6) + - name: Install Redis + become: yes + yum: + name: redis + state: latest + enablerepo: remi + + # Postgres + # + # PHP + PHP-FPM + - name: Install PHP + become: yes + yum: + name: + - php74 + - php74-php-gd + - php74-php-json + - php74-php-xml + - php74-php-mbstring + - php74-php-pecl-crypto + - php74-php-process + - php74-php-pecl-zip + - php74-php-pgsql + - php74-php-pecl-redis5 + - php74-php-fpm + state: latest + # Domain + + # Enable all services + - name: Reload Systemd Configuration + become: yes + systemd: + daemon_reload: yes + - name: Start Redis + become: yes + systemd: + name: redis state: started + enabled: yes + +# git +# user +# authorized_keys +# uwsgi +# cgit +# uwsgi-for-cgit config (/etc/uwsgi/apps-available) +# link /etc/uwsgi/apps-available to /etc/uwsgi/apps-enabled +# nginx domain +# hooks +# blog +# books +# presentations? +# blog +# zola +# nginx domain +# resume +# html +# nginx domain +# books +# mdbook +# nginx domain +# presentations +# nginx domain +