Skip to content

User, httpd, selinux, firewald, php, mysql, wordpress, dayly backup script

License

Notifications You must be signed in to change notification settings

oleh-v/Ansible-VPS-Centos-Wordpress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible. Setup web-server. CentOS. + Wordpress + daily backup script

This Playbook deploy web-server running under CentOS:

  • hostname
  • create user
  • Apache
  • MySQL, mysql_secure_installation
  • PHP
  • SeLinux
  • firewall
  • install Wordpress
  • cron (backup)

Requirements

  • SSH root access to the target servers.

How to do that: Copy your public key to the target server with command below:

ssh-copy-id [email protected]

Usage

  • In ./ansible.cfg - check path to your private key and username
  • In ./group_vars/* - change the values of variables you need
  • In ./hosts - define Hostname or IP of target servers
  • Run Playbook:
ansible-playbook run.yml

About

User, httpd, selinux, firewald, php, mysql, wordpress, dayly backup script

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages