Learning Ansible can be fucking frustrating. If you know what to do in
the shell, finding the Ansible playbook equivalent is difficult at first.
Type the command you would normally run below, and then see what would go
into the Ansible playbook below. The relevant Ansible docs will also be
shown.
Helper to translate shell commands to Ansible playbook entries.
Samples (click on a sample to try it)
apt-get install toilet fortune
sudo apt-get -y install toilet
apt-get remove lolcat
add-apt-repository -y ppa:foo/bar
apt-key adv --keyserver=hkp://keyserver.ubuntu.com:80 --recv-keys=1337
cp -r configs/ /etc/sandwich/
curl http://example.com/path/file.conf > /etc/foo.conf
docker run crccheck/hello-world
mkdir -p /tmp/farts/
npm install -g grunt-cli
pip install project_runpy==0.3.1
service elasticsearch start
Limitations
Very few commands are supported. Basically, just what's in these samples.
Options must be specified like --port=8000
, not --port 8000