I have applied the changes from
https://github.com/ansible/ansible/pull/74714 and
https://github.com/ansible/ansible/pull/74885
and now see the same KeyError as in
https://github.com/ansible/ansible/pull/74714#pullrequestreview-673126168
which seams to be fixed in https://github.com/ansible/ansi
Hello Team,
I am trying to connect and run few commands in destination hosts . In
between destinatino hosts jump server there.
Can you help on this.
Ansible.cfg config
[defaults]:
inventory = /etc/ansible/hosts
ansible_python_interpreter=/usr/bin/python3
host_key_checking = no
look_for_keys =
On Mon, 7 Jun 2021 23:20:30 -0700 (PDT)
Vinod P wrote:
> in /etc directory and replace them with new IP address as follows
> sudo find /etc -type f -exec sed -i -e 's/10.1.3.51/10.2.3.54/g' {} +
For example, given the file
shell> cat etc/file1
10.1.3.50
10.1.3.51
10.1.3.52
the playbook
shel
Hello All,
Need some help with yaml file
I am trying to run find command to fetch old IP address from multiple files
in /etc directory and replace them with new IP address as follows
sudo find /etc -type f -exec sed -i -e 's/10.1.3.51/10.2.3.54/g' {} +
I can accomplish this using the command b
Tried this as well it did not worked
- name: clean the switch
cisco.ios.ios_command:
commands:
- command: request platform software package clean switch all
prompt: Do you want to proceed? [y/n]
answer: yes
newline: false
On Tue, Jun 8, 2021 at 2:11 AM Suneel Hegde wrote:
> I am trying to execu
those should be the tasks following the include message
--
--
Brian Coca
--
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.
Yes,
Simplest way is using the 'script' action and make sure the shebang on
the script points to the python3 you want.
--
--
Brian Coca
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receivi
Hello,
When executing a playbook which has "include_tasks", I can see the message
about the tasks file that's being included. For example:
TASK [Expand disks and file systems] *
included: /ansible/playbooks/tasks/expand_fs.yml for yyy
PLAY RECAP
Is there a way to tell A
I am trying to execute the command from ansible to clean the cisco switch
after the upgrade,
everything worked and switch got upgrade. but this command is not working
to clean the switch
*test-switch#request platform software package clean switch all*
This operation may take several minutes...
Run
I have a python3 script that i want to run from a playbook that is using
the python2 interpreter. Is this possible?
-john
--
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, s
Let me post the playbook to help you understand it better
I have two playbooks
1: Install azure vm
2 install mongo db and tomcat
I want to integrate both so first one send ip to second playbook and second
play book does its job/
First playbook code is here:
AzurePlaybook.yml
-All the othe
Hi,
I try to create an Oracle Wallet with expect module.
I pass the question and the answer to expect module :
# Création du Wallet
- name : "{{ titre_post_provision_oracle_wallet }} - Création du Wallet"
expect:
command:
/bin/bash -c "source {{ oracle_home }}/.bash_profile ; mkstore -cr
On 07/06/2021 13:32, Elkmar wrote:
Yep, Antony right.
The idea is as follows: we have fileA and fileB. FileA is "signed" by me (for
example has digital signature) and we can start it with ansible-playbook command. FileB
doesn't have signature so it can't do any changes on remote hosts. Is it po
On Mon, 7 Jun 2021 12:48:57 +0200
Antony Stone wrote:
> I interpret "signed" in the original question to mean something that cannot
> be
> falsified by someone who is running the ansible commands.
Locally, you might want to set the ownership and the permissions as
appropriate. Use get_url if t
Yep, Antony right.
The idea is as follows: we have fileA and fileB. FileA is "signed" by me
(for example has digital signature) and we can start it with
ansible-playbook command. FileB doesn't have signature so it can't do any
changes on remote hosts. Is it possible?
понедельник, 7 июня 2021 г.
Hello Experts,
Any lead.
On Sunday, June 6, 2021 at 1:01:41 PM UTC+5:30 subrat mangaraj wrote:
> Hello Experts,
>
> I have installed ansible using homebrew.
>
> While trying to run few IOS command from my mac PC via jump server I am
> getting below errors.
>
> * ESTABLISH LOCAL CONNECTION FOR U
On Monday 07 June 2021 at 12:44:23, Vladimir Botka wrote:
> shell> cat test-003.yml
> - hosts: all
> gather_facts: false
> vars:
> my_filename: test-003.yml
> my_path: "{{ playbook_dir }}/{{ my_filename }}"
> my_hash_path: "{{ my_path }}.sha1"
> my_hash: "{{ (lookup('file', my_
On Mon, 7 Jun 2021 02:48:39 -0700 (PDT)
Elkmar wrote:
> ... check a playbook authenticity before execution
For example
shell> cat test-003.yml
- hosts: all
gather_facts: false
vars:
my_filename: test-003.yml
my_path: "{{ playbook_dir }}/{{ my_filename }}"
my_hash_path: "{{ my_pa
Hi all.
I need to check a playbook authenticity before execution. Is it possible?
If yes how can I sign a playbook and check it in ansible before execution
(and also prohibit any execution of non signed playbooks)?
Sorry, if this question has been already discussed, but I have not found
informa
19 matches
Mail list logo