--- # DEVS ANSIBLE DEFINITIONS # File inventory/group_vars/all/connections.yml # Global Definitions & Parameters # Created 2024-03-14-00:12:00 # Updated 2024-06-01-00:41:00 # Devops Default Path Configuration # Base & Default configuration timeout_connection: 15 bootstrap_wait_for_host: false default_tz: "America/Panama" default_lang: "{{ lookup('env','DEVS_LANG') | default('es', true) }}" timezone: "{{ lookup('env','TZ') | default(default_tz, true) }}" ansible_ssh_common_args: "-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" ansible_python_interpreter: /usr/bin/python3 ansible_today: "{{ lookup('pipe','date +%Y-%m-%d-%H:%M:%S') }}" # Base paths devs_default: "{{ lookup('env','DEVS_DEFAULT') | default('devs', true) }}" home_path: "{{ lookup('env','HOME') }}" initial_path: "{{ lookup('env','AWXPATH') | default(home_path + '/' + devs_default, true) }}" bin_path: "{{ initial_path }}/bin" playbook_path: "{{ bin_path }}/ansible" include_path: "{{ playbook_path }}/includes" role_path: "{{ playbook_path }}/roles" collection_path: "{{ playbook_path }}/collections" assert_path: "{{ playbook_path }}/asserts" # Inventory paths inventory_default: "{{ initial_path }}/inventory }}/" inventory_path: "{{ lookup('env','INV_PATH') | default(inventory_default, true) }}" inventory_group_path: "{{ lookup('env','INV_GROUP') | default(inventory_path + 'group_vars', true) }}" inventory_host_path: "{{ lookup('env','INV_HOST') | default(inventory_path + 'host_vars', true) }}" inventory_all_path: "{{ lookup('env','INV_ALL') | default(default(inventory_group_path + '/all', true) }}" # Messages definitions messages_path: "{{ lookup('env','MESSAGES_PATH')| default(playbook_path + '/messages', true) }}" messages_prefix: "MESG" # ssh configuration ssh_default_path: "{{ home_path }}/.ssh" ssh_prefix_devops: id_github_rsa ssh_prefix_server: id_rsa ssh_pri_devops_default: "{{ ssh_prefix_devops }}" ssh_pub_devops_default: "{{ ssh_prefix_devops }}.pub" ssh_pri_server_default: "{{ ssh_prefix_server }}" ssh_pub_server_default: "{{ ssh_prefix_server }}.pub" ssh_forced: no ssh_key_type: RSA ssh_key_size: 4096 # Messages types info: "INFO: " warn: "ALERTA: " fail: "ERROR: " # Templates paths template_path: "{{ lookup('env','TEMPLATE_PATH') | default(bin_path + '/templates', true) }}" # Managed paths managed_path: "/etc/managed" # Temporal update flag files ansible_remote_tmp: /tmp