aboutsummaryrefslogtreecommitdiff
path: root/roles/ssh
diff options
context:
space:
mode:
Diffstat (limited to 'roles/ssh')
l---------roles/ssh/hosts1
-rw-r--r--roles/ssh/tasks/main.yml2
2 files changed, 2 insertions, 1 deletions
diff --git a/roles/ssh/hosts b/roles/ssh/hosts
new file mode 120000
index 0000000..44453e3
--- /dev/null
+++ b/roles/ssh/hosts
@@ -0,0 +1 @@
+../../company/ssh-hosts/ \ No newline at end of file
diff --git a/roles/ssh/tasks/main.yml b/roles/ssh/tasks/main.yml
index a526b4e..8bc88cd 100644
--- a/roles/ssh/tasks/main.yml
+++ b/roles/ssh/tasks/main.yml
@@ -12,7 +12,7 @@
include_vars: '{{ item }}'
with_first_found:
- files:
- - '../hosts/{{ ansible_fqdn }}.yml'
+ - 'roles/ssh/hosts/{{ ansible_fqdn }}.yml'
skip: true
- name: ssh_config conf
bgstack15