We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b27225 commit c0aed1cCopy full SHA for c0aed1c
defaults/main.yml
@@ -1,5 +1,6 @@
1
---
2
ssh_config__env: "{{ inventory_file }}"
3
+ssh_config__when: "{{ ansible_limit is not defined }}"
4
ssh_config__dest_path: "~/.ssh/conf.d"
5
ssh_config__configs:
6
- Hostname {{ ansible_host | default(inventory_hostname) }}
tasks/main.yml
@@ -1,6 +1,7 @@
- name: SSH config
run_once: true
+ when: ssh_config__when
block:
- name: Create temp fragments dir
7
ansible.builtin.tempfile:
0 commit comments