Skip to content

🖥 Mac setup and configuration via Ansible

License

Notifications You must be signed in to change notification settings

gignonje/mac-playbook

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mac Ansible Playbook

The Web server (nginx), PHP and the services (MariaDB, Mailhog) are installed locally with Ansible.

All the management of the system (configuration, update, etc) goes through this tool which allows all the world to have a similar environment.

Install

You must first clone the repository to setup the environment.

$ xcode-select --install
$ git clone https://github.com/ter-informatique/mac-playbook.git ~/.mac-playbook
# With SSH
$ git clone [email protected]:ter-informatique/mac-playbook.git ~/.mac-playbook

Then you have to configure the environment:

$ cd ~/.mac-playbook
$ touch config.yml
$ vim config.yml

You can look in the file config.default.yml to customize your environment.

To avoid having to enter the SUDO password all the time we will encrypt our SUDO password with a password that will be stored in the keychain :

$ ./scripts/generate-ansible-password

Then :

$ make bootstrap

And to finish : reboot the computer.

From there, you can use the dev binary to manage the environment.

Usages

To list all commands just type dev.

License

mac-playbook is licensed under the MIT license.

About

🖥 Mac setup and configuration via Ansible

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 60.8%
  • Shell 23.6%
  • Makefile 15.6%