Hi All,
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.
cat /etc/default/grub|grep GRUB_CMDLINE_LINUX_DEFAULT
GRUB
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 stri
On Sunday, March 11, 2018 at 5:21:13 PM UTC+8, Kai Stian Olstad wrote:
>
> On Sunday, 11 March 2018 07.45.48 CET Vino B wrote:
> >
> > On Sunday, March 11, 2018 at 3:07:24 AM UTC+8, Kai Stian Olstad wrote:
> > >
> > > There are many ways to do that,
Hi All,
Request your help on the below
- name: Check whether run level is set to Multi-User System
command: runlevel
register: rlevel_status
failed_when: rlevel_status.stdout.split()[1] != 3
The output of rlevel_status = "N 3"
Error:
FAILED! => {"changed": false, "cmd": ["runlev
On Sunday, March 11, 2018 at 8:48:24 PM UTC+8, Kai Stian Olstad wrote:
>
> On 11.03.2018 13:17, Vino B wrote:
> > Below is the playbook does not execute the debug part , can you help
> > me
> > what is wrong in the below play book.
> >
> > ---
&g
Hi All,
Request your help, on the below code, i wanted to check whether the
sysctl paramater "vm.nr_hugepages" has any numeric value .
- name: Check whether System Settings are Optimized
command: sysctl -n {{ item.pname }}
register: net_param
failed_when: net_param.stdout != item
Hi All,
Any help is much appreciated.
--
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 post to this group, se
Hi Jeans,
Thank you very much.
On Tuesday, March 13, 2018 at 4:48:19 PM UTC+8, Vino B wrote:
>
> Hi All,
>
>Request your help, on the below code, i wanted to check whether the
> sysctl paramater "vm.nr_hugepages" has any numeric value .
>
> - name: Ch
Hi All,
Not sure whether it is possible, but let me raise the question, it is
possible to import/include a single task for one play book to another play
book rather than importing the entire play book.e.g
common.yml
- task1
tags: T1
- task2
tags: T2
- task3
tags: T3
one.yml
include comm
Hi All,
I was able to find the solution as this was stated in the ansible
documentation
And import/include statements:
- import_tasks: foo.yml
tags: [web,foo]
or:
- include_tasks: foo.yml
tags: [web,foo]
All of these apply the specified tags to EACH task inside the play,
included file, or
Hi All,
Trying to install ansible AWX and getting the below error tried to
downgrade to 3.1.0 and 3.0.0 but still no luck
TASK [local_docker : Activate postgres container]
**
f
Hi All,
Request you help, after upgrade ansible to 2.6 the password vault is not
working as expected, and getting the below error, before the upgrade it was
working fine without any issues.
*ansible-playbook /home/ansible/playbooks/oscheck.yml --syntax-check*
[WARNING]: Error in vault pass
.
ansible-vault encrypt /home/ansible/playbooks/target.yml
--vault-password-file=/home/ansible/playbooks/target.pass
From,
Vino.B
On Sunday, March 18, 2018 at 6:30:47 PM UTC+8, Vino B wrote:
>
> Hi All,
>
>Request you help, after upgrade ansible to 2.6 the password vault is
>
Hi All, Any help on this is much appriciated
From,
Vino.B
On Sunday, March 18, 2018 at 6:30:47 PM UTC+8, Vino B wrote:
>
> Hi All,
>
>Request you help, after upgrade ansible to 2.6 the password vault is
> not working as expected, and getting the below error, before the up
Hi All,
Can someone provide me an example on how to accomplish the below task,
I have 10 task, I need to execute 5 task on all the host which are under the
group test in the inventory file and task 6-8 on first 2 servers only and the
task 9-10 to the last server only.
Host file
[test]
Server1
Hi All,
Trying to install AWX and facing the below error, request your help on
the same. There are few blogs stating to downgrade pip-docker to 3.0.0
(https://github.com/ansible/awx/issues/1197) so do we need to downgrade the
same as this issue seem to be in pip-docker versions : 3.0.0, 3.0.1
Hi All,
I have a play book, i need a help on how to display no of failed and
successfull task as the out always ,
PLAY RECAP
*
server1
Hi All
Request your help on where to put the debug statement
Requirement 1:
If a package is missing the output should be like "Package {{ package name
}} missing"
When debug is used the task name does not display instead the task is named
as "debug"
TASK[Check the required OS Packages ar
UTC+8, Pranay Nanda wrote:
>
> Use package_status.results
>
>
> https://stackoverflow.com/questions/37925282/iteration-using-with-items-and-register
>
> On Monday, 28 May 2018 00:32:17 UTC+5:30, Vino B wrote:
>>
>> Hi All
>>
>> Request your help on where to
Hi All,
Request your help, below is the explanation of the issue that i have
facing
- I have 2 task T1 and T1
- T1 has to executed on SERVER1 ,2,3
- T2 has to be executed only on SERVER1
*My Inventory -1*
[ALL]
SERVER1
SERVER2
SERVER3
[PART1]
SERVER2
[PART2]
*SERVER3-XXX* ansibl
Hi All,
Request you help on how to resolve the the below task error as it is
throwing fatal error
- name: Check whether Kernel is latest
shell: (/usr/bin/uname -r | {{AK}}
'END{if(NR!=0||$0!="4.4.155-94.50-default"){print "FAILED :Kernel Level
"$0" is older"} else {print "OK"}}')
re
Hi All,
Request your help with string concatenation whith stdout under with_items.
- name: _List Name
shell: (sysls -l)
register: sys_list
ignore_errors: true
- name: check System Type
shell: (systype -t {{item.s}}|awk '{if ($3 == "not") {print "FAILED
:{{item.s}} is not
Hi All,
I am trying to store the output of the ansible task into MySQL database,
at present i am able to store the output of the task which does not contain
with_items , but not able to store the data for the task which contains
with_item, I used the below method, and i am getting the below wa
23 matches
Mail list logo