Skip to content

Instantly share code, notes, and snippets.

@psy-q
Created October 15, 2013 08:55
Show Gist options
  • Select an option

  • Save psy-q/6988699 to your computer and use it in GitHub Desktop.

Select an option

Save psy-q/6988699 to your computer and use it in GitHub Desktop.
Can't figure out why the sequence is different when run without --list-tasks
PLAY [192.168.56.102] *********************************************************
GATHERING FACTS ***************************************************************
ok: [192.168.56.102]
TASK: [Give madek a PostgreSQL user] ******************************************
failed: [192.168.56.102] => {"failed": true, "parsed": false}
invalid output was: sudo: unknown user: postgres
sudo: unable to initialize policy plugin
FATAL: all hosts have already failed -- aborting
PLAY RECAP ********************************************************************
to retry, use: --limit @/home/rca/site.retry
192.168.56.102 : ok=1 changed=0 unreachable=0 failed=1
play #14 (developer_vm_madek): host count=1
192.168.56.102
play #14 (developer_vm_madek):
Install python-apt (for the Ansible apt module)
Install lsb-release
Install requirements for managing repos via Ansible (python-pycurl)
zip is always something useful
unzip is always something useful
copy src=locale.sh dest=/etc/profile.d/locale.sh mode=775
Install locales
lineinfile dest=/etc/locale.gen state=present regexp='^en_GB.UTF-8 UTF_8' line='en_GB.UTF-8 UTF-8'
lineinfile dest=/etc/locale.gen state=absent regexp='^# en_GB.UTF-8 UTF-8'
Configure locales
Install VNC server
Install Fluxbox
Install xbase-clients
Install sudo
Allow 'developer' user to sudo anything on their VMs
Install Madek packages
Give madek a PostgreSQL user
Give madek a PostgreSQL database
Install Madek developer VM virtual host in Apache
Activate leihs virtual host
Install python-apt (for the Ansible apt module)
Install lsb-release
Install requirements for managing repos via Ansible (python-pycurl)
zip is always something useful
unzip is always something useful
Add GPG key for MariaDB packages
Add the MariaDB repository
Install MariaDB server
Install MariaDB client
Install MariaDB client library (dev packages)
Install MariaDB client library
Make sure MySQL server is absent
Make sure MySQL server (explicit version) is absent
Add the Iceweasel repository
Install Mozilla Debian GPG key package
Install Mozilla GPG key
Install Iceweasel
Install Chromedriver dependencies
Make sure no chromedriver is in /tmp
Download chromedriver
Unzip chromedriver
Stick chromedriver somewhere in the PATH
Change mode of chromedriver to be executable
Download PhantomJS
Stick PhantomJS somewhere in the PATH
Change mode of PhantomJS to be executable
Install python-apt (for the Ansible apt module)
Install lsb-release
Install requirements for managing repos via Ansible (python-pycurl)
zip is always something useful
unzip is always something useful
Install Ruby compilation dependencies
Install a JRE if jRuby needs to be installed
Check if RVM is installed
Install RVM
Check if Ruby {{ruby_version}} is installed
Install RVM Ruby {{ruby_version}}
Check if Ruby {{ruby_version}} has Bundler
Install bundler for Ruby {{ruby_version}}
Install packages necessary for Rails hosting
register ruby version variable
Install passenger gem
Check (messily) if mod_passenger has compiled
Compile mod_passenger
configure apache for mod_passenger (get snippet)
configure apache for mod_passenger (copy snippet)
Enable Passenger module
Install gherkin
Install Ragel parser
Update RubyGems
Recompile gherkin lexer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment