[ansible-project] How can I loop over a group of roles

2022-02-15 Thread robert rottermann
Hi friends in Ansible I would like to loop over a list roles. The following failing sample should explain what I try to acchieve: - hosts: all become: yes become_method: sudo remote_user: root vars: servers: - server1: name: abadoc1 port: 9000 - server2: name: abadoc2 port: 9100 - server3: nam

Re: [ansible-project] Failed to connect to the host via ssh: Permission denied (publickey,password)

2021-01-28 Thread robert rottermann
just a shot into the dark: could it be, that the permissions on the files in .ssh of the target are wrong? ssh is very picky here robert On 28.01.21 20:10, Dick Visser wrote: With this amount of provided information the only thing that can be said is that the issue is with site_inventory.yml O