Skip to content

Commit

Permalink
Merge pull request #58 from Diesel-Net/development
Browse files Browse the repository at this point in the history
Rebuild known_hosts file
  • Loading branch information
tomdaley92 authored Mar 24, 2022
2 parents bab7efa + 999884c commit 0f5eeb1
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .ansible/ansible.cfg
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[defaults]

stdout_callback = debug
host_key_checking = True
host_key_checking = False
retry_files_enabled = False

# Fixes ansible variable precedence issue: Makes inventory group_vars override playbook group_vars
Expand Down
9 changes: 6 additions & 3 deletions .ansible/bootstrap.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
- import_playbook: power_on.yaml
#- import_playbook: power_on.yaml


- hosts: manager:worker
strategy: linear
gather_facts: no
tasks:

- wait_for_connection:
# this will hang (until timeout is reached) if host keys change (host key verification failure)
# https://github.com/ansible/ansible/issues/58172
# need to test with NEW hosts to see how this behaves
#- wait_for_connection:

- include_role:
name: ubuntu
Expand Down Expand Up @@ -52,4 +55,4 @@
tasks_from: install_nvidia_toolkit


- import_playbook: power_off.yaml
#- import_playbook: power_off.yaml
3 changes: 3 additions & 0 deletions .ansible/inventory/development/hosts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ all:
manager:
hosts:

# temporary
192.168.50.4:

dev.diesel.net:

unity.diesel.net:
Expand Down
2 changes: 1 addition & 1 deletion .ansible/roles/requirements.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
- name: ubuntu
scm: git
src: "[email protected]:Diesel-Net/ansible-role-ubuntu.git"
version: 2.6.0
version: development

- name: common
scm: git
Expand Down

0 comments on commit 0f5eeb1

Please sign in to comment.