You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
376 B

  1. ---
  2. - name: Converge
  3. hosts: all
  4. become: true
  5. gather_facts: false
  6. roles:
  7. - role: bastion-ssh-config
  8. tasks:
  9. - name: Copy config to remote host
  10. copy:
  11. src: "{{ playbook_dir }}/{{ ssh_bastion_confing__name }}"
  12. dest: "{{ ssh_bastion_confing__name }}"
  13. owner: "{{ ansible_user }}"
  14. group: "{{ ansible_user }}"
  15. mode: 0644