Add molecule tests for roles (#8080)

* Add molecule tests for bastion-ssh-config

* Add molecule tests for adduser

* Update .gitignore
This commit is contained in:
efrikin
2021-10-15 04:46:54 +03:00
committed by GitHub
parent 7019c2685d
commit 8b3481f511
10 changed files with 158 additions and 2 deletions

View File

@@ -0,0 +1,15 @@
---
- 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 }}"
mode: 0644