Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit 73abfaa2 authored by Arthur BOUDREAULT's avatar Arthur BOUDREAULT Committed by Thomas MICHEL
Browse files

Resolve "fix: ansible_ssh_user override"

parent 62577f6f
No related branches found
No related tags found
No related merge requests found
...@@ -11,8 +11,8 @@ common_user_profile: | ...@@ -11,8 +11,8 @@ common_user_profile: |
alias ll='ls -lah' alias ll='ls -lah'
alias tmuxa='tmux attach || tmux' alias tmuxa='tmux attach || tmux'
users: users:
- username: "{{ ansible_ssh_user }}" - username: "{{ ansible_deploy_user }}"
name: "{{ ansible_ssh_user }}" name: "{{ ansible_deploy_user }}"
group: "{{ admin_group }}" group: "{{ admin_group }}"
ssh_key: ssh_key:
- "{{ lookup('file', './files/ssh/team/thomas@lydra.fr.pub') }}" - "{{ lookup('file', './files/ssh/team/thomas@lydra.fr.pub') }}"
......
--- ---
ansible_python_interpreter: /usr/bin/python3 ansible_python_interpreter: /usr/bin/python3
ansible_port: 22 ansible_port: 22
ansible_ssh_user: "deploy" ansible_deploy_user: "deploy"
ansible_ssh_user: "{{ ansible_deploy_user }}"
env_type: "{{ inventory_file.split('/')[-1] }}" env_type: "{{ inventory_file.split('/')[-1] }}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment