Re: [ansible-project] Checking for a string and value

2018-03-10 Thread Vino B
On Sunday, March 11, 2018 at 3:07:24 AM UTC+8, Kai Stian Olstad wrote: > > On Saturday, 10 March 2018 06.38.13 CET Vino B wrote: > > Request your help, I need to find whether the string numa_balancing is > > set to disabled in the file /etc/default/grub where the string in > contained > >

[ansible-project] Re: Help with blockinfile module running against Proxmox

2018-03-10 Thread saicrazyfire
Hi Troy, No I didn't get it working before but thank you for posting your solution. I will try it out. Thanks. On Saturday, March 10, 2018 at 5:03:20 PM UTC-5, Troy Cauble wrote: > > I found it. /etc/pve is a non-posix compliant filesystem >

[ansible-project] Re: Help with blockinfile module running against Proxmox

2018-03-10 Thread Troy Cauble
I found it. /etc/pve is a non-posix compliant filesystem https://pve.proxmox.com/wiki/Proxmox_Cluster_File_System_(pmxcfs) and blockinfile (and many other file modules) do their work in /tmp and end with the equivalent of "cp -a" or "cp -p" which fails to /etc/pve. Workaround is to copy: to

[ansible-project] Is it possible to use S3 Ansible module on on-premise S3 Scality storage ?

2018-03-10 Thread Coolman
Hello there, We have a S3 storage on on-premise cloud. I try to use the S3 Ansible module but it does not work : the S3 Ansible module seems to try to call AWS S3 instead of my on-premise S3 storage (despite parameters setted to my S3 on-premise values). It seems that Ansible S3 module hard

[ansible-project] Re: Help with blockinfile module running against Proxmox

2018-03-10 Thread Troy Cauble
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,

Re: [ansible-project] expect model not working accoring to plan

2018-03-10 Thread Kai Stian Olstad
On 09.03.2018 17:51, 'Daley Okuwa' via Ansible Project wrote: I am sorry not sure of how to write this backspace can you give an example please That is not what I tried to say, I was trying to explain what is happening and why it might fails. So I rephrase, maybe I become more

Re: [ansible-project] Checking for a string and value

2018-03-10 Thread Kai Stian Olstad
On Saturday, 10 March 2018 06.38.13 CET Vino B wrote: > Request your help, I need to find whether the string numa_balancing is > set to disabled in the file /etc/default/grub where the string in contained > in the string GRUB_CMDLINE_LINUX_DEFAULT any help on this is much > appreciated. > >

Re: [ansible-project] Escaping { character in a task that has an ansible variable

2018-03-10 Thread Kai Stian Olstad
On Saturday, 10 March 2018 16.46.14 CET William Muriithi wrote: > I have a task that need to run the command below: > > ipa dnsrecord-add idm.example.com cluster --a-rec={192.0.2.40,192.0.2.41} > > The problem is that the IPA and ansible both use the "{" character. I > have attempted to escape

[ansible-project] Escaping { character in a task that has an ansible variable

2018-03-10 Thread William Muriithi
Hello all, I have a task that need to run the command below: ipa dnsrecord-add idm.example.com cluster --a-rec={192.0.2.40,192.0.2.41} The problem is that the IPA and ansible both use the "{" character. I have attempted to escape one of the "{" with a back slash, and ansible is fine with that,

[ansible-project] GitHub username change isn't reflected on galaxy

2018-03-10 Thread Venkatesh Reddy
Hi Team, Currently i am facing issue in repository sync between Galaxy and GitHub. Initially when i created my Galaxy account using my GitHub account i had username as 'venkicnu', but later i changed my GitHub username as 'bukkasamudram'. Now when i login Galaxy using GitHub, it still showing