Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
You might want to have a look at our wordpress role for configuring (multiple) wordpress installations
This is a good intro to Ansible + WordPress. If anyone is looking for a more full-featured setup, Trellis is a set of Ansible playbooks/roles to provision a Ubuntu server with everything you’d need for a production WP site. It can also serve as a good example of more complicated Ansible roles/tasks if you want to roll your own.
This comment has been deleted
This comment has been deleted
This comment has been deleted
Hey all,
I’m fairly new to Ansible and I was going through this guide to help me understand ‘playbooks’ a bit better, but I am running into an issue with syntax in the ‘roles/wordpress/tasks/main.yml file’. I get the following error, http://pastebin.com/SS9fq12S.
I know it says it’s a “simple error to fix” and I’m sure it is, but I have tried all-sorts of different syntax edits to make this work. Can someone please let me know what I need to change please??
Thank you so much!!
Hello All, I’m newbie for Ansible i had followed every step and i go stuck at the end, plz find below the error
PLAY [wordpress] ***************************************************************
TASK [setup] ******************************************************************* ok: [103.36.84.104]
TASK [server : Update apt cache] *********************************************** ok: [103.36.84.104]
TASK [server : Install required software] ************************************** ok: [103.36.84.104] => (item=[u’apache2’, u’php5’, u’mysql-server’, u’php5-mysql’, u’libapache2-mod-php5’, u’php5-gd’, u’php5-curl’, u’php5-xmlrpc’, u’php5-intl’])
TASK [php : Install php extensions] ******************************************** ok: [103.36.84.104] => (item=[u’php5-gd’, u’libssh2-php’])
TASK [mysql : Create mysql database] ******************************************* fatal: [103.36.84.104]: FAILED! => {“changed”: false, “failed”: true, “msg”: “unable to connect to database, check login_user and login_password are correct or /home/imran/.my.cnf has the credentials. Exception message: (1045, "Access denied for user ‘imran’@‘localhost’ (using password: NO)")”}
NO MORE HOSTS LEFT ************************************************************* [ERROR]: Could not create retry file ‘playbook.retry’. The error was: [Errno 13] Permission denied: ‘playbook.retry’
PLAY RECAP ********************************************************************* 103.36.84.104 : ok=4 changed=0 unreachable=0 failed=1
My workaround was to create a /root/.my.cnf with this configuration: [client] user=root password=<my-password-here>
But still same error, plz help me out to get rid of the error.
Hi, this was a very useful tutorial thanks. Links to the newer one would be helpful.
Have a question here, I can do the entire setup with a bash script, Whats the benefit of actually using ansible. Pls help me understand. Should i really move to ansible ?