Skip to content

Commit 8ced7c2

Browse files
committed
refactor: move declaration of remote user out of inventory file
This change reduces differences between prod.inventory and mystamps.inventory to let us merge them later. Part of #1631 [skip ci]
1 parent f58d972 commit 8ced7c2

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

infra/vagrant/provisioning/prod.inventory

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
my-stamps.ru ansible_host=46.101.232.167
66

77
[all:vars]
8-
ansible_user=coder
98
ansible_ssh_private_key_file=/Users/coder/.ssh/mystamps_rsa
109

1110
# https://docs.ansible.com/ansible/2.10/reference_appendices/python_3_support.html#using-python-3-on-the-managed-machines-with-commands-and-playbooks

infra/vagrant/provisioning/prod.yml

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
- hosts: all
33
gather_facts: no
4+
remote_user: coder
45
become: yes
56
become_method: sudo
67
vars:

0 commit comments

Comments
 (0)