How to append items to a list inside a nested structure

15 views
Skip to first unread message

Dick Visser

unread,
Mar 1, 2020, 12:42:11 PM3/1/20
to ansible...@googlegroups.com
Hi

I have this structure:


git_servers:
- host: github.com
user: git
repos:
- ansible/ansible
- cirrusidentity/simplesamlphp-module-authoauth2
- dnmvisser/ansible
- simplesamlphp/simplesamlphp
- winterbe/github-matrix-screensaver
- host: gitlab.myorg.org
user: gitlab
repos:
- ansible/infra2
- puppet/infra
- host: gitlab.other.org
user: git
repos:
- dnmvisser/deploy1
- dnmvisser/deploy2
- dnmvisser/deploy3



Now I want to add a few items to the list of github.com repos.
What would be a simple way to achieve this?

tnx!


--
Dick Visser
Trust & Identity Service Operations Manager
GÉANT
Reply all
Reply to author
Forward
0 new messages