773 reputation
316
bio website itia.ntua.gr/antonis
location
age
visits member for 2 years, 8 months
seen 19 hours ago

Oct
26
comment Avoid repeating 'with_items' in Ansible role
I deleted my answer, because, as you pointed out, it was not applicable. If this code runs on the host system rather than on the virtual machines themselves, I don't know how you can do it without with_items. However, a real example instead of "# action" would have made your question clearer and it might make others think of alternative ways to do what you are trying.
Oct
21
comment Can I update Ubuntu with active users logged in?
@anregen I believe that people are downvoting the question because it seems to indicate that you aren't experienced enough. Your question could marginally fail the test "Shows sufficient skill in the technology under question to be able to work on it for pay" (meta.serverfault.com/questions/4111/…). I myself flirted with the idea of flagging your question as off-topic, although in the end I chose to reply to it.
Oct
21
answered Can I update Ubuntu with active users logged in?
Oct
20
comment tail all log files in a directory | exclude zipped files
@JackalopeZero - I can't tell. Do the filenames have spaces or any other strange characters? Is it possible that ls and/or grep insert any color codes? (You can try to add --color=never both to ls and to grep.) These are wild guesses though - I can't tell you if I don't see it. Maybe if you copy and paste the exact messages we could get a clue.
Oct
20
answered tail all log files in a directory | exclude zipped files
Oct
17
answered Ansible error when unpacking some archives into /usr/local/lib
Oct
6
answered passing list of lists in a playbook to a single command (not with_items)
Oct
1
accepted Exim says “The request is invalid” during gnutls_handshake
Sep
30
revised Iptables management with ansible in huge environment
Typo
Sep
30
answered Exim says “The request is invalid” during gnutls_handshake
Sep
30
revised Exim says “The request is invalid” during gnutls_handshake
Ask for debugging help
Sep
29
asked Exim says “The request is invalid” during gnutls_handshake
Sep
29
awarded  Citizen Patrol
Sep
27
revised Iptables management with ansible in huge environment
Fixed error in the code
Sep
26
accepted How to clean up stuff from roles that aren't used any more on a server?
Sep
22
comment Ansible stuck on gathering facts
It hangs for how much time? Did you try vagrant ssh and investigate during the hang to see if there is anything useful in ps and netstat? Also, one of the first suspects in hangs is DNS - check if DNS is resolving from inside the virtual machine.
Sep
19
answered using pgpool doesn't see a list of variables into group_var directory
Aug
14
comment Iptables management with ansible in huge environment
Updated my answer with some alternatives.
Aug
14
revised Iptables management with ansible in huge environment
Added alternative ways that are more useful in some cases
Aug
14
comment Iptables management with ansible in huge environment
Indeed, ufw apparently can't handle your needs; but what do you mean when you say you "can't edit something without ansible on local server"?