2021-10-15 09:46:54 +08:00
|
|
|
---
|
|
|
|
- name: Converge
|
|
|
|
hosts: all
|
|
|
|
become: true
|
|
|
|
gather_facts: false
|
|
|
|
roles:
|
|
|
|
- role: bastion-ssh-config
|
|
|
|
tasks:
|
|
|
|
- name: Copy config to remote host
|
|
|
|
copy:
|
|
|
|
src: "{{ playbook_dir }}/{{ ssh_bastion_confing__name }}"
|
|
|
|
dest: "{{ ssh_bastion_confing__name }}"
|
|
|
|
owner: "{{ ansible_user }}"
|
|
|
|
group: "{{ ansible_user }}"
|
2024-07-26 09:42:20 +08:00
|
|
|
mode: "0644"
|