I have a bug with Ansible 2.8.3.
I create a vm from a template and one of my step is to copy a local file to 
the remote server.
When the last task (copy) is done and I reboot the server, the file exist 
but is empty.

Do you know why Ansible does'nt made the change ? There is no error... Is a 
cache is drop when I reboot the VM ?

- file: path=/etc/sysconfig/network-scripts/ifcfg-ens192 state=absent
  delegate_to: '{{m_ip_template}}'
- copy: src=/tmp/{{m_serveur}}-ifcfg-ens192 
dest=/etc/sysconfig/network-scripts/ifcfg-ens192 mode=600
  delegate_to: '{{m_ip_template}}'
- .... Reboot the server

Thanks !!!

-- 
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/430e353c-03a5-4d71-b929-34ea6e0ffa97%40googlegroups.com.

Reply via email to