You can find my playbook here:
https://github.com/bronweg/mordor_script
I wrote it originally for HDP, but it is absolutely compatible with
Cloudera also.
четверг, 10 января 2019 г., 9:10:25 UTC+2 пользователь ashok kumar penumudi
написал:
>
> Hi,
>
> Can anyone please share Ansible Playbooks
You can look at the cloudera documentation and write one.
On Thu, Jan 10, 2019 at 2:10 AM ashok kumar penumudi
wrote:
> Hi,
>
> Can anyone please share Ansible Playbooks to install Prerequisites and
> cloudera Installation.
>
>
>
> Its Urgent, Thanks InAdvance
>
> --
> You received this message
Hi,
Can anyone please share Ansible Playbooks to install Prerequisites and
cloudera Installation.
Its Urgent, Thanks InAdvance
--
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
Hi,
Can anyone please share Ansible Playbooks to install Prerequisites and
cloudera Installation.
Its Urgent, Thanks InAdvance
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails
OK, it was an issue with credssp, but RHEL seems to have issues installing
all of the necessary packages when on the latest code.
I am on 7.6 with pip 18.1. I had to downgrade pip in order to install
credssp:
pip install --upgrade --force-reinstall pip==9.0.3
After that I upgraded pip again
Yes - so shuffle the pool, then use the first host from the pool for the
first task, the second host from the pool for the second task, the third
host from the pool for the third task and so on.
You can either specify the offset in the pool for each successive task, or
slice the pool between
*Update:*
I ran the playbook as user root (however, i do not want to do that in
production):
```
ansible-playbook -vvv -i inventory.yml playbook.yml -u *root *-K
```
I am still getiing output:
```
TASK [local/system-backup : Copy file]
Hi,
I am getting `[Errno 13] Permission denied` with `become: yes` and a user
that can access the desired file with sudo.
The file access permission is 0600 (root:root) and `connection: local` is
set.
Example:
Consider machine with 2 users;
`root` & `bob`. `bob` has privilege access with
Hi there
The short version:
Are the group-names defined in the inventory file the same group-names as
in a file below the host_vars folder or can I define separate groups that
have nothing to do with each other? This is not clear from reading the
documentation [1] but the group names they
On Wednesday, 9 January 2019 18:10:43 CET Ramaswamy Rajavarapu wrote:
> ah, again the same error with msg rather than var
> TASK [debug]
> **
> fatal: [localhost]:
H this might be a credssp issue. Let me work on that for a while
and get back to this.
--
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
ah, again the same error with msg rather than var
TASK [debug]
**
fatal: [localhost]: FAILED! => {"msg": "Unexpected failure during module
execution."}
On Wed, Jan
My query:
tasks:
- name: Windows AD Testing
win_domain_user:
name: "{{ user }}"
state: query
register: username
- debug:
var: username
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To
I have two AD trees. One is a flat, test system--no frills. Users reside
in the default windows container (CN=Users under the DC). The other is our
production system, which has users all over the place. I am able to query
the test system for users, but not the production system.
Does
On Tuesday, 8 January 2019 23:48:16 CET Rama wrote:
> Hi,
>
> Enclosed the var and made PB as below and resulted FAILED output.
>
> PB:
> ---
> - hosts: localhost
> connection: local
> gather_facts: no
> tasks:
>- name: ILO Facts
> hpilo_facts:
> host: 10.20.64.51
>
Nop, the idea is to randomize all hosts.
For example,
POOL: host1 host2 host3
I randomize, host2 is chosen
I randomize again, but now host2 cannot be selected.
POOL: host1 host3
I randomize, host1 is chosen
POOL: host3
I randomize, host3 is chosen
Once all hosts are chosen I can start the pool
I believe you need to have two spaces indentation for the telnet task
On Wednesday, January 9, 2019 at 3:29:49 AM UTC-8, Eduardo Nunes Pereira
wrote:
>
> Hi,
>
> First of all thanks for the answers, below is my playbook and then the
> error message.
>
>
> ## Playbook
>
> - name: Coletct
Are you trying to run the playbook on a list of randomized hosts except
the first and 2nd host?
Maybe you can try
- hosts: "{{ (groups['all'] | shuffle)[2:] }}"
See the following for more details
https://docs.ansible.com/ansible/latest/user_guide/intro_patterns.html
On Wednesday, January 9,
This is not really an ansible question but rather a linux shell question.
You can get the elapsed time in seconds using this one line shell command
$ ps -p 50 -o etime= | sed 's/[:-]/ /g;' | awk '{print $4" " $3" " $2" "
$1" " }'| awk '{print $1+$2*60+$3*3600+$4*86400}'
685608
On Wednesday,
G'day.
I was looking at this particular closed case,
https://github.com/ansible/ansible/issues/44013. In particular, the HPE
NonStop platform's SSH always reports a termination message for SSH
sessions that results in a warning:
*[WARNING]: Module invocation had junk after the JSON data:
Hi,
I have allowed my team to use already defined templates in AWX.
All the members are logging as LDAP users and upon logging, they get
assigned to a specific team.
Now, these users can see the Templates, projects, inventories which I have
granted permission.
But these users can not create
Do you mean that you want to work through all the hosts in a random order?
If so, just shuffle the list, then work through the list in shuffled order.
Regards, K.
On Thu, Jan 10, 2019 at 12:50 AM Francis Santos wrote:
> Hi all,
>
> With this script I can randomize any host:
>
> ---
>
> -
Hi all,
With this script I can randomize any host:
---
- hosts: "{{ (groups['all'] | shuffle)[0:1] }}"
become: true
vars:
- ansible_sudo_pass:
How can I add the proposition to skip the ones that were selected? So I can
use the whole pool of hosts before selecting them again.
--
On 08/01/2019 20:04, Todd Sampson wrote:
> We have several remote target machines running Ubuntu 12.04. Is it
> possible for Ansible to install Ubuntu 18.04 on the target machines from an
> ISO? I'm trying to avoid an update to 14.04 and then 16.04 and then
> 18.04. I'd like to avoid any
Hi Piyush,
Using the below Jinja2 filter, able to extract the value 2160063879L.
However need to extract exact numeric value alone from sub String by
eliminating the letter 'L' from the output. Any help much appreciated.
- set_fact:
upTime: "{{ status.stdout.split()[-2] }}"
delegate_to:
I'm trying to capture the ps elapsed time format for long running Siteminder
process from remote server using Ansible playbook. The output of elapsed time
is in the format of [[dd-]hh:]mm:ss. Need help to convert this time into
seconds.
- name: Check Siteminder server status on remote host
Please repost using a fixed width font so we can check your indentation.
Make sure you post your ENTIRE playbook.
Also, YAML code should always start with three hyphens on a line by
themselves.
Regards, K.
On Wed, Jan 9, 2019 at 10:30 PM Eduardo Nunes Pereira
wrote:
> Hi,
>
> First of all
Hi,
First of all thanks for the answers, below is my playbook and then the
error message.
## Playbook
- name: Coletct Information Switches
connection: network_cli
gather_facts: false
hosts: lab_telnet
tasks:
- name: send configuration commands to IOS
telnet:
user: admin
28 matches
Mail list logo