On 06.08.19 16:42, Noctis Geek wrote: > > Hello, I would like to know the syntax that would allow me to retrieve the > contents of a file and use it to make a variable in a new file in my > example I have my YAML configuration file and I have a VARIABLE file and I > do not know how to get my first line and make it a variable in my 1st file >
See: https://docs.ansible.com/ansible/latest/user_guide/playbooks_variables.html#defining-variables-in-files Sebastian -- Sebastian Meyer Linux Consultant & Trainer Mail: me...@b1-systems.de B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537 -- Deutsche OpenStack Tage 2019 -- 10% Rabatt auf den Ticketpreis ---- ------------------------ https://openstack-tage.de (Code DOST-B1) ---- -- 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 ansible-project+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/4cf0f22f-b2a6-f1b9-229c-f3dca14d79f2%40b1-systems.de.