Compare commits

...
3 Commits
Author SHA1 Message Date
jmrothst 78b5d8c88f Add some missing depends in the make file
Signed-off-by: Jason Rothstein <fdragon@fdragon.org>
2026-08-01 20:16:55 -05:00
jmrothst 3de4d3c17c Blank role requirements so makefile works
Signed-off-by: Jason Rothstein <fdragon@fdragon.org>
2026-08-01 20:16:55 -05:00
jmrothst 01adbd4d18 Removed known host manipulation
Signed-off-by: Jason Rothstein <fdragon@fdragon.org>
2026-08-01 20:16:51 -05:00
3 changed files with 8 additions and 20 deletions
+5 -5
View File
@@ -21,22 +21,22 @@ collectionforce:
ansible-galaxy collection install -r ./collections/requirements.yml --force
.PHONY: ping
ping:
ping: galaxy
ansible -m ping all
.PHONY: setup
setup:
setup: galaxy
ansible -m setup all
.PHONY: reboot
reboot:
reboot: galaxy
ansible -m reboot all
.PHONY: playbook
playbook:
playbook: galaxy
ansible-playbook test.yml
.PHONY: checkdiff
checkdiff:
checkdiff: galaxy
ansible-playbook test.yml --check --diff
-15
View File
@@ -1,15 +0,0 @@
---
- name: 'all'
hosts: 'all'
gather_facts: false
serial: 1
tasks:
- name: 'Remove known_host file entries'
delegate_to: 'localhost'
ansible.builtin.shell:
ssh-keygen -f ~/.ssh/known_hosts -R {{ inventory_hostname }}
- name: 'Add known_hosts file entries'
delegate_to: 'localhost'
ansible.builtin.shell:
ssh-keyscan {{ inventory_hostname }} >> ~/.ssh/known_hosts
...
+3
View File
@@ -0,0 +1,3 @@
---
roles:
...