diff --git a/ANSIBLE/.ansible_playbook_skeleton.xml.swo b/ANSIBLE/.ansible_playbook_skeleton.xml.swo new file mode 100644 index 00000000..d056330f Binary files /dev/null and b/ANSIBLE/.ansible_playbook_skeleton.xml.swo differ diff --git a/ANSIBLE/.ansible_playbook_skeleton.xml.swp b/ANSIBLE/.ansible_playbook_skeleton.xml.swp new file mode 100644 index 00000000..56b3c0f2 Binary files /dev/null and b/ANSIBLE/.ansible_playbook_skeleton.xml.swp differ diff --git a/ANSIBLE/.meta_Read_hosts_file.xml b/ANSIBLE/.meta_Read_hosts_file.xml new file mode 100755 index 00000000..7626bfcc --- /dev/null +++ b/ANSIBLE/.meta_Read_hosts_file.xml @@ -0,0 +1,43 @@ + + + + + DISPLAYNAME + Read_hosts_file.xml + + + DATE_MODIFICATION + 1613810772700 + + + REPOSITORY + CommandDefinition + + + DATE_CREATION + 1613810772692 + + + MODEL + 22062020 + + + TAG + + + FILE_TYPE + text + + + MANUFACTURER + 22062020 + + + TYPE + FILE + + + COMMENT + + + 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/Read_hosts_file.xml b/ANSIBLE/Read_hosts_file.xml new file mode 100644 index 00000000..72eabcb2 --- /dev/null +++ b/ANSIBLE/Read_hosts_file.xml @@ -0,0 +1,61 @@ + + + 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*?.*?$@ + + + + + + +
+
+ + + + + + +
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