Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Commit

Permalink
Changed Ansible User (#398)
Browse files Browse the repository at this point in the history
* Changed host variable to stardardize name across repos.

* Changed deploy configs to change starkcompass-testing user to dev.

* Added retires to ssh-keyscan.

* Changed ansile user.
  • Loading branch information
samoht9277 authored Jan 11, 2024
1 parent f362ae6 commit f7d71e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions ansible/inventory.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ webservers:
hosts:
starknet_testing:
ansible_host: "{{ lookup('ansible.builtin.env', 'TS_HOST') }}"
ansible_user: starknet_explorer
ansible_user: dev
ansible_python_interpreter: /usr/bin/python3
ansible_ssh_private_key_file: "{{ lookup('ansible.builtin.env', 'ANSIBLE_SSH_PKEY_DIR') }}"
ansible_ssh_extra_args: '-o StrictHostKeyChecking=no'
2 changes: 1 addition & 1 deletion ansible/playbooks/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
- name: Delete tmp repo
file:
state: absent
path: /home/dev/tmp/madara_explorer
path: /home/dev/tmp/stark_compass_explorer

- name: Clone repo in tmp dir
ansible.builtin.git:
Expand Down

0 comments on commit f7d71e5

Please sign in to comment.