-
-
Save arturaz/ad97c690a15c0d7894b8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: link nebula44 server munin plugins | |
file: src={{ home }}/nebula-server/current/script/munin-plugins/{{ item.src }} | |
dest=/etc/munin/plugins/nebula44_{{ item.dest }} | |
state=link | |
with_items: "{{ | |
res = ['metal', 'energy', 'zetium', 'creds'] | |
kinds = ['rates', 'counts'] | |
[ | |
{ | |
'src': 'market_.rb', | |
'dest': 'nebula44_market_'+kind+'_'+r1+'_'+r2' | |
} for kind in kinds for r1 in res for r2 in res if r1 != r2 | |
] + [ | |
{'src': 'counters', 'dest': 'counts'}, | |
{'src': 'counters', 'dest': 'time'}, | |
{'src': 'logged_in.rb', 'dest': 'logged_in'}, | |
{'src': 'memory', 'dest': 'mem'}, | |
{'src': 'tasks', 'dest': 'tasks'}, | |
{'src': 'pool', 'dest': 'pool'}, | |
] | |
}}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TASK: [link nebula44 server munin plugins] ************************************ | |
fatal: [worg.nebula44.com] => template error while templating string: expected token 'end of print statement', got '=' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment