RE: [ansible-project] Yet another dynamic variable problem

2019-07-30 Thread 'Mark Tovey - DSV' via Ansible Project
Of Kai Stian Olstad Sent: Saturday, July 27, 2019 8:06 AM To: ansible-project@googlegroups.com Subject: Re: [ansible-project] Yet another dynamic variable problem On 24.07.2019 05:34, 'Mark Tovey - DSV' via Ansible Project wrote: > Okay, I did not describe the problem properly. The code lo

Re: [ansible-project] Yet another dynamic variable problem

2019-07-27 Thread Kai Stian Olstad
On 24.07.2019 05:34, 'Mark Tovey - DSV' via Ansible Project wrote: Okay, I did not describe the problem properly. The code looks more like the following: vars: packages: myos7: - os7package1 - os7package2 - os7package3 myos8: -

RE: [ansible-project] Yet another dynamic variable problem

2019-07-23 Thread 'Mark Tovey - DSV' via Ansible Project
2019 7:51 PM To: ansible-project@googlegroups.com Subject: RE: [ansible-project] Yet another dynamic variable problem I tried that. I swear I tried that. And it kept telling me that it could not locate my variable. I thought maybe I had mistyped the variable name, but it looked good. It

RE: [ansible-project] Yet another dynamic variable problem

2019-07-23 Thread 'Mark Tovey - DSV' via Ansible Project
world. Thanks, -Mark -- -Original Message- From: ansible-project@googlegroups.com On Behalf Of James Cassell Sent: Tuesday, July 23, 2019 6:03 PM To: Ansible List Subject: Re: [ansible-project]

Re: [ansible-project] Yet another dynamic variable problem

2019-07-23 Thread James Cassell
On Tue, Jul 23, 2019, at 6:19 PM, 'Mark Tovey' via Ansible Project wrote: > > I am trying to generate a variable name dynamically, but so far I have > been stymied. > > I have lists whose names are based upon the OS name: > > > myos7: > > - os7package1 > > - os7package2 > > - os7package3