Ansible Notes: Difference between revisions

From Federal Burro of Information
Jump to navigationJump to search
No edit summary
No edit summary
Line 4: Line 4:
  cat /tmp/david/report.java  | perl -n -e " $/ = '' ; print join ( ',' , split\"\n\" ) . \"\n\"; " | more
  cat /tmp/david/report.java  | perl -n -e " $/ = '' ; print join ( ',' , split\"\n\" ) . \"\n\"; " | more
</pre>
</pre>
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

Revision as of 14:37, 1 May 2015

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