Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/prabhu/ansible-fedora-ghost
Ansible playbook for installing ghost blogging platform on Fedora
https://github.com/prabhu/ansible-fedora-ghost
ansible fedora ghost
Last synced: 9 days ago
JSON representation
Ansible playbook for installing ghost blogging platform on Fedora
- Host: GitHub
- URL: https://github.com/prabhu/ansible-fedora-ghost
- Owner: prabhu
- Created: 2019-12-23T16:22:47.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-12-23T16:23:01.000Z (about 5 years ago)
- Last Synced: 2024-11-12T22:37:33.105Z (2 months ago)
- Topics: ansible, fedora, ghost
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Introduction
Simple ansible playbook to install [ghost](https://ghost.org) with mysql 5.7 on Fedora.
## Setup
Install fedora. Create a user called fedora with a password (Kimsufi default setup)
Create hosts inventory file with server ip
```bash
cp hosts.example hosts
```Create ansible vault with the password for `fedora` user
```bash
ansible-vault create passwords.yml
``````bash
ansible-playbook -i hosts --ask-vault-pass --extra-vars '@passwords.yml' setup.yml
```## Manual steps
Setup MySQL password
```bash
# grep 'temporary password' /var/log/mysqld.log
# mysql -uroot -p
mysql> ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';
``````bash
su - ghostd
cd /var/www/ghost/
ghost install
```Letsencrypt setup
```bash
certbot --nginx
```