Skip to content

Commit

Permalink
Take the known_hosts file from git
Browse files Browse the repository at this point in the history
  • Loading branch information
hellais committed Feb 5, 2024
1 parent b7d3891 commit 5213d70
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/deploy_production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ jobs:
- name: Run Ansible Playbook
id: playbook
env:
# TODO(art): write a known_hosts file from terraform to avoid this
ANSIBLE_HOST_KEY_CHECKING: "False"
ANSIBLE_SSH_ARGS: "-o UserKnownHostsFile=known_hosts"
run: |
echo "ansible_playbook<<EOF" >> "$GITHUB_OUTPUT"
echo "\$ ansible-playbook playbook.yml -i inventory.ini" >> "$GITHUB_OUTPUT"
Expand Down

0 comments on commit 5213d70

Please sign in to comment.