Today was an interesting day.
I needed ansible ( >= 1.9.2) for a quick research project that resided on Debian Wheezy.
The current version on backports is 1.7.2.
Here is my steps to compiling a Debian package from git.
export DEBFULLNAME="Brent Clark"
export DEBEMAIL="brentgclark@gmail.com"
sudo apt-get install cdbs debhelper dpkg-dev git-core reprepro python-setuptools devscripts build-essential asciidoc -y
cd /tmp
git clone git://github.com/ansible/ansible.git
cd /tmp/ansible
git submodule update --init --recursive
make deb
Ansible will too need these packages.
sudo apt-get install python-crypto python-httplib2 python-jinja2 python-markupsafe python-paramiko python-six python-yaml sshpass -y
And then, to install.
dpkg -i /tmp/ansible/deb-build/unstable/ansible_2.0.0-0.git201508210336.9bb95b5.devel~unstable_all.deb
And then to ensure all is working, run:
ansible localhost -m setup
HTH
Brent
Friday, August 21, 2015
Wednesday, August 19, 2015
Command line set timezone
In my environment I use vagrant, and I find the timezone that comes with the boxes is not my current location.
Therefore a quick and dirty hack to ensure the timezone reflects your location is:
cp /usr/share/zoneinfo/Africa/Johannesburg /etc/localtime
HTH
Brent
:)
Therefore a quick and dirty hack to ensure the timezone reflects your location is:
cp /usr/share/zoneinfo/Africa/Johannesburg /etc/localtime
HTH
Brent
:)
Subscribe to:
Posts (Atom)