mirror of
https://github.com/Crocmagnon/ansible.git
synced 2024-12-03 12:35:59 +01:00
add github inventory
This commit is contained in:
parent
83b33455f0
commit
c4cd000c13
3 changed files with 10 additions and 1 deletions
|
@ -1,3 +1,3 @@
|
|||
[env]
|
||||
ANSIBLE_INVENTORY = "{{config_root}}/inventory.yaml"
|
||||
ANSIBLE_INVENTORY = "{{config_root}}/inventories/local.yaml"
|
||||
ANSIBLE_VAULT_PASSWORD_FILE = "{{config_root}}/vault.pass"
|
||||
|
|
9
inventories/github.yaml
Normal file
9
inventories/github.yaml
Normal file
|
@ -0,0 +1,9 @@
|
|||
---
|
||||
servers:
|
||||
hosts:
|
||||
ubuntu:
|
||||
ansible_host: "{{ lookup('env', 'DEPLOY_HOST') }}"
|
||||
ansible_port: "{{ lookup('env', 'DEPLOY_PORT') }}"
|
||||
ansible_user: "{{ lookup('env', 'DEPLOY_USERNAME') }}"
|
||||
ansible_ssh_private_key_file: "{{ lookup('env', 'KEY_FILE') }}"
|
||||
ansible_python_interpreter: auto_silent
|
Loading…
Reference in a new issue