i'm just getting started with Ansible, and would appreciate some help on
how best to compose functionality with tasks, roles and modules.
i'm thinking of a basic structure that i imagine is somewhat common, where
- hosts have projects
- projects have github repos
- github repos have git module tasks that actually clone the repo
some pseudo code:
some-project
github_repo:
owner: nrser
name: some-project
github_repo
git:
repo: [email protected]:{{ owner }}/{{ name }}
dest: "{{ gh_root }}/{{ owner }}/{{ name }}
how should i accomplish this in Ansible? should `some-project` and
`github_repo` be tasks, roles...?
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/72eb6b40-a3dc-4cd6-91e0-e1c4f4a61349%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.