Fix typo in variable name: ssh_bastion_confing__name -> ssh_bastion_config_name (#13046)

This commit is contained in:
Chen-Hsien, Huang
2026-02-24 20:45:37 +08:00
committed by GitHub
parent d80983875c
commit ba55ece670
3 changed files with 5 additions and 5 deletions

View File

@@ -1,2 +1,2 @@
--- ---
ssh_bastion_confing__name: ssh-bastion.conf ssh_bastion_config_name: ssh-bastion.conf

View File

@@ -8,8 +8,8 @@
tasks: tasks:
- name: Copy config to remote host - name: Copy config to remote host
copy: copy:
src: "{{ playbook_dir }}/{{ ssh_bastion_confing__name }}" src: "{{ playbook_dir }}/{{ ssh_bastion_config_name }}"
dest: "{{ ssh_bastion_confing__name }}" dest: "{{ ssh_bastion_config_name }}"
owner: "{{ ansible_user }}" owner: "{{ ansible_user }}"
group: "{{ ansible_user }}" group: "{{ ansible_user }}"
mode: "0644" mode: "0644"

View File

@@ -17,6 +17,6 @@
delegate_to: localhost delegate_to: localhost
connection: local connection: local
template: template:
src: "{{ ssh_bastion_confing__name }}.j2" src: "{{ ssh_bastion_config_name }}.j2"
dest: "{{ playbook_dir }}/{{ ssh_bastion_confing__name }}" dest: "{{ playbook_dir }}/{{ ssh_bastion_config_name }}"
mode: "0640" mode: "0640"