Created
August 23, 2014 17:34
-
-
Save greggyNapalm/3d920f1cecf83c0a9f87 to your computer and use it in GitHub Desktop.
This file contains 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
developers_groups: | |
- 'developres' | |
- 'ninjas' | |
ops_groups: | |
- 'ops' | |
- 'wheel' | |
robots_groups: | |
- 'robots' | |
company_groups: | |
- 'company' | |
all_groups: developers_groups + ops_groups + robots_groups + company_groups | |
.... | |
tasks: | |
- name: create or modify enabled user groups | |
group: name={{ item }} state=present | |
with_items: all_groups | |
.... | |
TASK: [create or modify enabled user groups] ********************************** | |
failed: [centos6vm] => (item=developers_groups + ops_groups + robots_groups + company_groups) => {"failed": true, "item": "developers_groups + ops_groups + robots_groups + company_groups"} | |
msg: this module requires key=value arguments (['name=developers_groups', '+', 'ops_groups', '+', 'robots_groups', '+', 'company_groups', 'state=present']) | |
FATAL: all hosts have already failed -- aborting |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment