rppf / fabricator

:gear: An ansible role that will install PHP 7, Composer, Nodejs, Yarn, Redis, and Caddy into your Centos 7 server :gear:

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fabricator

Travis (.org) License

This role will install the following:

  • PHP 7.1
  • NodeJS 8.x (including npm and yarn)
  • MariaDB 10.2
  • Caddy
  • Redis 4.0.8

This is role is successfully tested on Centos 7.

How to use

Before executing Weaver, you must first check the default values of Weaver located in defaults/main.yml. You can change the values if you want.

Follow these steps if you're going to install packages to other server/s:

  1. Create a SSH Key by running this command.
ssh-keygen -t rsa
  1. Then copy the ssh key. ssh-copy-id user@hostname. For this example I will be using user root and a hostname localhost.
ssh-copy-id root@localhost
  1. Git clone this repo.

  2. Then inside the Weaver directory, create a playbook, inventory file, and an ansible configuration file.

  1. Then run this command inside the directory of Weaver
ansible-playbook -K playbook.yml

Alternative

If you're going to run Ansible in you local machine. Run this command in your terminal. You can skip steps 1 & 2 in perfoming this command.

ansible-playbook playbook.yml --connection=local

You can also choose what to be installed. The main task is located in tasks/main.yml.Just uncomment # the task you don't want to be installed.

License

MIT

Notes

If you are new to Ansible. Read their docs. If your looking for tutorials about Ansible. Check this youtube channel.

About

:gear: An ansible role that will install PHP 7, Composer, Nodejs, Yarn, Redis, and Caddy into your Centos 7 server :gear:

License:MIT License