51 lines
1.8 KiB
Plaintext
51 lines
1.8 KiB
Plaintext
---
|
|
# file: inventories/host_vars/default
|
|
|
|
aws_access_key_id: "{{ lookup('env','ANSIBLE_AWS_ACCESS_KEY_ID') }}"
|
|
aws_output_format: "{{ lookup('env','ANSIBLE_AWS_DEFAULT_OUTPUT') or 'json' }}"
|
|
aws_region: "{{ lookup('env','ANSIBLE_AWS_DEFAULT_REGION') or 'eu-west-1' }}"
|
|
aws_secret_access_key: "{{ lookup('env','ANSIBLE_AWS_SECRET_ACCESS_KEY') }}"
|
|
disks_additional_packages:
|
|
- e2fsprogs-extra
|
|
- nfs-utils
|
|
hosts_enable_cloudinit: false
|
|
hosts_enable_local: true
|
|
hosts_enable_rc: true
|
|
hosts_enable_zram: true
|
|
hosts_git_repositories:
|
|
- { "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" }
|
|
- { "name": "coreutils", "state": "present" }
|
|
- { "name": "curl", "state": "present" }
|
|
- { "name": "git", "state": "present" }
|
|
- { "name": "groff", "state": "present" }
|
|
- { "name": "htop", "state": "present" }
|
|
- { "name": "less", "state": "present" }
|
|
- { "name": "lsof", "state": "present" }
|
|
- { "name": "make", "state": "present" }
|
|
- { "name": "openssh-client", "state": "present" }
|
|
- { "name": "util-linux", "state": "present" }
|
|
- { "name": "vim", "state": "present" }
|
|
- { "name": "zsh", "state": "present" }
|
|
hosts_ssh_private_keys:
|
|
- "{{ lookup('env','ANSIBLE_SSH_PRIVATE_KEY') or '~/.ssh/id_rsa' }}"
|
|
hosts_ssh_users:
|
|
- aya
|
|
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
|
|
- ANSIBLE_PLAYBOOK
|
|
- ENV
|