Skip to content

Commit 083f930

Browse files
committed
testing new cicd
1 parent 58572b6 commit 083f930

3 files changed

Lines changed: 3 additions & 29 deletions

File tree

playbooks/config_backup.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

playbooks/consoles_pb.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# Testing
12
- name: CML console playbook
23
hosts: consoles
34
gather_facts: false

playbooks/ignore/config_backup.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
---
22
- name: Backup Cisco IOS-XE configurations
33
hosts: default
4-
gather_facts: no
4+
gather_facts: false
55
tasks:
6-
76
- name: Timestamp
87
set_fact:
98
timestamp: "{{ lookup('pipe', 'date +%Y%m%d-%H%M%S') }}"
@@ -18,10 +17,9 @@
1817
file:
1918
path: backups
2019
state: directory
21-
mode: '0755'
20+
mode: "0755"
2221

2322
- name: Save output to file
2423
copy:
2524
content: "{{ config_output.stdout[0] }}"
2625
dest: "backups/{{ inventory_hostname }}-running-config-{{ timestamp }}.cfg"
27-

0 commit comments

Comments
 (0)