Reputation
1,131
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
4 18
Newest
 Nice Answer
Impact
~30k people reached

1d
awarded  Nice Answer
Apr
30
answered Ansible command line retriving ssh password from vault
Apr
30
comment Ansible command line retriving ssh password from vault
Sorry, you are right, I was running an older version.
Apr
29
answered Stuck on gathering facts
Apr
29
comment Ansible command line retriving ssh password from vault
ansible and ansible-playbook are different tools and do not have the same options. I don't see any -e in ansible.
Apr
28
comment Callbacks or hooks, and reusable series of tasks, in Ansible roles
No. I have apache and apache-vhost. apache installs apache and performs some essential configuration; apache-vhost installs an apache vhost. Likewise, I have gunicorn and gunicorn-instance. So, for a django application, I have apache, apache-vhost, gunicorn, gunicorn-instance, postgresql, and the role for the django application. For some django applications, I also have myapp and myapp-instance. Possibly irrelevant to your problem, but since you asked...
Apr
28
comment Immediate handler, or flushing just one handler, in Ansible
How about converting the handler to a task that uses when to run conditionally?
Apr
28
comment Fire multiple instances of a handler in Ansible
The app could have a handler that starts the webserver, and another handler that runs after that. An idea that I'm not certain would work, but which you might want to investigate, is conditional includes. See stackoverflow.com/questions/22649333/….
Apr
28
answered Appending to lists or adding keys to dictionaries in Ansible
Apr
27
comment Callbacks or hooks, and reusable series of tasks, in Ansible roles
Can we make the example a little more concrete? A webserver is a role that sets up what? apache + a postgresql database + a django/php/whatever application? This may need to be broken into two or more roles (in fact I think I use five roles for such a thing).
Apr
26
comment Fire multiple instances of a handler in Ansible
What would be the problem with notify:<LF> - handler 1<LF> - handler 2 etc.?
Apr
9
asked How can courier-imap and courier-pop accept both username and username@domain?
Apr
7
answered Ansible repeating roles
Apr
3
comment Ansible using role template vs copying static configuration file
I'd say just copy the configuration file: YAGNI
Mar
17
comment Sharing simple tasks across roles in ansible?
I agree with Serge Van Ginderachter. It is normal to have many small roles. However, I avoid creating dependencies, unless I need to pass parameters to the included role. Instead, what I would do would be to add postgres-repo to the playbook in site.yml.
Feb
27
comment Need to check whether you need to reboot for a kernel update?
@nicoX You are asking for help because your code does not work, however what you have pasted is not your code. We can't help if you don't show us the code that is failing.
Feb
27
comment Need to check whether you need to reboot for a kernel update?
Could you then show exactly what is in your yaml file?
Feb
27
comment Need to check whether you need to reboot for a kernel update?
What is kernelup?
Feb
25
comment How to create an apt repository on puppet master
It's not clear what you are asking. Have you created your own apt repository server?
Feb
25
comment dict as value for YAML key in an Ansible task
@MarkFeltner As far as I know this is not possible.