Wow, thanks for the speedy reply!
Unfortunately for me, that didn't work (adding 2 spaces further indent on
the line " name: {{ applications }} " although it does make sense.
I still get the same error, at the same point. Kinda frustrating when the
keyword "name:" can be used for several different functions.
as an aside, and in a different, non-clean, non-easy to maintain, but to
prove to me that ansible can work, sorta, I created the playbook with
separate install lines for each app in the playbook:
tasks:
- name: install app1
apt: name=app1 state=present
- name: install app2
apt: name=app2 state=present
but I'm at 20 apps, and haven't even begun the setup commands, and copy
files, yet, and the playbook is becoming unwieldy, so the vars list setup
would be of great assistance...
Thanks again for the speedy reply, though.
On Friday, August 19, 2022 at 9:50:11 AM UTC-4 [email protected] wrote:
> Does your 'name' line in your apt task needs to be indented?
>
> - name install standard stuff
> apt:
> name: {{ applications }}
>
> ... should be ...
>
> - name install standard stuff
> apt:
> name: {{ applications }}
>
> Walter
> --
> Walter Rowe, Division Chief
> Infrastructure Services, OISM
> Mobile: 202.355.4123 <(202)%20355-4123>
>
>
>
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/bbaf5085-c974-40a7-89eb-9864510c392cn%40googlegroups.com.