Skip to content

Configure apache, php and mysql in distrubutions Debian, Ubutnu, CentOS e RedHat

License

Notifications You must be signed in to change notification settings

gmandrade/ansible-webserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

ansible-webserver

Configure apache, php and mysql in distrubutions Debian, Ubutnu, CentOS e RedHat

Confs:

  • Add in /etc/ansible/hosts:
[mygroup] 
192.168.1.1
192.168.1.2
.
.
.
192.168.1.n
  • Alter in file /etc/ansible/palybooks/webserver.yml:
- hosts: mygroup
  • Alter password in mysql root user:
command:  mysql -u root --execute="UPDATE mysql.user SET authentication_string = PASSWORD('pass') WHERE User = 'root' AND Host = 'localhost';"

About

Configure apache, php and mysql in distrubutions Debian, Ubutnu, CentOS e RedHat

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published