2021-02-09 17:05:00 +01:00
|
|
|
---
|
|
|
|
# file: inventories/host_vars/default
|
|
|
|
|
|
|
|
aws_access_key_id: "{{ lookup('env','ANSIBLE_AWS_ACCESS_KEY_ID') }}"
|
2021-07-14 21:38:30 +02:00
|
|
|
aws_output: "{{ lookup('env','ANSIBLE_AWS_DEFAULT_OUTPUT') or 'json' }}"
|
2021-02-09 17:05:00 +01:00
|
|
|
aws_region: "{{ lookup('env','ANSIBLE_AWS_DEFAULT_REGION') or 'eu-west-1' }}"
|
|
|
|
aws_secret_access_key: "{{ lookup('env','ANSIBLE_AWS_SECRET_ACCESS_KEY') }}"
|
2021-07-14 21:38:30 +02:00
|
|
|
disks_packages:
|
|
|
|
- { "name": "e2fsprogs-extra", "state": "present" }
|
|
|
|
- { "name": "nfs-utils", "state": "present" }
|
2021-07-15 00:58:24 +02:00
|
|
|
hosts_git_repositories:
|
2021-02-09 17:05:00 +01:00
|
|
|
- { "repo": "{{ lookup('env','ANSIBLE_GIT_REPOSITORY') }}", "dest": "{{ lookup('env','ANSIBLE_GIT_DIRECTORY') }}", "key_file": "{{ lookup('env','ANSIBLE_GIT_KEY_FILE') or '~/.ssh/id_rsa' }}", "version": "{{ lookup('env','ANSIBLE_GIT_VERSION') }}" }
|
|
|
|
hosts_packages:
|
|
|
|
- { "name": "ansible", "state": "present" }
|
2021-07-14 21:38:30 +02:00
|
|
|
hosts_services:
|
|
|
|
- { "name": "zram", "state": "started", "enabled": "yes" }
|
2022-06-30 23:37:10 +02:00
|
|
|
hosts_update: true
|
2021-02-09 17:05:00 +01:00
|
|
|
hosts_user_env:
|
|
|
|
- ANSIBLE_AWS_ACCESS_KEY_ID
|
|
|
|
- ANSIBLE_AWS_SECRET_ACCESS_KEY
|
|
|
|
- ANSIBLE_CONFIG
|
|
|
|
- ANSIBLE_DISKS_NFS_DISK
|
|
|
|
- ANSIBLE_DISKS_NFS_OPTIONS
|
|
|
|
- ANSIBLE_DISKS_NFS_PATH
|
|
|
|
- ANSIBLE_DOCKER_IMAGE_TAG
|
|
|
|
- ANSIBLE_DOCKER_REGISTRY
|
|
|
|
- ANSIBLE_EXTRA_VARS
|
|
|
|
- ANSIBLE_GIT_DIRECTORY
|
|
|
|
- ANSIBLE_GIT_KEY_FILE
|
|
|
|
- ANSIBLE_GIT_REPOSITORY
|
|
|
|
- ANSIBLE_INVENTORY
|
2021-07-15 00:58:24 +02:00
|
|
|
- ANSIBLE_MYOS
|
2021-02-09 17:05:00 +01:00
|
|
|
- ANSIBLE_PLAYBOOK
|
|
|
|
- ENV
|
2021-07-14 21:38:30 +02:00
|
|
|
hosts_user_rc_enable: true
|
|
|
|
hosts_user_rc_functions:
|
|
|
|
- { "path": "10_prompt_set", "state": "touch" }
|
|
|
|
- { "path": "10_ps1_set", "state": "touch" }
|
|
|
|
- { "path": "30_pfetch", "state": "touch" }
|
|
|
|
- { "path": "30_screen_attach", "state": "touch" }
|
|
|
|
- { "path": "40_ssh_add", "state": "touch" }
|