ovh_instance_playbooks/vars/main.yml
2024-10-23 20:26:36 +02:00

23 lines
584 B
YAML

---
SHORTNAME: "{{ target_name.split('.')[0] }}"
DOMAIN: "{{ target_name[target_name.index('.') + 1:] }}"
OS_IMAGE: Rocky Linux 9
OS_FLAVOR: b2-7
OS_KEY_NAME: "{{ DOMAIN.split('.')[0] }}"
SWIFT_REGIONNAME: "GRA"
LINUX_USERNAME: "yohan"
# Path of SSH key pair on Ansible controller
PRIVATE_KEY_FILE: "{{ lookup('env', 'HOME') }}/.ssh/id_rsa"
PUBLIC_KEY_FILE: "{{ lookup('env', 'HOME') }}/.ssh/id_rsa.pub"
ANSIBLE_WORKDIR: ".tmp_deploy_ovh"
DUPLICITY_WORKDIR: /mnt/volumes/tmp_duplicity_workdir/data
DUPLICITY_ARCHIVE_DIR: /mnt/volumes/duplicity_cache/data
SECRET_SSH_PORT: 2224