Add Ubuntu Support.
ansible-playbook play.yml -i attacksible --connection=local -K SUDO password:
PLAY [attacksible] ************************************************************
GATHERING FACTS *************************************************************** ok: [localhost]
TASK: [Remove current tool set in /opt] *************************************** ok: [localhost]
TASK: [Create a directory tree in /opt] *************************************** changed: [localhost]
TASK: [Copy: mega.co.nz downloader] ******************************************* changed: [localhost]
TASK: [System packages] ******************************************************* skipping: [localhost]
TASK: [Fedora-only sys-packages] ********************************************** skipping: [localhost]
TASK: [GUI environment sys-packages] ****************************************** skipping: [localhost]
TASK: [System packages] ******************************************************* failed: [localhost] => (item=clang,curl,patch,clamav,ferm,htop,keepnote,lighttpd,mysql-client,postgresql,postgresql-server-dev-all,postgresql,python,python-pip,python-dev,ruby-dev,bundler,openjdk-8-jdk,snmp,vim,libpcap-dev,p7zip,python-libpcap,tsocks,lldb,zlib1g-dev,subversion,libsqlite3-dev) => {"failed": true, "item": "clang,curl,patch,clamav,ferm,htop,keepnote,lighttpd,mysql-client,postgresql,postgresql-server-dev-all,postgresql,python,python-pip,python-dev,ruby-dev,bundler,openjdk-8-jdk,snmp,vim,libpcap-dev,p7zip,python-libpcap,tsocks,lldb,zlib1g-dev,subversion,libsqlite3-dev"} msg: No package matching 'openjdk-8-jdk' is available
FATAL: all hosts have already failed -- aborting
PLAY RECAP ******************************************************************** to retry, use: --limit @/root/play.retry
localhost : ok=4 changed=2 unreachable=0 failed=1
Thanks for the bug report.
It looks like none of the apt repos available to your system have openjdk-8-jdk. Can you give some more detail, such as the following?
cat /etc/debian_version
cat /etc/apt/sources.list
uname -a
Also, try running apt-get update before the ansible playbook, I've just seen that we haven't included this as an initial step (I'll commit that tonight).
I've just made some further additions to the debian packages (there's still a few roles to convert from only-redhat). Thsi includes the apt-get update.
Possibly this is an issue as I've been testing on Sid. I'll spin up a clean copy of Jessie tomorrow and test it out.
No Luck even after apt-get update:
root@bhyve-host:~/attacksible# ansible-playbook play.yml -i attacksible --connection=local -K SUDO password:
PLAY [attacksible] ************************************************************
GATHERING FACTS *************************************************************** ok: [localhost]
TASK: [Remove current tool set in /opt] *************************************** changed: [localhost]
TASK: [Create a directory tree in /opt] *************************************** changed: [localhost]
TASK: [Copy: mega.co.nz downloader] ******************************************* ok: [localhost]
TASK: [System packages] ******************************************************* skipping: [localhost]
TASK: [Fedora-only sys-packages] ********************************************** skipping: [localhost]
TASK: [GUI environment sys-packages] ****************************************** skipping: [localhost]
TASK: [System packages] ******************************************************* failed: [localhost] => (item=clang,curl,patch,clamav,ferm,htop,keepnote,lighttpd,mysql-client,postgresql,postgresql-server-dev-all,postgresql,python,python-pip,python-dev,ruby-dev,bundler,openjdk-8-jdk,snmp,vim,libpcap-dev,p7zip,python-libpcap,tsocks,lldb,zlib1g-dev,subversion,libsqlite3-dev) => {"failed": true, "item": "clang,curl,patch,clamav,ferm,htop,keepnote,lighttpd,mysql-client,postgresql,postgresql-server-dev-all,postgresql,python,python-pip,python-dev,ruby-dev,bundler,openjdk-8-jdk,snmp,vim,libpcap-dev,p7zip,python-libpcap,tsocks,lldb,zlib1g-dev,subversion,libsqlite3-dev"} msg: No package matching 'openjdk-8-jdk' is available
FATAL: all hosts have already failed -- aborting
PLAY RECAP ******************************************************************** to retry, use: --limit @/root/play.retry
localhost : ok=4 changed=2 unreachable=0 failed=1
root@bhyve-host:~/attacksible# cat /etc/debian_version
jessie/sid
root@bhyve-host:~/attacksible# cat /etc/apt/sources.list
#
# deb cdrom:[Ubuntu-Server 14.04.1 LTS _Trusty Tahr_ - Release amd64 (20140722.3)]/ trusty main restricted
# deb cdrom:[Ubuntu-Server 14.04.1 LTS _Trusty Tahr_ - Release amd64 (20140722.3)]/ trusty main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ trusty main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ trusty universe
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty universe
deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://us.archive.ubuntu.com/ubuntu/ trusty multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty multiverse
deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu trusty-security main restricted
deb-src http://security.ubuntu.com/ubuntu trusty-security main restricted
deb http://security.ubuntu.com/ubuntu trusty-security universe
deb-src http://security.ubuntu.com/ubuntu trusty-security universe
deb http://security.ubuntu.com/ubuntu trusty-security multiverse
deb-src http://security.ubuntu.com/ubuntu trusty-security multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu trusty partner
# deb-src http://archive.canonical.com/ubuntu trusty partner
## Uncomment the following two lines to add software from Ubuntu's
## 'extras' repository.
## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
# deb http://extras.ubuntu.com/ubuntu trusty main
# deb-src http://extras.ubuntu.com/ubuntu trusty main
root@bhyve-host:~/attacksible# uname -a
Linux bhyve-host 3.13.0-51-generic #84-Ubuntu SMP Wed Apr 15 12:08:34 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
Looks like ubuntu community is working on backporting to 14.04
https://bugs.launchpad.net/ubuntu/+source/openjdk-8/+bug/1341628
I installed jdk using this link..
Now it complains about lldb
TASK: [System packages] ******************************************************* failed: [localhost] => (item=clang,curl,patch,clamav,ferm,htop,keepnote,lighttpd,mysql-client,postgresql,postgresql-server-dev-all,postgresql,python,python-pip,python-dev,ruby-dev,bundler,openjdk-8-jdk,snmp,vim,libpcap-dev,p7zip,python-libpcap,tsocks,lldb,zlib1g-dev,subversion,libsqlite3-dev) => {"failed": true, "item": "clang,curl,patch,clamav,ferm,htop,keepnote,lighttpd,mysql-client,postgresql,postgresql-server-dev-all,postgresql,python,python-pip,python-dev,ruby-dev,bundler,openjdk-8-jdk,snmp,vim,libpcap-dev,p7zip,python-libpcap,tsocks,lldb,zlib1g-dev,subversion,libsqlite3-dev"} msg: No package matching 'lldb' is available
FATAL: all hosts have already failed -- aborting
PLAY RECAP ******************************************************************** to retry, use: --limit @/root/play.retry
localhost : ok=4 changed=2 unreachable=0 failed=1
root@bhyve-host:~/attacksible# apt-cache search lldb haskelldb-doc - transitional dummy package libghc-haskelldb-dev - Haskell library for expressing database queries libghc-haskelldb-doc - API documentation of haskelldb libghc-haskelldb-hdbc-dev - HaskellDB support for HDBC libghc-haskelldb-hdbc-doc - HaskellDB support for HDBC; documentation libghc-haskelldb-hdbc-odbc-dev - HaskellDB support for the HDBC ODBC driver libghc-haskelldb-hdbc-odbc-doc - HaskellDB support for the HDBC ODBC driver; documentation libghc-haskelldb-hdbc-odbc-prof - HaskellDB support for the HDBC ODBC driver; profiling libraries libghc-haskelldb-hdbc-postgresql-dev - HaskellDB support for the HDBC PostgreSQL driver libghc-haskelldb-hdbc-postgresql-doc - HaskellDB support for the HDBC PostgreSQL driver; documentation libghc-haskelldb-hdbc-postgresql-prof - HaskellDB support for the HDBC PostgreSQL driver; profiling libraries libghc-haskelldb-hdbc-prof - HaskellDB support for HDBC; profiling libraries libghc-haskelldb-hdbc-sqlite3-dev - HaskellDB support for the HDBC SQLite driver libghc-haskelldb-hdbc-sqlite3-doc - HaskellDB support for the HDBC SQLite driver; documentation libghc-haskelldb-hdbc-sqlite3-prof - HaskellDB support for the HDBC SQLite driver; profiling libraries libghc-haskelldb-prof - Haskell library for expressing database queries; profiling libraries lldb-3.3 - Next generation, high-performance debugger lldb-3.3-dev - Next generation, high-performance debugger - Header files lldb-3.4 - Next generation, high-performance debugger lldb-3.4-dev - Next generation, high-performance debugger - Header files lldb-3.5 - Next generation, high-performance debugger sdb - a command line client for Mono's soft debugger liblldb-3.5 - Next generation, high-performance debugger, library liblldb-3.5-dev - Next generation, high-performance debugger - Header files liblldb-3.6 - Next generation, high-performance debugger, library liblldb-3.6-dev - Next generation, high-performance debugger - Header files lldb-3.6 - Next generation, high-performance debugger python-lldb-3.5 - Next generation, high-performance debugger, python lib python-lldb-3.6 - Next generation, high-performance debugger, python lib lldb-3.5-dev - transitional dummy package to liblldb-3.5-dev lldb-3.6-dev - transitional dummy package to liblldb-3.6-dev root@bhyve-host:~/attacksible#
Ahhhh, I assumed you were running Debian. We haven't done any testing on Ubuntu at all. We've got Fedora, CentOS, and Debian supported presently. Ubuntu is next on the list for us to look at, probably a couple of weeks away.