From 17fc31ba63edf0cb30c63d72107ddec4a7815124 Mon Sep 17 00:00:00 2001 From: Jakub Kadlcik Date: Sun, 20 Aug 2023 13:33:58 +0200 Subject: [PATCH] copr-pulp: I think I need to set ansible_ssh_user instead of remote_user --- inventory/host_vars/copr-pulp-dev.aws.fedoraproject.org | 1 + inventory/host_vars/copr-pulp.aws.fedoraproject.org | 1 + playbooks/groups/copr-pulp.yml | 2 -- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/inventory/host_vars/copr-pulp-dev.aws.fedoraproject.org b/inventory/host_vars/copr-pulp-dev.aws.fedoraproject.org index 63c513a428..7a880641a9 100644 --- a/inventory/host_vars/copr-pulp-dev.aws.fedoraproject.org +++ b/inventory/host_vars/copr-pulp-dev.aws.fedoraproject.org @@ -13,3 +13,4 @@ hostbase: copr-pulp-dev- public_ip: 44.206.10.188 swap_file_path: /swap swap_file_size_mb: 16384 +ansible_ssh_user: centos diff --git a/inventory/host_vars/copr-pulp.aws.fedoraproject.org b/inventory/host_vars/copr-pulp.aws.fedoraproject.org index 68b99c170b..5a883d19b0 100644 --- a/inventory/host_vars/copr-pulp.aws.fedoraproject.org +++ b/inventory/host_vars/copr-pulp.aws.fedoraproject.org @@ -14,3 +14,4 @@ nagios_Can_Connect: false public_ip: TODO swap_file_path: /swap swap_file_size_mb: 16384 +ansible_ssh_user: centos diff --git a/playbooks/groups/copr-pulp.yml b/playbooks/groups/copr-pulp.yml index c585efa421..6563c3ae38 100644 --- a/playbooks/groups/copr-pulp.yml +++ b/playbooks/groups/copr-pulp.yml @@ -1,7 +1,6 @@ - name: check/create instance hosts: copr_pulp_dev_aws:copr_pulp_aws gather_facts: False - remote_user: centos vars_files: - /srv/web/infra/ansible/vars/global.yml @@ -31,7 +30,6 @@ - name: cloud basic setup hosts: copr_pulp_dev_aws:copr_pulp_aws gather_facts: True - remote_user: centos vars_files: - /srv/web/infra/ansible/vars/global.yml