-
Notifications
You must be signed in to change notification settings - Fork 5
/
stage.yml
55 lines (41 loc) · 1.58 KB
/
stage.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
---
### Requirement:
# NTP client requires server IP passes as "ntp_ip" extra-var (i.e. --extra-vars "ntp_ip=all.ntp.esl.cisco.com" if Cisco internal or a pubblic NTP server)
- hosts: all
become: true
gather_facts: yes
pre_tasks:
#- name: Update and update all packages to the latest version
# 23/5/18 commented out because duing a update when upgrading python
# apt:
# update_cache: yes
# #upgrade: dist
# tags: always
roles:
### Updating Python to version 2.7.14 required for Docker Compase installation
- python
### Installing easy_install and pip
- git
### Installing docker
- docker
### Taking care of the NTP configuration, a must for working with telemetry
- ntp
### Ansible is used from local utilities to manage the telemetry stack
- ansible
### Deploying enviroment (Pipeline, stacks and utility) - takes tag Lab for: XR_util, exabgp and Ostinato)
- environment
## Deploy utilities used in the XRv-server lab (not used for POC)
- lab
### Create an Ansible Vault file with the username, password and sudo password
### encryption password is the provided username password
- secret-vault
post_tasks:
- name: Successful completion message
vars:
msg: |
************************************************************************************
Provisioning completed.
************************************************************************************
debug:
msg: "{{ msg.split('\n') }}"
tags: always