Created
February 15, 2014 03:36
-
-
Save weirdbricks/9014214 to your computer and use it in GitHub Desktop.
ansible notes on converting the packaging system and installing apache in ad-hoc mode
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
ansible jail1 -m raw -a "pkg_add -r pkg python27" | |
ansible jail1 -m file -a "dest=/usr/local/etc/pkg/repos/ owner=root group=wheel state=directory" | |
ansible jail1 -m copy -a "src=/root/FreeBSD.conf dest=/usr/local/etc/pkg/repos/FreeBSD.conf" | |
ansible jail1 -m raw -a "pkg2ng" | |
ansible jail1 -m raw -a "pkg update -f" | |
ansible jail1 -m raw -a "pkg upgrade -y" | |
ansible jail1 -m raw -a "pkg update -f" | |
ansible jail1 -m pkgng -a "name=apache22 state=present cached=no" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment