aboutsummaryrefslogtreecommitdiffstats
path: root/CCNP/TBSHOOT/Infrastructure-Services/Device-Management/Telnet-SSH/Jean-Christophe_Manciot/1+/TT 1-solutions-linux-/Ansible/pull_configs.yml
blob: be9d9cd3fc648db09087a664b6c146124c3bb9e0 (plain)
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
---
###################################################################################################################
# pull_configs.yml
###################################################################################################################
# Copyright 2016 Jean-Christophe Manciot <manciot.jeanchristophe@gmail.com>
#
# Licensed under a Creative Commons Attribution 4.0 International License;
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#    http://creativecommons.org/licenses/by/4.0/
#
# You are free to:
#
# o Share — copy and redistribute the material in any medium or format
# o Adapt — remix, transform, and build upon the material
# o for any purpose, even commercially.
#
# The licensor cannot revoke these freedoms as long as you follow the license terms.
#
# Attribution — You must give appropriate credit, provide a link to the license, and indicate if changes were made. 
# You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
###################################################################################################################

# All your specific data are expected in the group_vars/all/ files, group_vars/{{ os_family }}/ files and host_vars/{{ inventory_hostname }}/ files if necessary

- name: Pulling IOSv startup and running configs
  hosts:
    - iosv
  gather_facts: no
  roles:
    - { role: ios_pull_config, config: startup-config, with_date_time: 'no' }
    - { role: ios_pull_config, config: running-config, with_date_time: 'no' }

...