Skip to content

Commit

Permalink
task: disable host key checking in ansible to suppress interactive pr…
Browse files Browse the repository at this point in the history
…ompt

Part of #1631

[skip ci]
  • Loading branch information
php-coder committed Oct 17, 2023
1 parent 6b77f30 commit f58d972
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/provision-by-ansible.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ jobs:

- name: Run ansible
working-directory: infra/vagrant
env:
# Disable host key checking to suppress interactive prompt.
# See: https://docs.ansible.com/ansible/2.10/user_guide/connection_details.html#managing-host-key-checking
ANSIBLE_HOST_KEY_CHECKING: 'False'
run: ansible-playbook provisioning/prod.yml -i provisioning/prod.inventory

- name: Cleanup
Expand Down

0 comments on commit f58d972

Please sign in to comment.