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!
Hi Justin, may be better to shorten the part about SSH keys etc. Ansible assumes a running SSH key pair infrastructure. And those people can understand Ansible faster. Regards, Afsin
sorry, my comment was about first part: https://www.digitalocean.com/community/articles/how-to-install-and-configure-ansible-on-an-ubuntu-12-04-vps
How can I accomplish the following tasks using Ansinble:
The nginx server should: a) serve requests over port 8000 b) serve up a web page such as https://github.com/puppetlabs/exercise-webpage.
i) ensure that the required configuration is completed reliably when all the steps are completed ii) ensure that subsequent app locations of the solution do not cause failures or repeat redundant configuration tasks
Hi Justin, According to the ansible docs(http://docs.ansible.com/apt_module.html) the command equivalent to apt-get update is actually update_cache=yes rather than update_cache=true Otherwise, I like the tutorial.
Komu.
Great tutorial but there are lot of sections that are with exposed html … any chance you could clean that up?
It line above that says:
“Items at the same level of indentation are consisted sibling elements.”
should probably read:
Items at the same level of indentation are considered sibling elements.
Hi, I am trying to use ansible to edit a (add a new server ip to nrpe.cfg) config file on nagios clients.
i created file
sudo nano /etc/ansible/hosts
[cacheservers]
cacheserver2 ansible_ssh_host=xx.xx.xx.xx
cacheserver1 ansible_ssh_host=xx.xx.xx.xx
YAML file playbook
---
- name: NRPE
hosts: cacheservers
remote_user: ubuntu
sudo: yes
tasks:
- name: adding newserverip to nrpe.cfg
lineinfile: dest=/etc/nagios/nrpe.cfg
regexp="^allowed_hosts "
insertafter="^allowed_hosts=xx.xx.xx.xx"
line="allowed_hosts=xx.xx.xx.xx aa.aa.aa.aa"
in which path should i create YAML file for playbook and how to create a YAML file?