-
Install ansible:
brew install ansible
-
clone this repo onto your machine:
git clone git@github.com:TylerWebDev/twd.git
-
install ansible-galaxy requirements:
ansible-galaxy install -r requirements.txt
-
run composer install for dynamic inventory
composer install
ansible-playbook deploy.yml --ask-vault
ansible-vault edit roles/twd/files/env.ini
ansible-playbook deploy.yml --ask-vault --tags "twd"
vendor/bin/phpunit
- name (1 - 100)
- email (valid email)
- phone (10, digits only)
- cause (1 - 500)
{
"error_field1": [
"first error of error_field1",
"second error of error_field1"
],
"error_field2": [
"first error of error_field2",
]
}