Ansible Notes

From Federal Burro of Information
Revision as of 14:37, 1 May 2015 by David (talk | contribs)
Jump to navigationJump to search

output to one line:

 cat /tmp/david/report.java  | perl -n -e " $/ = '' ; print join ( ',' , split\"\n\" ) . \"\n\"; " | more

or -o :P


Git install

under rhel6:

cd ~
mkdir work
yum install gcc python-devel
git clone https://github.com/ansible/ansible.git
git submodule update --init --recursive
make install
mkdir /etc/ansible
vi /etc/ansible/hosts