diff --git a/ANSIBLE/.meta_Read_hosts_file.xml b/ANSIBLE/.meta_Read_hosts_file.xml
new file mode 100755
index 00000000..9d3de99b
--- /dev/null
+++ b/ANSIBLE/.meta_Read_hosts_file.xml
@@ -0,0 +1,43 @@
+
+
+
+
diff --git a/ANSIBLE/.meta_Read_playbook_file.xml b/ANSIBLE/.meta_Read_playbook_file.xml
index b9481e35..62eeb03c 100755
--- a/ANSIBLE/.meta_Read_playbook_file.xml
+++ b/ANSIBLE/.meta_Read_playbook_file.xml
@@ -15,7 +15,7 @@
MODEL
- 14020601
+ 22062020
TAG
@@ -26,7 +26,7 @@
MANUFACTURER
- 14020601
+ 22062020
TYPE
diff --git a/ANSIBLE/.meta_Retrieve_playbook_files_list.xml b/ANSIBLE/.meta_Retrieve_playbook_files_list.xml
index 524a2507..83f07fe4 100755
--- a/ANSIBLE/.meta_Retrieve_playbook_files_list.xml
+++ b/ANSIBLE/.meta_Retrieve_playbook_files_list.xml
@@ -15,7 +15,7 @@
MODEL
- 14020601
+ 22062020
TAG
@@ -26,7 +26,7 @@
MANUFACTURER
- 14020601
+ 22062020
TYPE
diff --git a/ANSIBLE/.meta_ansible_playbook_skeleton.xml b/ANSIBLE/.meta_ansible_playbook_skeleton.xml
index 56af752a..40bf5be1 100755
--- a/ANSIBLE/.meta_ansible_playbook_skeleton.xml
+++ b/ANSIBLE/.meta_ansible_playbook_skeleton.xml
@@ -15,7 +15,7 @@
MODEL
- 14020601
+ 22062020
TAG
@@ -26,7 +26,7 @@
MANUFACTURER
- 14020601
+ 22062020
TYPE
diff --git a/ANSIBLE/AnsiblePlaybook.xml b/ANSIBLE/AnsiblePlaybook.xml
deleted file mode 100755
index e6082d9b..00000000
--- a/ANSIBLE/AnsiblePlaybook.xml
+++ /dev/null
@@ -1,74 +0,0 @@
-
-
- none
- Call Ansible playbook on remote server
- none
-
- 0
- 5
- cli
-
-
- false
- false
- Default
- none
- false
- 0
-
- AnsiblePlaybook
- Default
- false
- 0
- false
- false
- false
- false
- param._order
-
-
-
-
-
-
-
-
-
-
-
-
- for file in /opt/playbooks/*; do echo $file; cat $file | shyaml get-values-0 0.vars_prompt |while IFS='' read -r -d '' row; do echo "$row";done | grep -E "name:"; done
- {assign var='line' value=''}
-{foreach from=$params.ansible_vars key=number item = varname}
-{assign var var='temp' value=$varname.var_name}
-{$line = "$line $temp"}
-{/foreach}
-{assign_object_variable var='extra_vars' value=$line}
-
-
- @^(?<playbook_path>\S+[^/]+?\.yml)*$@
-
-
-
-
-
-
- @^\S+?:\s+?(?<var_name>\S+)$@
- @^\s \s*$@
-
-
-
-
-
-
-
-
-
-
- sudo ansible-playbook {$params.playbook_path} --extra-vars {$params.extra_vars}
-
-
-
-
-
-
diff --git a/ANSIBLE/Read_hosts_file.xml b/ANSIBLE/Read_hosts_file.xml
new file mode 100644
index 00000000..23db21e3
--- /dev/null
+++ b/ANSIBLE/Read_hosts_file.xml
@@ -0,0 +1,63 @@
+
+
+ none
+
+ object_id
+
+ 0
+ 5
+ cli
+
+
+ false
+ false
+ false
+ 0
+
+ Read hosts file
+ Default
+ false
+ 0
+ false
+ false
+ false
+ false
+ param._order
+
+
+
+
+
+
+
+
+
+
+ cat /etc/ansible/hosts
+
+
+ @^\[(?<object_id>\S+?)\]$@
+
+
+
+
+
+
+ @^(?<host>\S+?)\s+?ansible_connection=(?<ansible_connection>\S+?)\s+?ansible_user=(?<ansible_user>\S+?)\s+?ansible_ssh_pass=(?<ansible_ssh_pass>\S+)\s*?.*?$@
+
+
+
+
+
+
+
+
+
+
+
+ echo '[{$params.object_id}]' >> /etc/ansible/hosts
+
+
+
+
+
diff --git a/ANSIBLE/Read_playbook_file.xml b/ANSIBLE/Read_playbook_file.xml
index e970c9bd..5b89a1f9 100755
--- a/ANSIBLE/Read_playbook_file.xml
+++ b/ANSIBLE/Read_playbook_file.xml
@@ -30,7 +30,7 @@
- cat /opt/playbooks/linux_firewall_creation.yml | tr "\n" "|"
+ cat /opt/playbooks/grenoble_server_route.yml | tr "\n" "|"
@^(?<text>.+?)$@
diff --git a/ANSIBLE/ansible_playbook_skeleton.xml b/ANSIBLE/ansible_playbook_skeleton.xml
index 326d2c9d..b0b112fe 100755
--- a/ANSIBLE/ansible_playbook_skeleton.xml
+++ b/ANSIBLE/ansible_playbook_skeleton.xml
@@ -16,7 +16,7 @@
0
ansible_playbook_skeleton
- Default
+ Dynamic|Ansible-based
false
0
false
diff --git a/CISCO/ISR/ansible_demo/.meta_host_records.xml b/CISCO/ISR/ansible_demo/.meta_host_records.xml
new file mode 100755
index 00000000..a858ba96
--- /dev/null
+++ b/CISCO/ISR/ansible_demo/.meta_host_records.xml
@@ -0,0 +1,43 @@
+
+
+
+
diff --git a/CISCO/ISR/ansible_demo/.meta_interfaces.xml b/CISCO/ISR/ansible_demo/.meta_interfaces.xml
new file mode 100755
index 00000000..e1f5ee45
--- /dev/null
+++ b/CISCO/ISR/ansible_demo/.meta_interfaces.xml
@@ -0,0 +1,42 @@
+
+
+
+
diff --git a/CISCO/ISR/ansible_demo/.meta_lldp_neighbour_details.xml b/CISCO/ISR/ansible_demo/.meta_lldp_neighbour_details.xml
new file mode 100755
index 00000000..0260c23f
--- /dev/null
+++ b/CISCO/ISR/ansible_demo/.meta_lldp_neighbour_details.xml
@@ -0,0 +1,43 @@
+
+
+
+
diff --git a/CISCO/ISR/ansible_demo/.meta_lldp_neighbours.xml b/CISCO/ISR/ansible_demo/.meta_lldp_neighbours.xml
new file mode 100755
index 00000000..82d67c04
--- /dev/null
+++ b/CISCO/ISR/ansible_demo/.meta_lldp_neighbours.xml
@@ -0,0 +1,43 @@
+
+
+
+
diff --git a/CISCO/ISR/ansible_demo/.meta_ospfv2_configuration.xml b/CISCO/ISR/ansible_demo/.meta_ospfv2_configuration.xml
new file mode 100755
index 00000000..795d0957
--- /dev/null
+++ b/CISCO/ISR/ansible_demo/.meta_ospfv2_configuration.xml
@@ -0,0 +1,43 @@
+
+
+
+
diff --git a/ANSIBLE/.meta_AnsiblePlaybook.xml b/CISCO/ISR/ansible_demo/.meta_ospfv2_general.xml
similarity index 83%
rename from ANSIBLE/.meta_AnsiblePlaybook.xml
rename to CISCO/ISR/ansible_demo/.meta_ospfv2_general.xml
index 3288eb01..81d16b4b 100755
--- a/ANSIBLE/.meta_AnsiblePlaybook.xml
+++ b/CISCO/ISR/ansible_demo/.meta_ospfv2_general.xml
@@ -3,7 +3,7 @@