This repository has been archived by the owner on Jun 28, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
requirements
TiTom edited this page Nov 22, 2016
·
1 revision
- To use
ztp-install-packages
role you must use a Debian like system suportingAPT
- User configured for SSH access must be part of
sudo
group on ztp-servers
Minimum version: 2.1.2.0
ansible --version
ansible 2.1.2.0
ZTP server: tested on Ubuntu 14.04 / 16.04 and latest
ansible-ztp:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04 LTS
Release: 16.04
Codename: xenial
tom@automation-ztp:~/ansible-junos-ztp$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.2 LTS
Release: 14.04
Codename: trusty
As Ansible is using askpass to setup ssh
connection, you have to ensure hostkey
is already configured on your server. If it is not, you can deactivate hostkey checking by ansible. In your ansible configuration add the following line:
cat ~/.ansible.cfg
[defaults]
host_key_checking = False
This repository uses its own ansible.cfg
file to store local parameters. Content of this file is provided below:
[defaults]
host_key_checking = False
inventory = hosts.ini
As inventory file is set to hosts.ini, there is no need to specify the value if you are using this one.