Le vendredi 24 juillet 2020 12:42:34 UTC-7, Stefan Hornburg (Racke) a
écrit :
>
> On 7/24/20 7:44 PM, Nico H wrote:
> > not sure if that needs new topic but I see that other AWS modules also
> fail to pickup variables in Environment as they
> > should .
> >
>
> You are sure these
same problem, assumed_role is not defined yet, so ansible failed for
Undefined variable, although I couldn't get the syntax you provided to work
for the ars var , is that the good syntax ?
I got :
An unhandled exception occurred while templating
hello,
I am trying to have a python script (auto triggered when a playbook is run)
to take from playbook extra_vars and uses it as var for the script.
for example:
ansible-playbook test.yml --extra-vars "win=True"
something like in the script
result = self.playbook.extra_vars['win']
any good
Hello Guys,
!!Need help om vm deployment !!
While deploying virtual machine below issue error has been encountered
"Failed to clone virtual machine rhel7_vm to folder 'vim.Folder:group-'512
due to permission issue: Permission to perform this operation was denied."
Note: with same username i
That's because you are telling it to run on windows_server but have defined
the username in the windows group. Based on your inventory 'windows_server'
is not part of the 'windows' group so has no username/password defined. The
reason why it may have worked before is if you've gotten the
Hey Venu,
I was able to resolve the issue using a linux module called sshpass. I'll
show below:
hosts.through_bastion
[ios]
10.*.*.1
10.*.*.2
[ios:vars]
ansible_user=
ansible_password=
ansible_become_pass=
ansible_network_os=ios
network_os=ios
ansible_ssh_common_args=" -o
I'm not familiar with the Ansible Comware module. Yet, from your output:
debug2: key: /home/devops/.ssh/id_ed25519 (0x55565ef912b0)
debug3: send packet: type 5
debug3: receive packet: type 6
debug2: service_accept: ssh-userauth
...it looks like it might be a SSH issue, not an issue with the
There needs to be a variable called "openjdk_yumlock_version7" containing
the actual value that needs to follow the word "delete" in that command.
You are seeing that error because there is no such variable.
Regards, K.
On Wed, Jul 29, 2020 at 1:45 AM Amar Subudhi wrote:
> Hi Experts,
>
> I
Oh! Here is the reported error:
fatal: [test.domain.com]: UNREACHABLE! => {"changed": false, "msg":
"kerberos: authGSSClientStep() failed: (('Unspecified GSS failure. Minor
code may provide more information', 851968), ('No Kerberos credentials
available (default cache: FILE:/tmp/krb5cc_0)',
Hi Amar
On Tue, 28 Jul 2020 at 17:45, Amar Subudhi wrote:
>
> Hi Experts,
>
> I am getting the below error while executing the playbook.
It says exactly what is wrong here:
> The task includes an option with an undefined variable. The error was:
> 'openjdk_yumlock_version7' is undefined
Hi Experts,
I am getting the below error while executing the playbook.
Thanks in Advance.
Playbook-
- name: RedHat unlock OpenJdk version
command: yum versionlock delete '{{openjdk_yumlock_version7}}'
when: ansible_distribution_major_version == "7"
ignore_errors: yes
Error
TASK [openjdk
On 7/28/20 1:47 PM, Rahul Kumar wrote:
> Hello Stefan ,
> Are registered variable information are available from tasks came as part of
> include_role?
>
> - name: Get Active Rest server
> include_role:
> name: web-server
> tasks_from: active-rest-server
>
> I registered
can you please confirm what should we use for HP comware blade switches
I used comware module but still it gives me Openssh error
fatal: [BC1-ESM-A]: UNREACHABLE! => {
"changed": false,
"msg": "Failed to connect to the host via ssh: OpenSSH_7.4p1, OpenSSL
1.0.1e-fips 11 Feb
Hello Stefan ,
Are registered variable information are available from tasks came as part
of include_role?
- name: Get Active Rest server
include_role:
name: web-server
tasks_from: active-rest-server
I registered some variable in this task active-rest-server.yml , can i
I'm trying to automate zone based firewall rules, like source_IP and
destination_IP defined in "vars" belongs to which zone. the zones are
defined in csv files. any idea what should i do to make it work?
Thanks
csv file:---
panos,192.168.0.0/24,Prod
panos,192.168.100.0/24,Dev
On 7/28/20 9:56 AM, Rahul Kumar wrote:
> Logic is like if an application could not be deployed , forcefully shutdown
> the application server rather than stopping
> before only!
Sounds like bandaid logic to me. I would rather fix the deployment problem.
Regards
Racke
>
> On Tue, 28
Logic is like if an application could not be deployed , forcefully shutdown
the application server rather than stopping before only!
On Tue, 28 Jul 2020 at 12:56, Stefan Hornburg (Racke)
wrote:
> On 7/28/20 9:20 AM, Rahul Kumar wrote:
> > Ya stephan , it is bad approach I know ( Infact we
On 7/28/20 9:20 AM, Rahul Kumar wrote:
> Ya stephan , it is bad approach I know ( Infact we should avoid ignore_errors
> as much as possible) ! But all tasks post
> this task.. can be executed irrespective of its failure !
Ok but what is the point to call that task, if nothing depends on it?
Ya stephan , it is bad approach I know ( Infact we should avoid
ignore_errors as much as possible) ! But all tasks post this task.. can be
executed irrespective of its failure !
So i need to , can we do that ?
On Tue, 28 Jul 2020 at 12:44, Stefan Hornburg (Racke)
wrote:
> On 7/28/20 9:01 AM,
On 7/28/20 9:01 AM, Rahul Kumar wrote:
> Hi Ansible Gurus,
> I have a playbook like below:
> - name: Get Active Rest server
> include_role:
> name: web-server
> tasks_from: active-rest-server
>
> Now I have a playbook under the web-server role named active-rest-server.yml !
Hi Ansible Gurus,
I have a playbook like below:
- name: Get Active Rest server
include_role:
name: web-server
tasks_from: active-rest-server
Now I have a playbook under the web-server role named
active-rest-server.yml !
So in case active-rest-server fails , can i use
21 matches
Mail list logo