This assumes that you have already installed:
- mariadb/mysql (no example provided)
- node v6 (see node-install.yml)
- ghost-cli latest (see ghost-cli-install.yml)
- nginx (see nginx-install-config.yml)
After that, running install-ghost.yml will:
- create you a db user (ghost cli may take this over in future)
- optionally create a record in CloudFlare, if you don't do this, point your domain at the server before running this
- install ghost with full SSL, which will handle all nginx and letsencrypt setup
Is there a reason you specify a
gid
/uid
for the user/group manually? Generally system users/groups should have auid
under 1000/ above 100.Defaults taken from
/etc/login.defs
on an Ubuntu 16.04 system: