orkaround is to copy: to /tmp, do blockinfile: there, "command: cp" back.
-troy
On Saturday, March 10, 2018 at 2:56:08 PM UTC-5, Troy Cauble wrote:
>
> Did you find a solution? I'm stuck on the same file. Different contents
> -- I'm doing idmaps, but same file.
>
> "msg
Did you find a solution? I'm stuck on the same file. Different contents
-- I'm doing idmaps, but same file.
"msg": "Failed to replace file: /tmp/tmpTzm6Bh to /etc/pve/lxc/100.conf:
[Errno 1] Operation not permitted:
'/etc/pve/lxc/.ansible_tmpONaD0O100.conf'"
-troy
On Monday, February 19,
I found the solution elsewhere you can set this via -e
-e 'ansible_python_interpreter="/usr/bin/env python"'
On Thursday, August 11, 2016 at 3:34:18 PM UTC-4, Troy Cauble wrote:
>
> What can I do if I'm not using an inventory file? I'm exec-ing from a
> script with &
What can I do if I'm not using an inventory file? I'm exec-ing from a
script with "ansible-playbook -i , ...".
Also, the ansible and ansible-playbook scripts in my_virtualenv_dir/bin
start with
#!/my_virtualenv_dir/bin/python2
So they're using the right python to start...
--
You received