Skip to content

Commit

Permalink
reorganize the inventory file
Browse files Browse the repository at this point in the history
  • Loading branch information
kthare10 committed May 13, 2024
1 parent 3aea4f9 commit 062f629
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion fabric_am/playbooks/inventory_template
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
# file: fabric

[fabric_p4_switch]
renc-p4.fabric-testbed.net ansible_host=192.168.11.7 ansible_ssh_pass=XXXX ansible_python_interpreter=/nix/var/nix/profiles/RARE/bin/python3.10
renc-p4.fabric-testbed.net ansible_host=192.168.11.7
renc-p4.fabric-testbed.net ansible_python_interpreter=/nix/var/nix/profiles/RARE/bin/python3.10
renc-p4.fabric-testbed.net ansible_ssh_user=rare
renc-p4.fabric-testbed.net ansible_ssh_pass=XXXX


[fabric_site_worker]
renc-w1.fabric-testbed.net ansible_host=192.168.11.11
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

- name: Set bootnext with efibootmgr
shell: |
echo {{ switch_password }} | sudo -S efibootmgr --bootnext 0004
echo {{ ansible_ssh_pass }} | sudo -S efibootmgr --bootnext 0004
args:
executable: /bin/bash
register: efibootmgr_output
Expand Down

0 comments on commit 062f629

Please sign in to comment.