This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# run this with ansible-playbook -i ansible_hosts bootstrap.yml -k -c paramiko | |
- hosts: jails_host | |
gather_facts: false | |
remote_user: root | |
tasks: | |
- name: install pkgng | |
raw: "pkg_info | grep -v 'pkg-' > /dev/null ; if $? pkg_add -r pkg; rehash ; pkg2ng; echo 'WITH_PKGNG=yes' >> /etc/make.conf; echo 'packagesite: http://pkgbeta.freebsd.org/freebsd%3A9%3Ax86%3A64/latest' >> /usr/local/etc/pkg.conf; pkg update ; pkg upgrade -y" | |
- name: install python27 | |
raw: "pkg install -y python27" |