1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
--- - name: All hosts hosts: all remote_user: root roles: - ad - resolv_conf - ssh - ssh_keys vars: ssh_key_files: - { user: 'bgstack15', file: '../../../company/pubkeys/bgstack15.pubkeys' } - name: Webservers hosts: webservers remote_user: root roles: - fail2ban