Re: [ansible-project] Basic beginner question

2020-01-26 Thread Waqar Khan
Brilliant - thank you On Sunday, January 26, 2020 at 1:15:40 PM UTC, Kai Stian Olstad wrote: > > On 26.01.2020 13:50, Waqar Khan wrote: > > Starting out with ansible and trying to configure sshd config. Here is > > what > > I have, it works but is there a better w

[ansible-project] Basic beginner question

2020-01-26 Thread Waqar Khan
Starting out with ansible and trying to configure sshd config. Here is what I have, it works but is there a better way to do with for future reference. e.g. if I have many different distributions it looks like a lot of copying. Can I combine the 2 tasks? - name: sshd Amazon lineinfile: state: