Skip to content

Commit

Permalink
examples added1
Browse files Browse the repository at this point in the history
  • Loading branch information
Student User committed Jan 12, 2023
1 parent 03e16bc commit 23e43bb
Show file tree
Hide file tree
Showing 8 changed files with 2,009 additions and 0 deletions.
1 change: 1 addition & 0 deletions delegate/.ssh/known_hosts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
serverc.lab.example.com,172.25.250.12 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBCES4bZoDbhU0At5pVnccTsYWjKeB2nEjJ3dZCG1lRA3oQJvnPDzRTHzXBw/uBNx2vaBoFZpUzTddPNN8g4yKPY=
Empty file added delegate/ansible-navigator.log
Empty file.
3 changes: 3 additions & 0 deletions delegate/ansible.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[defaults]
inventory = inventory
remote_user = devops
664 changes: 664 additions & 0 deletions delegate/capitalize-artifact-2023-01-12T02:02:26.546606+00:00.json

Large diffs are not rendered by default.

664 changes: 664 additions & 0 deletions delegate/capitalize-artifact-2023-01-12T02:03:20.984134+00:00.json

Large diffs are not rendered by default.

664 changes: 664 additions & 0 deletions delegate/capitalize-artifact-2023-01-12T02:03:54.218428+00:00.json

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions delegate/capitalize.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
- name: Using default filter
hosts: dev
gather_facts: true
become: false
tasks:
- name: The variable my_var is defined with uppercase
debug:
msg: "The value of my_var is {{ my_var | default('ansible automation') | capitalize }}. The task is delegated to {{ ansible_host }}"
delegate_to: serverb.lab.example.com
...
2 changes: 2 additions & 0 deletions delegate/inventory
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[dev]
serverd.lab.example.com

0 comments on commit 23e43bb

Please sign in to comment.