Hacker News new | past | comments | ask | show | jobs | submit login

You make a good point. I did think that in retrospect. Just wanted to develop my skills further in Ansible really.



In fact almost all these tasks could be replaced by ansible modules (except the last the 3 lineinfile commands).


Fair enough, I was sort of sleep deprived and just wanted something that actually worked as quickly as possible haha.


I'd also prefer those be replaced with a template. IMO, reading a config file with placeholders is much easier than concatenating it in my mind as a series of _lineinfile_ commands.




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact

Search: